AnsweredAssumed Answered

How do I integrate alfresco-pdf-renderer in the Community Edition 201707GA?

Question asked by j.engel on Jul 18, 2017
Latest reply on May 21, 2018 by derek

Hi all,

the release notes for 201707GA of the community edition mention the carve-out of GhostScript and introduction of alfresco-pdf-renderer as a wrapper for PDFium. Installing the new packages as an update on my Tomcat installation on Linux I receive the following error in my log:

 ERROR [org.alfresco.repo.content.transform.pdfrenderer.AlfrescoPdfRendererContentTransformerWorker] [http-apr-8080-exec-33] Alfresco-PDF-Renderer is not available for transformations.
Execution result:
   os:         Linux
   command:    ./alfresco-pdf-renderer --version
   succeeded:  false
   exit code:  1
   out:
   err:        Cannot run program "./alfresco-pdf-renderer": error=2, No such file or directory

I downloaded the linux edition of alfresco-pdf-renderer directly from the maven repository, but do not know how to integrate it. At least adding the two lines

alfresco-pdf-renderer.root=/usr/local/bin
alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer

to my alfresco-global-properties did not change a thing.

I also wonder if I need to provide pdfium somehow. Any help is much appreciated.

Best regards
Johannes

Outcomes