AnsweredAssumed Answered

Preview generation with LibreOffice does not work!

Question asked by hal on Jul 23, 2018
Latest reply on Jul 30, 2018 by kgastaldo

Running Alfresco Community Edition v5.2.0 on Linux - i know this question was asked several times before, but the final solution - if LibreOffice is running properly - does not work for me. So: i fixed everything to run LibreOffice headless (installed Nightly 6.1.x, because due to a bug in LibreOffice it actually wasn't able to run headless without x on a server [the defunct .soffice.bin problem]), but still creating previews with LibreOffice does not work, the preview-image appears broken and the webpreview does not load at all. If i open the URL of the Image directly i get the following error:

 

   06230053 Wrapped Exception (with status template): 06230063 Failed to execute script    'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': connection failed:    socket,host=localhost,port=8100,tcpNoDelay=1; com.sun.star.lang.IllegalArgumentException

 

Quoting the "--accept=..." argument in "ctl.sh" as proposed as solution in some other answers regarding this problem doesn't fix anything for me (i am also not sure, why this should work anyway - isn't ctl.sh executed as part of alfresco startup-process, only? There's also no tcpNoDelay option in my ctl.sh - so the preview-rendering-subsystem must be executing soffice.bin somewhere else - but i am unable to dig this up).

 

Any ideas how to solve this problem?

Outcomes