{"id":524,"date":"2014-12-25T11:44:16","date_gmt":"2014-12-25T11:44:16","guid":{"rendered":"http:\/\/www.intelli.ch\/?p=524"},"modified":"2017-01-03T15:40:59","modified_gmt":"2017-01-03T15:40:59","slug":"alfresco-5-libreoffice-preview","status":"publish","type":"post","link":"https:\/\/www.dev-metal.ch\/?p=524","title":{"rendered":"Alfresco 5 &#8211; LibreOffice Preview"},"content":{"rendered":"<p>Bei den neuen Alfresco-Community Versionen, installiert \u00fcber die Default-Installationsroutine (Version 5.0.a &#8211; 5.1), habe allesamt das Problem, dass die Preview-Funktion von docx, doc, odt, etc. nicht funktioniert und auch ein Upload eines Media-Files mit einem Fehler endet.<\/p>\n<p>Siehe auch:<\/p>\n<p><a href=\"http:\/\/alfresco-ecm.cz\/wp\/2015\/03\/22\/alfresco-5-libreoffice-working\/\">http:\/\/alfresco-ecm.cz\/wp\/2015\/03\/22\/alfresco-5-libreoffice-working\/<\/a><\/p>\n<p>Folgende Links bringen die L\u00f6sung:<\/p>\n<ul>\n<li><a href=\"https:\/\/forums.alfresco.com\/forum\/installation-upgrades-configuration-integration\/configuration\/document-preview-problem-was\" target=\"_blank\">https:\/\/forums.alfresco.com\/forum\/installation-upgrades-configuration-integration\/configuration\/document-preview-problem-was<\/a><\/li>\n<li><a href=\"https:\/\/forums.alfresco.com\/forum\/installation-upgrades-configuration-integration\/configuration\/libreoffice-extension-not#comment-154845\">https:\/\/forums.alfresco.com\/forum\/installation-upgrades-configuration-integration\/configuration\/libreoffice-extension-not#comment-154845<\/a><\/li>\n<\/ul>\n<h3>Symbolic-Link erstellen<\/h3>\n<pre class=\"lang:sh decode:true \">ln -s \/array\/alfresco\/libreoffice\/scripts\/libreoffice_ctl.sh \/array\/alfresco\/libreoffice\/scripts\/ctl.sh<\/pre>\n<p>Libreoffice ctl File anpassen :<\/p>\n<pre class=\"lang:sh decode:true\">vi \/opt\/alfresco\/libreoffice\/scripts\/ctl.sh<\/pre>\n<p>Man beachte Linie:<\/p>\n<pre class=\"lang:sh decode:true  \">SOFFICE=\"$SOFFICEWRAPPER --nofirststartwizard --nologo --headless \"--accept=socket,host=localhost,port=$SOFFICE_PORT\\;urp\\;StarOffice.ServiceManager\"\"<\/pre>\n<p>mit den doppelten G\u00e4nsef\u00fcsschen (&#8222;&#8220;):<\/p>\n<pre class=\"lang:sh decode:true\"># Libre Office\r\n SOFFICE_PATH=\"\/array\/alfresco\/libreoffice\/program\"\r\n SOFFICE_PORT=\"8100\"\r\n SOFFICEBIN=\/array\/alfresco\/libreoffice\/program\/.soffice.bin\r\n SOFFICEWRAPPER=\/array\/alfresco\/libreoffice\/program\/soffice.bin\r\n SOFFICE=\"$SOFFICEWRAPPER --nofirststartwizard --nologo --headless \"--accept=socket,host=localhost,port=$SOFFICE_PORT\\;urp\\;StarOffice.ServiceManager\"\"\r\n SOFFICE_STATUS=\"\"<\/pre>\n<h3>Unter Ubuntu xenial konnte libreoffice auch nicht starten, weil eine library gefehlt hat:<\/h3>\n<p>Check:<\/p>\n<pre class=\"lang:sh decode:true \">\/opt\/alfresco-5.0.a\/libreoffice\/program\/soffice.bin --nofirststartwizard --nologo --headless --accept=socket,host=localhost,port=8100<\/pre>\n<p>Resultat:<\/p>\n<pre class=\"lang:sh decode:true \">libreoffice libGL.so.1: cannot open shared object file: No such file or directory<\/pre>\n<p>Abhilfe:<\/p>\n<pre><code>sudo apt-get install libglu1<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Bei den neuen Alfresco-Community Versionen, installiert \u00fcber die Default-Installationsroutine (Version 5.0.a &#8211; 5.1), habe allesamt das Problem, dass die Preview-Funktion von docx, doc, odt, etc. nicht funktioniert und auch ein Upload eines Media-Files mit einem Fehler endet. Siehe auch: http:\/\/alfresco-ecm.cz\/wp\/2015\/03\/22\/alfresco-5-libreoffice-working\/ Folgende Links bringen die L\u00f6sung: https:\/\/forums.alfresco.com\/forum\/installation-upgrades-configuration-integration\/configuration\/document-preview-problem-was https:\/\/forums.alfresco.com\/forum\/installation-upgrades-configuration-integration\/configuration\/libreoffice-extension-not#comment-154845 Symbolic-Link erstellen ln -s \/array\/alfresco\/libreoffice\/scripts\/libreoffice_ctl.sh \/array\/alfresco\/libreoffice\/scripts\/ctl.sh Libreoffice ctl [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[4],"tags":[],"class_list":["post-524","post","type-post","status-publish","format-standard","hentry","category-alfresco"],"modified_by":"ralph","_links":{"self":[{"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=\/wp\/v2\/posts\/524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=524"}],"version-history":[{"count":9,"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=\/wp\/v2\/posts\/524\/revisions"}],"predecessor-version":[{"id":798,"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=\/wp\/v2\/posts\/524\/revisions\/798"}],"wp:attachment":[{"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}