cancel
Showing results for 
Search instead for 
Did you mean: 

Can't preview Word and Excel Documents in Nuxeo 5.6

rchavarriaz_
Champ in-the-making
Champ in-the-making

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:

alt text

When is used the 2003 port described as 2003 at file D

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,

8 REPLIES 8

Hi Manuel.

Hi Florent.

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.

Hi Mathieu.