<?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: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284333#M237463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;A __default_attr="84633" __jive_macro_name="user" _jive_internal="true" class="jive_macro jive_macro_user link-titled" href="https://community.alfresco.com/people/douglascrp" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;!&lt;/P&gt;&lt;P&gt;Thank you very much for your comment!..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jul 2017 12:44:41 GMT</pubDate>
    <dc:creator>anon26949</dc:creator>
    <dc:date>2017-07-05T12:44:41Z</dc:date>
    <item>
      <title>Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284313#M237443</link>
      <description>Hi,I just want to share how to fix the problem of document preview which sometimes not fully functional on loading some of certain files.I use Alfresco 5.0.a on Ubuntu 14.04.One of the problem occurred when opening .docx files.Document preview just showing a thumbnail image instead of full frame of</description>
      <pubDate>Wed, 09 Jul 2014 00:33:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284313#M237443</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2014-07-09T00:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284314#M237444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using alfresco 5.0.a with debian, in order to fix the office documents preview I did several steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. check if libreoffice is running &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-5.0.a/libreoffice/scripts/libreoffice_ctl.sh status&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. edit the file /opt/alfresco-5.0.a/alfresco.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;modify the line LIBREOFFICE_SCRIPT with the correct script path&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LIBREOFFICE_SCRIPT=$INSTALLDIR/libreoffice/scripts/libreoffice_ctl.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. test for missing libraries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-5.0.a/libreoffice/program/soffice.bin –nofirststartwizard –nologo –headless –accept=socket,host=localhost,port=8100&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. install missing libraries (I had missing libxinerama1 and libdbus-glib-1-2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libxinerama1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libdbus-glib-1-2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. try to start opeoffice using the script&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-5.0.a/libreoffice/scripts/libreoffice_ctl.sh start&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6. restart alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; /etc/init.d/alfresco restart&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. you must see the line&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; /opt/alfresco-5.0.a/libreoffice/scripts/libreoffice_ctl.sh : libreoffice started at port 8100&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now previews work perfectly &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 23:14:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284314#M237444</guid>
      <dc:creator>caolem</dc:creator>
      <dc:date>2014-08-05T23:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284315#M237445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank You caolem. It was exactly my problem. Prevviews work fine now.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 09:31:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284315#M237445</guid>
      <dc:creator>d_hoang</dc:creator>
      <dc:date>2014-09-24T09:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284316#M237446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all!&amp;nbsp; Thanks for the info here. It has helped me some.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed your instructions, @caolem, and made some progress from the default install, however I now get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;12:28:45,009 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-bio-8443-exec-4] Exception from executeScript - redirecting to status template error: connection failed: socket,host=127.0.0.1,port=8100,tcpNoDelay=1; com.sun.star.lang.IllegalArgumentException&lt;BR /&gt;net.sf.jooreports.openoffice.connection.OpenOfficeException: connection failed: socket,host=127.0.0.1,port=8100,tcpNoDelay=1; com.sun.star.lang.IllegalArgumentException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.sf.jooreports.openoffice.connection.AbstractOpenOfficeConnection.connect(AbstractOpenOfficeConnection.java:77)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.util.OpenOfficeConnectionTester.testAndConnect(OpenOfficeConnectionTester.java:183)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.util.OpenOfficeConnectionTester.checkConnection(OpenOfficeConnectionTester.java:129)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.util.OpenOfficeConnectionTester.onBootstrap(OpenOfficeConnectionTester.java:101)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext.publishEvent(ChildApplicationContextFactory.java:554)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.start(ChildApplicationContextFactory.java:809)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.start(AbstractPropertyBackedBean.java:991)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(AbstractPropertyBackedBean.java:530)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.concurrent.FutureTask.run(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.lang.Thread.run(Unknown Source)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;This seems to only happen when using MySQL rather than the default postgresql.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 10:31:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284316#M237446</guid>
      <dc:creator>mkpelletier</dc:creator>
      <dc:date>2014-10-27T10:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284317#M237447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great Billythekid!!! It´s a week that i can't resolv this issue. Your solition work fine! Tks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 17:37:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284317#M237447</guid>
      <dc:creator>loruam</dc:creator>
      <dc:date>2014-12-22T17:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284318#M237448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In alfresco 5.0.c, was having connection problems between the alfresco and libreoffice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;alfresco&amp;gt; /libreoffice/scripts/libreoffice_ctl.sh&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;before:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Soffice="$SOFFICEWRAPPER –nofirststartwizard –nologo –headless –accept=socket,host=localhost,port=$&lt;BR /&gt;SOFFICE_PORT\;urp\;StarOffice.ServiceManager"&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;After (remove "\"):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Soffice="$SOFFICEWRAPPER –nofirststartwizard –nologo –headless –accept=socket,host=localhost,port=$SOFFICE_PORT;urp;StarOffice.ServiceManager"&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2014 12:10:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284318#M237448</guid>
      <dc:creator>arannasousa</dc:creator>
      <dc:date>2014-12-24T12:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284319#M237449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone know how to resolve this problem with Alfresco running on Windows server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can preview pdf's without issue but office docs won't display&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 23:16:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284319#M237449</guid>
      <dc:creator>pknight</dc:creator>
      <dc:date>2015-05-29T23:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284320#M237450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;PKnight, have you resolve the problem ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have exactly the same problem here. I am running with Alfreso 5.0.d&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 01:43:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284320#M237450</guid>
      <dc:creator>danyfortier</dc:creator>
      <dc:date>2015-07-15T01:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284321#M237451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok i got it working by restarting tomcat service for now. But still investigating&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 01:54:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284321#M237451</guid>
      <dc:creator>danyfortier</dc:creator>
      <dc:date>2015-07-15T01:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284322#M237452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same problem on 5.0.d.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed alfresco.sh to point to the correct script, I changed libreoffice_ctl.sh to have the correct paths. Still not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I test for missing libraries as suggested by caolem, I get this: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;error while loading shared libraries: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory&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;SPAN&gt;So I did a "yum install libdbus-glib-1.so.2" and I got this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Package dbus-glib-0.86-6.10.amzn1.i686 already installed and latest version&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;So I guess this means that the package is installed in the wrong directory?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried removing it and re-installing it, but it still can't be located.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I really don't know what to do to fix this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help please?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 21:09:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284322#M237452</guid>
      <dc:creator>voula_11</dc:creator>
      <dc:date>2015-08-07T21:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284323#M237453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;how about in windows? same also?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 13:21:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284323#M237453</guid>
      <dc:creator>yoyo46</dc:creator>
      <dc:date>2015-08-20T13:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284324#M237454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for that.&amp;nbsp; Where is alfresco.sh located under ubuntu 14.04?&amp;nbsp; I installed using&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/loftuxab/alfresco-ubuntu-install" rel="nofollow noopener noreferrer"&gt;https://github.com/loftuxab/alfresco-ubuntu-install&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 07:31:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284324#M237454</guid>
      <dc:creator>wags</dc:creator>
      <dc:date>2015-10-29T07:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284325#M237455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm got the problem that libreoffice isent't running, too. The Problem occurs both with Debian 8 and Ubuntu 14.04. Also i tested with 5.0d and 5.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Share i got only thumbnails with doc-files and a option for downloading file and no preview with docx-files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i try to test based on your instructions with following result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. check if libreoffice is running&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-5.0.a/libreoffice/scripts/libreoffice_ctl.sh status&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–&amp;gt; libreoffice dont run and can't be started&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. edit the file /opt/alfresco-5.0.a/alfresco.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;modify the line LIBREOFFICE_SCRIPT with the correct script path&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LIBREOFFICE_SCRIPT=$INSTALLDIR/libreoffice/scripts/libreoffice_ctl.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–&amp;gt; i fixed the file but if i restart alfresco, libreoffice can't be started&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. test for missing libraries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-5.0.a/libreoffice/program/soffice.bin –nofirststartwizard –nologo –headless –accept=socket,host=localhost,port=8100&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–&amp;gt; libGl.so1 is missing. Unfortunately it isn't possible to install manually &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;root@ubuntu:/opt/alfresco-community/libreoffice/scripts# apt-get install&amp;nbsp; libGl.so.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Reading package lists… Done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building dependency tree&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Reading state information… Done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;E: Unable to locate package libGl.so.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;E: Couldn't find any package by regex 'libGl.so.1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;furthermore the linux-version has no gui.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. install missing libraries (I had missing libxinerama1 and libdbus-glib-1-2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libxinerama1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libdbus-glib-1-2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–&amp;gt;not possible. look at 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. try to start opeoffice using the script&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-5.0.a/libreoffice/scripts/libreoffice_ctl.sh start&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–&amp;gt; libreoffice wont start because i am not able to fix 3 &amp;amp; 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6. restart alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/etc/init.d/alfresco restart&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;7. you must see the line&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-5.0.a/libreoffice/scripts/libreoffice_ctl.sh : libreoffice started at port 8100&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sry for my bad english guys &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt; Hope anyone can help me. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Florian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 12:59:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284325#M237455</guid>
      <dc:creator>fwegener</dc:creator>
      <dc:date>2016-02-25T12:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284326#M237456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;just fyi, instead of blindly using ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;#apt-get install libGl.so.1&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;first use a sudo enabled user, not root (best practice), then do :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;sudo apt-get update&lt;BR /&gt;apt-cache search libgl&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and you will find the necessary libraries to install.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Apr 2016 14:05:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284326#M237456</guid>
      <dc:creator>boiss007</dc:creator>
      <dc:date>2016-04-02T14:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284327#M237457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for sharing your experience!.. The same problem in Alfresco 5.1 CE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 10:40:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284327#M237457</guid>
      <dc:creator>anon26949</dc:creator>
      <dc:date>2017-05-18T10:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284328#M237458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A __default_attr="165420" __jive_macro_name="user" _jive_internal="true" data-id="165420" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/alekseybykov" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Frankly speaking, this problem is never appear again in 5.1 and 5.2 CE so far, on my environment.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 11:14:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284328#M237458</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2017-05-18T11:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284329#M237459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;B&gt;Bayu Widyasanyata&lt;/B&gt;!&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ACE-2390?focusedCommentId=343038&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-343038" rel="nofollow noopener noreferrer"&gt;It seems&lt;/A&gt; that this script is not needed at all... LibreOffice managed by JODConverter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 06:15:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284329#M237459</guid>
      <dc:creator>anon26949</dc:creator>
      <dc:date>2017-05-19T06:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284330#M237460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A __default_attr="165420" __jive_macro_name="user" _jive_internal="true" data-id="165420" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/alekseybykov" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Thank you for issue's link! Then we can "close" this issue for 4.2+ version &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 May 2017 03:18:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284330#M237460</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2017-05-21T03:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284331#M237461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Out of the box, LibreOffice managed by JODConverter is an Enterprise only feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need it for Community edition, then you will have to use an addon, in this case, this is what you are looking for&amp;nbsp;&lt;A class="link-titled" href="https://bitbucket.org/xenit/alfresco-remote-jodconverter" title="https://bitbucket.org/xenit/alfresco-remote-jodconverter" rel="nofollow noopener noreferrer"&gt;xenit / alfresco-remote-jodconverter — Bitbucket&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 15:51:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284331#M237461</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-05-29T15:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284332#M237462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I resolve this problem changing the path of libreoffice installation on alfresco-global.properties. &lt;BR /&gt;&lt;BR /&gt;From:&lt;/P&gt;&lt;P&gt;ooo.exe=/opt/alfresco-community/libreoffice/program/soffice.bin&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;ooo.exe=/usr/bin/soffice&lt;/P&gt;&lt;P&gt;then I restart alfresco service et voilà.&lt;BR /&gt;You must find soffice file on your sistem (this works on linux).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye, bye.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 12:05:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-problem-was-fixed-by-changing-libreoffice-s-ctl/m-p/284332#M237462</guid>
      <dc:creator>luceros</dc:creator>
      <dc:date>2017-07-05T12:05:38Z</dc:date>
    </item>
  </channel>
</rss>

