cancel
Showing results for 
Search instead for 
Did you mean: 

Automation - Conversion to pdf failed nuxeo 5.6- CENT-OS 5.8 : Converter any2pdf is not available

milonette_
Star Collaborator
Star Collaborator

Hello,

I try : Automation chain ConvertToPdf.

Automation chain->Conversion->Convert To Pdf works perfectly on Mac OS X without any configuration, except installation of OpenOffice 3.

I got a problem with Nuxeo 5.6 installed on Centos 5.8 :
/> conversion to pdf doesn't work.

The message is:
/> ERROR [org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet] could not build preview for missing blob at default org.nuxeo.ecm.platform.preview.api.PreviewException: Converter any2pdf is not available

I read:
/> http://forum.nuxeo.com/?t=msg&goto=8821&&srch=centos+any2pdf#msg_8821
/> http://forum.nuxeo.com/t/5124/
/> http://doc.nuxeo.com/display/ADMINDOC56/Installing+and+setting+up+related+software
/> http://community.nuxeo.com/5.3/books/nuxeo-book/html/admin-imaging.html
/> http://community.nuxeo.com/5.3/books/nuxeo-book/html/admin-openoffice.html
/> https://jira.nuxeo.com/browse/NXP-7177
/> http://forum.nuxeo.com/t/2962/
/> ...

Modifications :

+nuxeo.conf
/> jod.office.home=/usr/lib64/openoffice.org3/
/> jod.jpipe.lib.path=/usr/lib64/openoffice.org/ure/lib/
/>

+openofficectl
/> OOO_HOME=/usr/lib64/openoffice.org3/program/
/> PIDFILE=/var/run/nuxeo/openoffice-headless.pid
/>

+try some extension points described in old nuxeo version pour imagetopdf

OpenOffice is already running this way:
/> $ /usr/lib64/openoffice.org3/soffice.bin -accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -norestore -nofirststartwizard -nologo -headless

installed:
/>

  • ImageMagick 6.2.8 05/07/12 Q16
    />
  • pdftohtml version 0.36
    />
  • openoffice 3
    />
  • ..

I'm running out of ideas. Someone could help me?

Thanks in advance for your help

1 REPLY 1

milonette_
Star Collaborator
Star Collaborator

We success with:

  1. installation of libwpd-tools => wpd2text and openoffice is running

  2. Then we inspired with : http://answers.nuxeo.com/questions/4797/configuring-preview-with-libreoffice

  3. nuxeo.conf

    jod.connection.protocol=SOCKET

    jod.max.tasks.per.process=200

    jod.task.execution.timeout=120000

    jod.task.queue.timeout=30000

    jod.office.home=/[OURPATH]/lib64/openoffice.org3/

    jod.jpipe.lib.path=/[OURPATH]/lib64/openoffice.org/ure/lib/

    jod.template.profile.dir=

  4. restart nuxeo

Getting started

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.