01-05-2021 10:53 AM
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). Only image files can render properly without problems.
I have tried following some advise on forums such as enabling tranform.service and setting tranform timeouts in alfresco-global.properties file but i still failed.
transform.service.enabled=true
## Legacy external executables
alfresco-pdf-renderer.url=http://localhost:8090/
img.url=http://localhost:8090/
jodconverter.url=http://localhost:8090/
tika.url=http://localhost:8090/
transform.misc.url=http://localhost:8090/
# External locations
#-------------
jodconverter.officeHome=/opt/libreoffice6.1/
jodconverter.portNumbers=8100
jodconverter.enabled=true
---
etc
Error Message is "Could not load pdf content" and prompts to download instead.
My file names are not long and the files are not large (<1MB).
How can i solve this problem. Please help, Thanks!
01-05-2021 07:14 PM
@kevin123 wrote:
transform.service.enabled=true
## Legacy external executables
alfresco-pdf-renderer.url=http://localhost:8090/
img.url=http://localhost:8090/
jodconverter.url=http://localhost:8090/
tika.url=http://localhost:8090/
transform.misc.url=http://localhost:8090/
Unless you are running transformation services locally, these properties won't help.
Try configuring these properties for legacy transformation service:
transform.service.enabled=false local.transform.service.enabled=false legacy.transform.service.enabled=true alfresco-pdf-renderer.root=/<path-to-pdf-renderer-installation>/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
Explore our Alfresco products with the links below. Use labels to filter content by product module.