cancel
Showing results for 
Search instead for 
Did you mean: 

5.0b & 5.0c- Previewing Microsoft Office documents doesn't work

legaulois
Champ on-the-rise
Champ on-the-rise
Hello,

a problem on a fresh installation of Community 5.0b on Centos 6.5 x64,

the Office documents (Word, Excel, …) are not previewable. PDF works but only this format.

The thumbnails are not generated also.

Regards,
16 REPLIES 16

douglascrp
World-Class Innovator
World-Class Innovator
Have you configured LibreOffice and ImageMagick?

legaulois
Champ on-the-rise
Champ on-the-rise
Yes they are configured by the default installation.

The path seem to be good.

douglascrp
World-Class Innovator
World-Class Innovator
Don't you see any error messages when you start Alfresco?

Take a look at alfresco.log and catalina.out

hgindl
Champ in-the-making
Champ in-the-making
did you install the prerequisites?

http://docs.alfresco.com/4.2/concepts/install-lolibfiles.html

Kind regards,
Hannes

ruimota
Champ in-the-making
Champ in-the-making
Hello,

I am having the same problem with Alfresco Community 5.0.b and Linux CentOS 6.6 (done a fresh install), but my issue is related with the file size upload (Microsoft Office Word any version). When i upload a doc or docx with more that 1MB file size the preview doesn't work.
From previous posts i found that no limitations exist on file size upload, so i tried to open the files directly with libreoffice and it didn´t open either. Next i tried to replace Libreoffice with Openoffice on the server that has Alfresco, and i can open the files with openoffice but still no preview with alfresco.

Also checked Alfresco requirements and everything is installed.

Am i the only one having this problem?

Regards,  

legaulois
Champ on-the-rise
Champ on-the-rise
Hello,

this problem always occurs.

I need some help to have a previewing operationnal.

Thx

hgindl
Champ in-the-making
Champ in-the-making
ever tried to start soffice service from command line or transform a document using soffice from the command line?

just a educated guess that you are missing some libraries, i guess it is libxinerama

markrwells
Champ in-the-making
Champ in-the-making
As someone who has faced this problem multiple time.  (QUITE ANNOYING).  Yes the libxinerama file was a gotcha for me.  Two things I have found: when Alfresco is started, it does not always load the environment settings from setenv.sh or Alfresco.sh in linux. you are trying to figure out why a transform doesn't work only to find out it cannot find soffice. You fix all the environment variable and it still doesn't work on DOCX.  Until the Libxinerama and all other associated files get loaded, then it works. 

But I would check to make sure the environment variables are actually set.  I have noticed that the variables will be set, then you stop the Alfresco server, start it again and suddenly your path is set to the OS default again and not path statements for Alfresco.  uugh…

legaulois
Champ on-the-rise
Champ on-the-rise
Hello,

the problem occurs always. I've try it on a fresh installation of Alfresco 5.0.C.

The log when i open a document for previewing :


2014-12-08 15:30:48,346  ERROR [extensions.webscripts.AbstractRuntime] [http-apr-80-exec-10] Exception from executeScript - redirecting to status template error: 11080001 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js
org.springframework.extensions.webscripts.WebScriptException: 11080001 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js
        at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:167)
        at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:463)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:532)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:600)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:380)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:261)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2378)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)


Thx for your help.