Hi @ChrisAlker,
Pleased you managed to get it working! Thanks for outlining how you resolved the issue - super useful to other users.
Take care,
Hi @EddieMay , I think I may have spoken too soon about the issue being fully resolved... I have it working fine in my test system, which is a bitnami build running community 6.2 on my windows 10 laptop, however, our live Alfresco build is community 5.2 built on a Linux box, where someone previously looked after this before me (and has left). I've added this setting to our live system and it did not fix the preview issue. The difference between the global properties of the two files differs slightly though.
These are the standard settings that were on my bitnami 6.2 install:
### External executable locations ###
ooo.exe=C:/ALFRES~1/LIBREO~1/App/libreoffice/program/soffice.exe
ooo.enabled=true
ooo.port=8100
img.root=C:\\Alfresco-201911-4\\imagemagick
img.coders=${img.root}/modules/coders
img.config=${img.root}/config
img.gslib=${img.root}\\lib
img.exe=${img.root}\\convert.exe
swf.exe=C:/ALFRES~1/swftools/pdf2swf.exe
swf.languagedir=C:/ALFRES~1/swftools/japanese
jodconverter.enabled=false
# JOD only for Alfresco Enterprise
jodconverter.officeHome=C:/ALFRES~1/LIBREO~1/App/libreoffice
jodconverter.portNumbers=8100
### Jod converter file size settings ###
content.transformer.JodConverter.extensions.docx.pdf.maxSourceSizeKBytes=10000
These are the settings that are in our live 5.2 properties file:
### External executable locations ###
ooo.exe=/var/www/html/alfresco-community/libreoffice/program/soffice.bin
ooo.enabled=true
ooo.port=8100
img.root=/var/www/html/alfresco-community/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
jodconverter.enabled=false
jodconverter.officeHome=/var/www/html/alfresco-community/libreoffice
jodconverter.portNumbers=8100
### Jod converter file size settings ###
content.transformer.JodConverter.extensions.docx.pdf.maxSourceSizeKBytes=10000
Do you know if the extra settings from my 6.2 build were not present in the standard 5.2 build? I have no way of knowing if the original 5.2 properties file actually had the additional settings but were removed (I suspect they haven't been though).
Is there anything that sticks out immediately, other than jodconverter.enabled=false, as I've changed this setting between true/false and it hasn't affected this particular issue, in fact my test system allows the previews with this set to false.
I had exactly this issue, and found the line I needed to add to alfresco-global.properties was
content.transformer.OpenOffice.extensions.docx.pdf.maxSourceSizeKBytes=10000
(whereas content.transformer.JodConverter.extensions.docx.pdf.maxSourceSizeKBytes=10000 made no difference).
As I understand it, it's because libreoffice/OpenOffice is carrying out the transformation and not the JodConverter.
Hi thanks for that, I found that it now shows the document preview, but only the first page of 16 and the text on the page is a little bit distorted/overlapping too
Hi dude.
I add all content for MSOffice and set this options... This work fine and fast!
@ChrisAlker wrote:Hi thanks for that, I found that it now shows the document preview, but only the first page of 16 and the text on the page is a little bit distorted/overlapping too
I see something similar from time to time - it seems to happen if there is an attempt to access share in the browser while alfresco is still starting up. A restart of tomcat usually sorts it for me. However I've no idea if this would be the same problem that you are experiencing.
Hi thanks for the response.
Unfortunately after a couple of restarts of Tomcat it is still the same
Make sure the following things: In the Windows File Manager, open the Folder Options, make sure the option Always show icons, never thumbnails option is off , and the option Show preview handlers in preview pane is on
I have both those options set like that, but this is not the issue. The issue is the preview in the alfresco web page is not rendering properly, which will be relating back to a configuration issue in the Linux box the software is installed on
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.