Can't preview Word and Excel Documents in Nuxeo 5.6


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 ( 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, 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 [] Process exited with code 134

WARN [] 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/

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 (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 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,

0 votes

1 answers




Do you have install poppler-utils (for pdftohtml)?

We have made our installation on a CentOS server (with OpenOffice) and in our nuxeo.conf, we had a mix between and






Hope this can help.

Note : "Nuxeo applications come with a daemon that should automatically start it [OpenOffice/LibreOffice]" see So, for me, it is a normal behaviour to see libreoffice process stopping when nuxeo is stopped.


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.


Raúl Chavarría

0 votes


Sorry, I read to fast your post. For me, LibreOffice should not be started with the start of your VM. You can try to kill it and run nuxeo again. I've no more idea.

In our case, OpenOffice is launch by the nuxeo user.

Good luck.


Running Nuxeo (or any non-essential service for that matter) as root is a VERY BAD IDEA.

Hi Manuel.

Maybe I wasn't totally clear.

By the Virtual Machine, I mean the Ready-to-run Nuxeo Platform OVF (VirtualBox, RHEV, VMware ESX) (.zip) (

I reviewed it to try to identify and solve the problem in my real server (Nuxeo 5.6 + Debian Squeeze 6.0.7), because it has a similar configuration.

At the virtual machine the preview works well, however the libreoffice don't start when the service is restarted by me (/etc/init.d/nuxeo restart), it just works well when the Nuxeo service is started by the OS when I turn on the Virtual Machine.

A part of this, my problem now is about permissions with the nuxeo Debian user to run the libreoffice daemon every time I start the Nuxeo service, any idea about this?



Hi Florent.

Totally agree with you, that's why I need to configure the appropiated permissions at Debian level to can run the libreoffice daemon with the nuxeo Debian user, any idea about this?


Raúl Chavarría


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.
Though openofficectl is still in the distribution, we don't really use it anymore and prefer to let Nuxeo start the daemon itself.

Hi Mathieu.

Thanks for your answer, now it works well with the nuxeo user :)

I just remove the "-m" option as you said.

Best regards,

Raúl Chavarría