ACS 6.2
ACA 1.9
PDf renderer 2.1.0
LibreOffice 2.1.0
We have problem while viewing the documents in Alfresco. If file is greater than 800kb, View show it as an image and ony shows the first page of it.
Steps to produce process:
1) Upload a document which have size more than 800 kb
2) click view for this document
3) Pdf render shows the only first page of it, also it shows it as an image
I am writing these settings into docker-compose. but the same problem persists.
İs there config to solve this problem. Could you help me
Solved! Go to Solution.
These properties are no longer supported in Alfresco 6.2 - configuration must be applied to the T-Engines themselves, e.g. as a custom engine_config.json (default for LibreOffice: https://github.com/Alfresco/alfresco-transform-core/blob/master/alfresco-docker-libreoffice/src/main...)
It seems that this file reference is hard-coded (https://github.com/Alfresco/alfresco-transform-core/blob/master/alfresco-transformer-base/src/main/j...) and you would have to build a custom JAR + Docker image to provide a custom configuration. It seems Alfresco has really thought long and hard about configurability and decided against it...
I think you are missing some configuration about transformers. Check out https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.yml, and compare your docker-compose file configuration with this one.
Also check this project https://github.com/Alfresco/alfresco-docker-installer, and compare your docker-compose with the one generated by this tool.
Yes same . Only one volume has been added.
Then try to add this property to the acs service, in environment JAVA_OPTS:
-Dcontent.transformer.JodConverter.extensions.docx.pdf.maxSourceSizeKBytes=20240
I don't know exactly how Alfresco handles this properties in version 6.2 and T-engines, but it worked in version 6.1.
These properties are no longer supported in Alfresco 6.2 - configuration must be applied to the T-Engines themselves, e.g. as a custom engine_config.json (default for LibreOffice: https://github.com/Alfresco/alfresco-transform-core/blob/master/alfresco-docker-libreoffice/src/main...)
It seems that this file reference is hard-coded (https://github.com/Alfresco/alfresco-transform-core/blob/master/alfresco-transformer-base/src/main/j...) and you would have to build a custom JAR + Docker image to provide a custom configuration. It seems Alfresco has really thought long and hard about configurability and decided against it...
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.