I'm having some trouble setting up the document preview and annotations tool with LibreOffice.
First, the LibreOffice daemon never starts with nuxeo (Nuxeo documentation says : "If OpenOffice/LibreOffice is already installed on your server, Nuxeo applications come with a daemon that should automatically start it.")
I can't find any documentation on how to configure the ooo-manager-config.xml file.
Second, after starting the daemon "by hand", the preview function still does not work.
Thanks for your help,
Patrice
_
Here are more details :
Nuxeo starting :
$ service nuxeo restart
Redémarrage du serveur : Nuxeo version 5.6
Mot de passe :
Nuxeo home: /home/nuxeo/nuxeo-cap-5.6-tomcat
Nuxeo configuration: /home/nuxeo/nuxeo_conf/nuxeo.conf
Include template: /home/nuxeo/nuxeo-cap-5.6-tomcat/templates/common-base
Include template: /home/nuxeo/nuxeo-cap-5.6-tomcat/templates/common
Include template: /home/nuxeo/nuxeo-cap-5.6-tomcat/templates/postgresql
Include template: /home/nuxeo/nuxeo-cap-5.6-tomcat/templates/dam
Include template: /home/nuxeo/nuxeo-cap-5.6-tomcat/templates/collaboration
Stopping server.....Server stopped.
Detected Tomcat server.
Configuration files generation (nuxeo.force.generation=true)...
Configuration files generated.
Server started with process ID 5579.
= Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 654
Started in 1min19s
0
No Libreoffice daemon running :
$ ps -edf |grep office |grep -v grep
$ netstat -taupe |grep office
$
Not working preview after hand running office daemon :
$ /usr/lib64/libreoffice/program/soffice --headless --nologo --nofirststartwizard --accept="socket,host=localhost,port=2222;urp;StarOffice.Service"&
$ ps -edf |grep office |grep -v grep
nuxeo 5800 5359 0 10:48 pts/1 00:00:00 /usr/lib64/libreoffice/program/oosplash.bin --headless --nologo --nofirststartwizard --accept=socket,host=localhost,port=2222;urp;StarOffice.Service
nuxeo 5807 5800 4 10:48 pts/1 00:00:00 /usr/lib64/libreoffice/program/soffice.bin --headless --nologo --nofirststartwizard --accept=socket,host=localhost,port=2222;urp;StarOffice.Service
$
$ netstat -taupe |grep office
tcp 0 0 localhost:EtherNet/IP-1 *:* LISTEN nuxeo 75615 5807/soffice.bin
$
Error message when clicking on the preview icon :
Preview can not be generated for this document.
``Blob path: default.
org.nuxeo.ecm.platform.preview.api.PreviewException: Converter office2html is not available
Our Nuxeo config for Office :
jod.connection.protocol SOCKET
jod.jpipe.lib.path <no value>
jod.max.tasks.per.process 200
jod.office.home /usr/lib64/libreoffice/program
jod.task.execution.timeout 120000
jod.task.queue.timeout 30000
jod.template.profile.dir <no value>