12-10-2019 02:15 AM
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
12-11-2019 10:29 AM
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...
12-10-2019 01:51 PM
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.
12-11-2019 01:54 AM
Yes same . Only one volume has been added.
12-11-2019 06:41 AM
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.
12-11-2019 10:29 AM
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...
Explore our Alfresco products with the links below. Use labels to filter content by product module.