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!
@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
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.