<?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: libreoffice extension not working in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309360#M262490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got the same problem in my alfresco install. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you paste the line from libreoffice\cripts\ctl.sh ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the original script there are 2 backslashes &amp;lt;cite&amp;gt;SOFFICE="$SOFFICEWRAPPER –nofirststartwizard –nologo –headless –accept=socket,host=localhost,port=$SOFFICE_PORT\;urp\;StarOffice.ServiceManager"&amp;lt;/cite&amp;gt;, are they removed ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2015 17:00:00 GMT</pubDate>
    <dc:creator>axel_baudin</dc:creator>
    <dc:date>2015-02-09T17:00:00Z</dc:date>
    <item>
      <title>libreoffice extension not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309357#M262487</link>
      <description>I have scoured the forums and the internet looking for a solution to this, but have found none.&amp;nbsp; I am running the latest Alfresco 5.0b, on Debian Wheezy.&amp;nbsp; Interestingly, out of the "box" the script to start libreoffice is specified incorrectly in alfresco.sh: LIBREOFFICE_SCRIPT=$INSTALLDIR/libreoffi</description>
      <pubDate>Fri, 24 Oct 2014 10:46:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309357#M262487</guid>
      <dc:creator>mkpelletier</dc:creator>
      <dc:date>2014-10-24T10:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: libreoffice extension not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309358#M262488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having the same problem on debian with alfresco 5.0.b and standard installation with postgresql.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Checked that libreoffice is up an running&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-5.0.b$ sudo ./libreoffice/scripts/libreoffice_ctl.sh status&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;libreoffice already running&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but when trying to get preview or upload new document alfreco logs &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: net.sf.jooreports.openoffice.connection.OpenOfficeException: connection failed: socket,host=localhost,port=8100,tcpNoDelay=1; com.sun.star.lang.IllegalArgumentException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at net.sf.jooreports.openoffice.connection.AbstractOpenOfficeConnection.connect(AbstractOpenOfficeConnection.java:77)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked required libraries already but everything seems to be OK on libreoffice side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody have an idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/M&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 20:47:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309358#M262488</guid>
      <dc:creator>go4alfresco</dc:creator>
      <dc:date>2014-12-12T20:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: libreoffice extension not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309359#M262489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I figured this one out, but forgot to repost the solution.&amp;nbsp; There is a problem in the way the script specifies the parameters passed to the binary.&amp;nbsp; This portion of the command needs to be passed WITH the double quotes: "–accept=socket,host=127.0.0.1,port=8100,tcpNoDelay=1;urp;".&amp;nbsp;&amp;nbsp; The result should look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;{alfresco home}/libreoffice/program/soffice.bin –headless –nologo –nofirststartwizard –nodefault –norestore "–accept=socket,host=127.0.0.1,port=8100,tcpNoDelay=1;urp;"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can confirm the above by killing the libreoffice process: {alrescohome}/libreoffice/scripts/ctl.sh –stop&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then restart the process using the above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Dec 2014 06:43:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309359#M262489</guid>
      <dc:creator>mkpelletier</dc:creator>
      <dc:date>2014-12-13T06:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: libreoffice extension not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309360#M262490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got the same problem in my alfresco install. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you paste the line from libreoffice\cripts\ctl.sh ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the original script there are 2 backslashes &amp;lt;cite&amp;gt;SOFFICE="$SOFFICEWRAPPER –nofirststartwizard –nologo –headless –accept=socket,host=localhost,port=$SOFFICE_PORT\;urp\;StarOffice.ServiceManager"&amp;lt;/cite&amp;gt;, are they removed ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 17:00:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309360#M262490</guid>
      <dc:creator>axel_baudin</dc:creator>
      <dc:date>2015-02-09T17:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: libreoffice extension not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309361#M262491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The escape character is not needed when the command includes the quotes.&amp;nbsp; I believe this problem is fixed in 5.0c.&amp;nbsp; In any case, I had trouble getting the command options specified in the variable to pass to the command, due to the way /bin/sh parses single and double quotes.&amp;nbsp; There is probably a better way to do this, but I finally just put the command options in line 58 of /$ALFRESCO_HOME/libreoffice/scripts/ctl.sh directly rather than using the variable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;$SOFFICEWRAPPER –headless –nologo –nofirststartwizard –nodefault –norestore "–accept=socket,host=127.0.0.1,port=8100,tcpNoDelay=1;urp;"&amp;amp; &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 06:20:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309361#M262491</guid>
      <dc:creator>mkpelletier</dc:creator>
      <dc:date>2015-02-16T06:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: libreoffice extension not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309362#M262492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This configuration file works for my setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a symoblic link with &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ln -s /array/alfresco/libreoffice/scripts/libreoffice_ctl.sh /array/alfresco/libreoffice/scripts/ctl.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And modified the configuration file with &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Libre Office&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SOFFICE_PATH="/array/alfresco/libreoffice/program"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SOFFICE_PORT="8100"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SOFFICEBIN=/array/alfresco/libreoffice/program/.soffice.bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SOFFICEWRAPPER=/array/alfresco/libreoffice/program/soffice.bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SOFFICE="$SOFFICEWRAPPER –nofirststartwizard –nologo –headless "–accept=socket,host=localhost,port=$SOFFICE_PORT\;urp\;StarOffice.ServiceManager""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SOFFICE_STATUS=""&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 09:58:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309362#M262492</guid>
      <dc:creator>gasp72</dc:creator>
      <dc:date>2015-02-16T09:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: libreoffice extension not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309363#M262493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply! THis worked perfectly for me with your method. I am running Alfresco Community 5.0.d.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:56:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/libreoffice-extension-not-working/m-p/309363#M262493</guid>
      <dc:creator>me678</dc:creator>
      <dc:date>2015-09-22T15:56:32Z</dc:date>
    </item>
  </channel>
</rss>

