06-01-2013 11:50 PM
Hi
First post here, hope anyone can help me, many thanks in advance!
I have installed Nuxeo 5.6 at Debian Squeeze 6.0.7 and I'm having problems to preview Word and Excel documents. Every time I try, get this error:
Preview can not be generated for this document
Technical issue:
Blobpath: default
org.nuxeo.ecm.platform.preview.api.PreviewException: Converter any2pdf is not available**
I have been researching about the problem here (http://answers.nuxeo.com/) and I haven't found a solution 😞
First of all, I installed LibreOffice 3.5 following the official guide: link text
After that, I tried modifying jod.office.home=/usr/lib/libreoffice, but still get the same error.
I tried modifying the path to LibreOffice (OOO_HOME=/usr/lib/libreoffice) at /var/lib/nuxeo/server/bin/openofficectl, but still get the same error.
When I look for the error at Nuxeo logs (tail -f /var/log/nuxeo/server.log | grep office)
WARN [org.artofsolving.jodconverter.office.OfficeProcess] Process exited with code 134
WARN [org.artofsolving.jodconverter.office.StreamGobbler] StreamGobbler: terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'
After these attempts, I reviewed the configuration at the Nuxeo 5.6 Virtual Machine when the configuration I need works perfectly.
I looked for any special configuration at the files:
A. /etc/nuxeo/nuxeo.conf
B. /var/lib/nuxeo/server/nxserver/config/configuration.properties
C. /var/lib/nuxeo/server/bin/openofficectl
D. /var/lib/nuxeo/server/nxserver/config/ooo-manager-config.xml
And all ot them had the default configuration I have in my Nuxeo server, it didn't even use the jod.office.home (for files A and B), or the OOO_HOME variable (for file C), it seems like if the used configuration file is ooo-manager-config.xml, because when I look for a libreoffice process (ps -fea | grep libreoffice) I can see this:
When is used the 2003 port described as
However at the Virtual Machine I could saw something I consider an error (a bug?), when I stopped the nuxeo daemon (/etc/init.d/nuxeo stop) and started it again (/etc/init.d/nuxeo stop), I couldn't see the libreoffice process anymore and I have the same error I have in my server:
Preview can not be generated for this document Technical issue: Blob path: default org.nuxeo.ecm.platform.preview.api.PreviewException: Converter any2pdf is not available
The libreoffice process just started again when I rebooted the Virtual Machine.
Does anyone knows what is the appropiated configuration I need to do in my environment (Nuxeo 5.6 + Debian Squeeze 6.0.7) in order to preview Word and Excel documents whitout have this error?
Thanks in advance for your help,
06-03-2013 02:27 PM
Hi,
06-03-2013 04:17 PM
Hi Manuel.
Thanks for your reply.
Yes, poppler-utils ins installed in my server.
I have solved the problem partially running Nuxeo as root.
nano /etc/init.d/nuxeo
Changing NUXEO_USER=root instead of the default NUXEO_USER=nuxeo
It's a permissions problem at Linux level in my case, I don't know why the nuxeo user can't start the libreoffice daemon, any idea about this?
I tried your solution running the service with the nuxeo user, but I didn't worked, the libreoffice daemon were not started.
Regards,
Raúl Chavarría
06-04-2013 06:34 AM
Hi,
06-05-2013 11:11 AM
Running Nuxeo (or any non-essential service for that matter) as root is a VERY BAD IDEA.
06-05-2013 08:59 PM
Hi Manuel.
06-05-2013 09:01 PM
Hi Florent.
06-06-2013 07:24 AM
In your /etc/init.d/nuxeo, check that you don't have the "-m" option for the "su" lines, on some distributions it was causing problems with the libreoffice startup.
06-09-2013 09:31 PM
Hi Mathieu.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.