<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can&amp;apos;t preview Word and Excel Documents in Nuxeo 5.6 in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316499#M3500</link>
    <description>&lt;P&gt;Running Nuxeo (or any non-essential service for that matter) as root is a &lt;STRONG&gt;VERY BAD IDEA&lt;/STRONG&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2013 15:11:53 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2013-06-05T15:11:53Z</dc:date>
    <item>
      <title>Can&amp;apos;t preview Word and Excel Documents in Nuxeo 5.6</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316495#M3496</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;First post here, hope anyone can help me, many thanks in advance!&lt;/P&gt;
&lt;P&gt;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:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Preview can not be generated for this document&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Technical issue:&lt;/P&gt;
&lt;P&gt;Blobpath: default&lt;/P&gt;
&lt;P&gt;org.nuxeo.ecm.platform.preview.api.PreviewException: Converter any2pdf is not available**&lt;/P&gt;
&lt;P&gt;I have been researching about the problem here (http://answers.nuxeo.com/) and I haven't found a solution &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;First of all, I installed LibreOffice 3.5 following the official guide: &lt;A href="http://doc.nuxeo.com/display/ADMINDOC56/Installing+and+setting+up+related+software"&gt;link text&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;After that, I tried modifying jod.office.home=/usr/lib/libreoffice, but still get the same error.&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;When I look for the error at Nuxeo logs (tail -f /var/log/nuxeo/server.log | grep office)&lt;/P&gt;
&lt;P&gt;WARN [org.artofsolving.jodconverter.office.OfficeProcess] Process exited with code 134&lt;/P&gt;
&lt;P&gt;WARN [org.artofsolving.jodconverter.office.StreamGobbler] StreamGobbler: terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'&lt;/P&gt;
&lt;P&gt;After these attempts, I reviewed the configuration at the Nuxeo 5.6 Virtual Machine when the configuration I need works perfectly.&lt;/P&gt;
&lt;P&gt;I looked for any special configuration at the files:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;A.&lt;/STRONG&gt; /etc/nuxeo/nuxeo.conf&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;B.&lt;/STRONG&gt; /var/lib/nuxeo/server/nxserver/config/configuration.properties&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;C.&lt;/STRONG&gt; /var/lib/nuxeo/server/bin/openofficectl&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;D.&lt;/STRONG&gt; /var/lib/nuxeo/server/nxserver/config/ooo-manager-config.xml&lt;/P&gt;
&lt;P&gt;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 &lt;STRONG&gt;A&lt;/STRONG&gt; and &lt;STRONG&gt;B&lt;/STRONG&gt;), or the OOO_HOME variable (for file &lt;STRONG&gt;C&lt;/STRONG&gt;), 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:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/libreoffice_daemon_running_by_nuxeo.png" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;When is used the 2003 port described as &lt;PORTNUMBER&gt;2003&lt;/PORTNUMBER&gt; at file &lt;STRONG&gt;D&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;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:&lt;/P&gt;
&lt;P&gt;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&lt;/P&gt;
&lt;P&gt;The libreoffice process just started again when I rebooted the Virtual Machine.&lt;/P&gt;
&lt;P&gt;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?&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help,&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jun 2013 03:50:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316495#M3496</guid>
      <dc:creator>rchavarriaz_</dc:creator>
      <dc:date>2013-06-02T03:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can&amp;apos;t preview Word and Excel Documents in Nuxeo 5.6</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316496#M3497</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2013 18:27:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316496#M3497</guid>
      <dc:creator>manuek_</dc:creator>
      <dc:date>2013-06-03T18:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can&amp;apos;t preview Word and Excel Documents in Nuxeo 5.6</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316497#M3498</link>
      <description>&lt;P&gt;Hi Manuel.&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;Yes, poppler-utils ins installed in my server.&lt;/P&gt;
&lt;P&gt;I have solved the problem partially running Nuxeo as root.&lt;/P&gt;
&lt;P&gt;nano /etc/init.d/nuxeo&lt;/P&gt;
&lt;P&gt;Changing &lt;STRONG&gt;NUXEO_USER=root&lt;/STRONG&gt; instead of the default &lt;STRONG&gt;NUXEO_USER=nuxeo&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;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?&lt;/P&gt;
&lt;P&gt;I tried your solution running the service with the nuxeo user, but I didn't worked, the libreoffice daemon were not started.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Raúl Chavarría&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2013 20:17:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316497#M3498</guid>
      <dc:creator>rchavarriaz_</dc:creator>
      <dc:date>2013-06-03T20:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can&amp;apos;t preview Word and Excel Documents in Nuxeo 5.6</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316498#M3499</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2013 10:34:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316498#M3499</guid>
      <dc:creator>manuek_</dc:creator>
      <dc:date>2013-06-04T10:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can&amp;apos;t preview Word and Excel Documents in Nuxeo 5.6</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316499#M3500</link>
      <description>&lt;P&gt;Running Nuxeo (or any non-essential service for that matter) as root is a &lt;STRONG&gt;VERY BAD IDEA&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2013 15:11:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316499#M3500</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-06-05T15:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can&amp;apos;t preview Word and Excel Documents in Nuxeo 5.6</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316500#M3501</link>
      <description>&lt;P&gt;Hi Manuel.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2013 00:59:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316500#M3501</guid>
      <dc:creator>rchavarriaz_</dc:creator>
      <dc:date>2013-06-06T00:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can&amp;apos;t preview Word and Excel Documents in Nuxeo 5.6</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316501#M3502</link>
      <description>&lt;P&gt;Hi Florent.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2013 01:01:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316501#M3502</guid>
      <dc:creator>rchavarriaz_</dc:creator>
      <dc:date>2013-06-06T01:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can&amp;apos;t preview Word and Excel Documents in Nuxeo 5.6</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316502#M3503</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2013 11:24:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316502#M3503</guid>
      <dc:creator />
      <dc:date>2013-06-06T11:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can&amp;apos;t preview Word and Excel Documents in Nuxeo 5.6</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316503#M3504</link>
      <description>&lt;P&gt;Hi Mathieu.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2013 01:31:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/can-apos-t-preview-word-and-excel-documents-in-nuxeo-5-6/m-p/316503#M3504</guid>
      <dc:creator>rchavarriaz_</dc:creator>
      <dc:date>2013-06-10T01:31:45Z</dc:date>
    </item>
  </channel>
</rss>

