yesterday
Hi,
We are running Alfresco 5.2 Community, hosted on an CentOS server.
Recently, we encountered an issue where viewing large PDF documents either freezes or becomes extremely slow. To address this, we wanted to upgrade the pdf.js version.
We tried modifying the pdf.js and pdf.worker.js files located in the /tomcat/webapps/share/components/preview/pdfjs directory and restarted the service. However, the version still appears as 1.5.188. It seems this version is set during the initial installation of Alfresco. Is there a way to change this version?"
yesterday
We installed it by alfresco-community-installer-201707-linux-x64.bin file.
12 hours ago
mmm I don't recommend it for several reasons, then Alfresco 5.2 is out of maintenance and modifying share files is never something I would recommend to someone who is not familiar with the code, it is highly advisable to upgrade your install to an Alfresco 7 with docker or kubernetes (at least), where the transformers for previews have been externalized and can be upgraded separately from Alfresco and Share...
If an upgrade is not possible my advice is to disable preview for pdf above a certain size via global properties to avoid the slowdown, if a person wants to view the big pdf document they can use the “view on browser” option on Share.
Explore our Alfresco products with the links below. Use labels to filter content by product module.