OrderOfTheBee / alfresco-pdf-toolkit

66 stars 58 forks source link

install issue on bitnami linux version 201605 #33

Open techdanger opened 7 years ago

techdanger commented 7 years ago

Hello,

I have bit problem on the installation pdf-toolkit-repo on bitnami alfresco version 201605 , here're the problem..

root@alfresco-dev-192:/opt/alfresco/apps/alfresco# /opt/alfresco/java/bin/java -jar alfresco-mmt.jar install /home/wedus/pdf-toolkit-repo-1.4.0.amp /opt/alfresco/apache-tomcat/webapps/alfresco.war -preview
Installing AMP '/home/wedus/pdf-toolkit-repo-1.4.0.amp' into WAR '/opt/alfresco/apache-tomcat/webapps/alfresco.war'
INFO: Checking the war version using /WEB-INF/classes/alfresco/version.properties
Adding files relating to version '1.4.0.1603211031' of module 'pdf-toolkit-repo'
   - File '/WEB-INF/lib/jetty-http-7.4.0.v20110414.jar' added to war from amp
   - File '/WEB-INF/lib/jetty-security-7.4.0.v20110414.jar' added to war from amp
   - File '/WEB-INF/lib/junit-remote-3.jar' added to war from amp
   - File '/WEB-INF/lib/junit-4.11.jar' added to war from amp
   - File '/WEB-INF/lib/jetty-io-7.4.0.v20110414.jar' added to war from amp
   - File '/WEB-INF/lib/pdf-toolkit-repo-1.4.0.jar' added to war from amp
11060001 An error was encountered during deployment of the AMP into the WAR: 11060000 ERROR: The amp will overwrite an existing file in the war '/WEB-INF/lib/slf4j-api-1.7.12.jar'. Execution halted.  By specifying -force , you can force installation of AMP regardless of the current war state.

`

and for pdf-toolkit-share seem its okay...

root@alfresco-dev-192:/opt/alfresco/apps/alfresco# /opt/alfresco/java/bin/java -jar alfresco-mmt.jar list /opt/alfresco/apache-tomcat/webapps/alfresco.war         
Module 'pdf-toolkit-share' installed in '/opt/alfresco/apache-tomcat/webapps/alfresco.war'
   -    Title:        Alfresco PDF Toolkit - Share
   -    Version:      1.4.0.1603211031
   -    Install Date: Tue Dec 06 13:21:04 UTC 2016
   -    Description:   Alfresco PDF Toolkit Share customizations
Module 'alfresco-share-services' installed in '/opt/alfresco/apache-tomcat/webapps/alfresco.war'
   -    Title:        Alfresco Share Services AMP
   -    Version:      5.2.0
   -    Install Date: Tue Dec 06 13:14:42 UTC 2016
   -    Description:   Module to be applied to alfresco.war, containing APIs for Alfresco Share

Kindly help and advice...

douglascrp commented 7 years ago

You have to use the -force switch in order to accept the overwrite.

techdanger commented 7 years ago

thanks @douglascrp for the advice its working now

root@alfresco-dev-192:/opt/alfresco/apps/alfresco# /opt/alfresco/java/bin/java -jar alfresco-mmt.jar list /opt/alfresco/apache-tomcat/webapps/alfresco.war       
Module 'pdf-toolkit-repo' installed in '/opt/alfresco/apache-tomcat/webapps/alfresco.war'
   -    Title:        Alfresco PDF Toolkit - Repo
   -    Version:      1.4.0.1603211031
   -    Install Date: Tue Dec 06 15:46:51 UTC 2016
   -    Description:   Alfresco PDF Toolkit repository extensions
Module 'pdf-toolkit-share' installed in '/opt/alfresco/apache-tomcat/webapps/alfresco.war'
   -    Title:        Alfresco PDF Toolkit - Share
   -    Version:      1.4.0.1603211031
   -    Install Date: Tue Dec 06 13:21:04 UTC 2016
   -    Description:   Alfresco PDF Toolkit Share customizations
Module 'alfresco-share-services' installed in '/opt/alfresco/apache-tomcat/webapps/alfresco.war'
   -    Title:        Alfresco Share Services AMP
   -    Version:      5.2.0
   -    Install Date: Tue Dec 06 13:14:42 UTC 2016
   -    Description:   Module to be applied to alfresco.war, containing APIs for Alfresco Share