<?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 Unable to preview document files in Alfresco 6.2-ga in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-preview-document-files-in-alfresco-6-2-ga/m-p/130856#M35342</link>
    <description>&lt;P&gt;Hello, i need help. I have completely failed to preview document files (PDF, Word, Excel) in Alfresco 6.2-ga since i installed it on Centos 7 VPS. Using Docker containers. (Error: Could not load pdf content).&amp;nbsp; Only image files can render properly without problems.&lt;/P&gt;&lt;P&gt;I have tried following some advise on forums such as enabling tranform.service and setting tranform timeouts in &lt;EM&gt;alfresco-global.properties &lt;/EM&gt;&amp;nbsp;file but i still failed.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="pln"&gt;transform&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;service&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;enabled&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;true&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;## Legacy external executables&amp;nbsp;&lt;BR /&gt;alfresco-pdf-renderer.url=http://localhost:8090/&lt;BR /&gt;img.url=http://localhost:8090/&lt;BR /&gt;jodconverter.url=http://localhost:8090/&lt;BR /&gt;tika.url=http://localhost:8090/&lt;BR /&gt;transform.misc.url=http://localhost:8090/&lt;/P&gt;&lt;P&gt;# External locations&amp;nbsp;&lt;BR /&gt;#-------------&lt;BR /&gt;jodconverter.officeHome=/opt/libreoffice6.1/&lt;BR /&gt;jodconverter.portNumbers=8100&lt;BR /&gt;jodconverter.enabled=true&lt;/P&gt;&lt;P&gt;---&lt;BR /&gt;etc&lt;/P&gt;&lt;P&gt;Error Message is "Could not load pdf content" and prompts to download instead.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My file names are not long and the files are not large (&amp;lt;1MB).&lt;/P&gt;&lt;P&gt;How can i solve this problem. Please help, Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2021 18:53:09 GMT</pubDate>
    <dc:creator>kevin123</dc:creator>
    <dc:date>2021-01-05T18:53:09Z</dc:date>
    <item>
      <title>Unable to preview document files in Alfresco 6.2-ga</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-preview-document-files-in-alfresco-6-2-ga/m-p/130856#M35342</link>
      <description>&lt;P&gt;Hello, i need help. I have completely failed to preview document files (PDF, Word, Excel) in Alfresco 6.2-ga since i installed it on Centos 7 VPS. Using Docker containers. (Error: Could not load pdf content).&amp;nbsp; Only image files can render properly without problems.&lt;/P&gt;&lt;P&gt;I have tried following some advise on forums such as enabling tranform.service and setting tranform timeouts in &lt;EM&gt;alfresco-global.properties &lt;/EM&gt;&amp;nbsp;file but i still failed.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="pln"&gt;transform&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;service&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;enabled&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;true&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;## Legacy external executables&amp;nbsp;&lt;BR /&gt;alfresco-pdf-renderer.url=http://localhost:8090/&lt;BR /&gt;img.url=http://localhost:8090/&lt;BR /&gt;jodconverter.url=http://localhost:8090/&lt;BR /&gt;tika.url=http://localhost:8090/&lt;BR /&gt;transform.misc.url=http://localhost:8090/&lt;/P&gt;&lt;P&gt;# External locations&amp;nbsp;&lt;BR /&gt;#-------------&lt;BR /&gt;jodconverter.officeHome=/opt/libreoffice6.1/&lt;BR /&gt;jodconverter.portNumbers=8100&lt;BR /&gt;jodconverter.enabled=true&lt;/P&gt;&lt;P&gt;---&lt;BR /&gt;etc&lt;/P&gt;&lt;P&gt;Error Message is "Could not load pdf content" and prompts to download instead.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My file names are not long and the files are not large (&amp;lt;1MB).&lt;/P&gt;&lt;P&gt;How can i solve this problem. Please help, Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 18:53:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-preview-document-files-in-alfresco-6-2-ga/m-p/130856#M35342</guid>
      <dc:creator>kevin123</dc:creator>
      <dc:date>2021-01-05T18:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to preview document files in Alfresco 6.2-ga</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-preview-document-files-in-alfresco-6-2-ga/m-p/130857#M35343</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/83560"&gt;@kevin123&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="pln"&gt;transform&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;service&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;enabled&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;true&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;## Legacy external executables&amp;nbsp;&lt;BR /&gt;alfresco-pdf-renderer.url=http://localhost:8090/&lt;BR /&gt;img.url=http://localhost:8090/&lt;BR /&gt;jodconverter.url=http://localhost:8090/&lt;BR /&gt;tika.url=http://localhost:8090/&lt;BR /&gt;transform.misc.url=http://localhost:8090/&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;Unless you are running &lt;A href="https://github.com/Alfresco/alfresco-transform-core" target="_self" rel="nofollow noopener noreferrer"&gt;transformation services&lt;/A&gt; locally, these properties won't help.&lt;/P&gt;
&lt;P&gt;Try configuring these properties for legacy transformation service:&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;transform.service.enabled=false
&lt;/STRONG&gt;local.transform.service.enabled=false
&lt;STRONG&gt;legacy.transform.service.enabled=true
&lt;/STRONG&gt;
alfresco-pdf-renderer.root=/&amp;lt;path-to-pdf-renderer-installation&amp;gt;/alfresco-pdf-renderer
alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer

img.root=/usr/lib64/ImageMagick-6.9.10
img.dyn=/usr/bin
img.gslib=/usr/bin
img.exe=${img.dyn}/convert
img.config=${img.root}/config-Q16
img.coders=${img.root}/modules-Q16/coders

ooo.exe=/opt/libreoffice6.1/program/soffice.bin
ooo.enabled=false
ooo.port=8100
jodconverter.enabled=true
jodconverter.officeHome=/opt/libreoffice6.1
jodconverter.portNumbers=8100&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Jan 2021 03:14:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-preview-document-files-in-alfresco-6-2-ga/m-p/130857#M35343</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-01-06T03:14:35Z</dc:date>
    </item>
  </channel>
</rss>

