Alfresco Comunity 7 .zip haven't alfresco-pdf-renderer into?

cancel
Showing results for 
Search instead for 
Did you mean: 
Damir-Kovacevic
Active Member

Alfresco Comunity 7 .zip haven't alfresco-pdf-renderer into?

Hello,

I am starting with installation alfresco-content-services-community-distribution-7.0.0 from .zip.

I follow instruction on the page https://docs.alfresco.com/content-services/6.2/install/zip/

and I cann't find alfresco-pdf-renderer into .zip distribution.

Can You suggest some direction about this.

I read about Install Transform Service on the page https://docs.alfresco.com/transform-service/latest/install/#install-with-zip but prerequisits are the same include alfresco-pdf-renderer.

This is from installation tutorial.

In a non-containerized environment you need to install the following software before installing Transform Services:

Thanks in advanced

1 Reply
abhinavmishra14
Moderator
Moderator

Re: Alfresco Comunity 7 .zip haven't alfresco-pdf-renderer into?

From legacy tansformation was deprecated in previous version and now removed from acs7. So for local installation also you have to use the transformation service. Just installing the components aren't enough. Properties have also change in new version.

If you are installing acs using distribution package and planning to use transformations then use transformation service. 

There are two options:

1- Launch transformation service (tranform-core-aio + activemq docker images) on docker and keep the host and port accessible to your local installation. Use the following properties in local alfresco-global.properties

messaging.broker.url=\"failover:(nio://localhost:61616)?timeout=3000&jms.useCompression=true\"
localTransform.core-aio.url=http://localhost:8090/
local.transform.service.enabled=true [True by default, Just for FYI here]
messaging.subsystem.autoStart=true [True by default, Just for FYI here]

e.g.:

version: "2"

services:        
    transform-core-aio:
        image: alfresco/alfresco-transform-core-aio:2.4.0       
mem_limit: 1536m environment: JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80" ports: - 8090:8090 activemq: image: alfresco/alfresco-activemq:5.16.1 mem_limit: 1g ports: - 8161:8161 # Web Console - 5672:5672 # AMQP - 61616:61616 # OpenWire - 61613:61613 # STOMP

2- Install the activemq, imagemagick, libreoffice, pdf renderer and tranform all in one boot project jar file and start transform-core-aio boot app with following params:

java -DPDFRENDERER_EXE="<alfresco-pdf-renderer_installation_dir>/alfresco-pdf-renderer"
-DLIBREOFFICE_HOME="<libreoffice_installation_dir>"
-DIMAGEMAGICK_ROOT="<imagemagick_installation_dir>"
-DIMAGEMAGICK_DYN="<imagemagick_installation_dir>/lib"
-DIMAGEMAGICK_EXE="<imagemagick_installation_dir>/bin/convert"
-DACTIVEMQ_URL=failover:(tcp://server:61616)?timeout=3000
-jar alfresco-transform-core-aio-boot-x.y.z.jar
example:

java -DPDFRENDERER_EXE="/usr/local/acs70ga-community/alfresco-pdf-renderer/alfresco-pdf-renderer" -DLIBREOFFICE_HOME="/usr/local/acs70ga-community/libreoffice" -DIMAGEMAGICK_ROOT="/usr/local/acs70ga-community/imagemagick" -DIMAGEMAGICK_DYN="/usr/local/acs70ga-community/imagemagick" -DIMAGEMAGICK_EXE="/usr/local/acs70ga-community/imagemagick/convert" -DACTIVEMQ_URL=failover:(tcp://localhost:61616)?timeout=3000 -jar alfresco-transform-core-aio-boot-2.4.0.jar

Windows 10 example:
java -DPDFRENDERER_EXE="c:\\acs70ga-community\\alfresco-pdf-renderer\\alfresco-pdf-renderer.exe"
-DLIBREOFFICE_HOME="c:\\acs70ga-community\\libreoffice"
-DIMAGEMAGICK_ROOT="c:\\acs70ga-community\\imagemagick"
-DIMAGEMAGICK_DYN="c:\\acs70ga-community\\imagemagick"
-DIMAGEMAGICK_EXE="c:\\acs70ga-community\\imagemagick\\convert.exe"
-DACTIVEMQ_URL=failover:(tcp://localhost:61616)?timeout=3000
-jar alfresco-transform-core-aio-boot-2.4.0.jar

Global properties:

messaging.broker.url=\"failover:(nio://localhost:61616)?timeout=3000&jms.useCompression=true\"
localTransform.core-aio.url=http://localhost:8090/
local.transform.service.enabled=true [True by default, Just for FYI here]
messaging.subsystem.autoStart=true [True by default, Just for FYI here]

Download activemq: 

https://archive.apache.org/dist/activemq/5.16.1/apache-activemq-5.16.1-bin.tar.gz

https://archive.apache.org/dist/activemq/5.16.1/apache-activemq-5.16.1-bin.zip

Download libreoffice:

https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/libreoffice/libre...

Windows:

https://downloadarchive.documentfoundation.org/libreoffice/old/6.3.5.2/win/x86_64/LibreOffice_6.3.5....

Download imagemagick:

Repo: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/imagemagick/image...

https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/imagemagick/image...

Windows

https://imagemagick.org/script/download.php#windows

https://download.imagemagick.org/ImageMagick/download/binaries/ImageMagick-7.0.11-14-Q16-HDRI-x64-dl...

Download pdf renderer:

https://nexus.alfresco.com/nexus/service/local/repositories/releases/content/org/alfresco/alfresco-p...

Windows

https://artifacts.alfresco.com/nexus/content/groups/public/org/alfresco/alfresco-pdf-renderer/1.1/al...

Transform core all in one project:

https://github.com/Alfresco/alfresco-transform-core/tree/master/alfresco-transform-core-aio/alfresco...

Download Transform core all in one jar:

https://artifacts.alfresco.com/nexus/content/groups/public/org/alfresco/alfresco-transform-core-aio-...

 

Here you can find detailed steps for installing using distribution package but it is for ACS 6.x but may be helpful if you are installing from scratch:

https://javaworld-abhinav.blogspot.com/2020/12/setup-acs62-ga-and-ass14-distribution-stepbystep.html

https://javaworld-abhinav.blogspot.com/2021/02/setup-acs62-ga-and-ass14-distribution-stepbystep-cent...

 

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)