cancel
Showing results for 
Search instead for 
Did you mean: 

How to Install records management community amps file on dockerized alfresco community edition ?

appi_arpit2002
Champ in-the-making
Champ in-the-making

I am trying a POC with dockerized Alfresco community edition and i need to install records management amp version 2.7.b ( community edition) on it but getting errors like below : 

========================================================

Step 6/7 : RUN java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt*.jar install \ /usr/local/tomcat/amps/alfresco-rm-community-repo-2.7.b.amp /usr/local/tomcat/webapps/alfresco -nobackup -force
---> Running in ac1545cee875
de.schlichtherle.truezip.fs.FsEntryNotFoundException: file:/usr/local/tomcat/%20/usr/local/tomcat/amps/alfresco-rm-community-repo-2.7.b.amp (no such entry)
at de.schlichtherle.truezip.fs.FsTargetArchiveController.mount0(FsTargetArchiveController.java:185)
at de.schlichtherle.truezip.fs.FsTargetArchiveController.mount(FsTargetArchiveController.java:155)
at de.schlichtherle.truezip.fs.FsFileSystemArchiveController$ResetFileSystem.autoMount(FsFileSystemArchiveController.java:85)
at de.schlichtherle.truezip.fs.FsFileSystemArchiveController.autoMount(FsFileSystemArchiveController.java:37)
at de.schlichtherle.truezip.fs.FsBasicArchiveController.autoMount(FsBasicArchiveController.java:113)
at de.schlichtherle.truezip.fs.FsBasicArchiveController$1Input.getLocalTarget(FsBasicArchiveController.java:185)
at de.schlichtherle.truezip.fs.FsBasicArchiveController$1Input.getDelegate(FsBasicArchiveController.java:200)
at de.schlichtherle.truezip.socket.DelegatingInputSocket.getBoundSocket(DelegatingInputSocket.java:43)
at de.schlichtherle.truezip.socket.DelegatingInputSocket.newInputStream(DelegatingInputSocket.java:63)
at de.schlichtherle.truezip.fs.FsContextController$Input.newInputStream(FsContextController.java:273)
at de.schlichtherle.truezip.fs.FsResourceController$Input.newInputStream(FsResourceController.java:252)
at de.schlichtherle.truezip.socket.DelegatingInputSocket.newInputStream(DelegatingInputSocket.java:63)
at de.schlichtherle.truezip.fs.FsSyncController$Input.newInputStream(FsSyncController.java:400)
at de.schlichtherle.truezip.fs.FsLockController$Input$1NewInputStream.call(FsLockController.java:455)
at de.schlichtherle.truezip.fs.FsLockController$Input$1NewInputStream.call(FsLockController.java:452)
at de.schlichtherle.truezip.fs.FsLockController.locked(FsLockController.java:328)
at de.schlichtherle.truezip.fs.FsLockController.writeLocked(FsLockController.java:268)
at de.schlichtherle.truezip.fs.FsLockController$Input.newInputStream(FsLockController.java:459)
at de.schlichtherle.truezip.fs.FsFinalizeController$Input.newInputStream(FsFinalizeController.java:177)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$1Input$NewInputStream.call(FsFalsePositiveArchiveController.java:333)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$1Input$NewInputStream.call(FsFalsePositiveArchiveController.java:326)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$TryChild.call(FsFalsePositiveArchiveController.java:507)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController.call(FsFalsePositiveArchiveController.java:104)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$1Input.newInputStream(FsFalsePositiveArchiveController.java:323)
at de.schlichtherle.truezip.file.TFileInputStream.newInputStream(TFileInputStream.java:104)
at de.schlichtherle.truezip.file.TFileInputStream.<init>(TFileInputStream.java:81)
at org.alfresco.repo.module.tool.ModuleDetailsHelper.createModuleDetailsFromPropertyLocation(ModuleDetailsHelper.java:105)
at org.alfresco.repo.module.tool.ModuleManagementTool.installModule(ModuleManagementTool.java:229)
at org.alfresco.repo.module.tool.ModuleManagementTool.main(ModuleManagementTool.java:832)
Suppressed: java.nio.file.NoSuchFileException: /usr/local/tomcat/ /usr/local/tomcat/amps/alfresco-rm-community-repo-2.7.b.amp/module.properties
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:215)
at java.base/java.nio.file.Files.newByteChannel(Files.java:370)
at java.base/java.nio.file.Files.newByteChannel(Files.java:421)
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
at java.base/java.nio.file.Files.newInputStream(Files.java:155)
at de.schlichtherle.truezip.fs.nio.file.FileInputSocket.newInputStream(FileInputSocket.java:51)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$1Input$NewInputStream.call(FsFalsePositiveArchiveController.java:333)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$1Input$NewInputStream.call(FsFalsePositiveArchiveController.java:326)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$UseParent.call(FsFalsePositiveArchiveController.java:524)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController.call(FsFalsePositiveArchiveController.java:110)
... 6 more
09100001 An error was encountered during deployment of the AMP into the WAR: 09100000 Unable to load module details from property file. File Not Found, file:/usr/local/tomcat/%20/usr/local/tomcat/amps/alfresco-rm-community-repo-2.7.b.amp (no such entry)
ERROR: Service 'alfresco' failed to build: The command '/bin/sh -c java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt*.jar install \ /usr/local/tomcat/amps/alfresco-rm-community-repo-2.7.b.amp /usr/local/tomcat/webapps/alfresco -nobackup -force' returned a non-zero code: 1

============================

DockerFile i am using is like : 

FROM alfresco/alfresco-content-repository-community:6.0.7-ga

COPY modules/amps/alfresco-rm-community-repo-2.7.b.amp \ /usr/local/tomcat/amps/

COPY modules/amps/alfresco-rm-community-share-2.7.b.amp \ /usr/local/tomcat/amps_share/

RUN java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt-6.0.jar install \ /usr/local/tomcat/amps/alfresco-rm-community-repo-2.7.a.amp /usr/local/tomcat/webapps/alfresco -nobackup -force

RUN java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt*.jar install \ /usr/local/tomcat/amps_share/alfresco-rm-community-share-2.7.a.amp /usr/local/tomcat/webapps/share -verbose -nobackup -force

=======================================================


 can anybody please help , do i need to recreate whole image or somthing  ? 

3 REPLIES 3

jljwoznica
Star Collaborator
Star Collaborator

If you are using community 6.0, RM 2.7 is not supported with 6.0.

oh ok , Well i am using image : alfresco/alfresco-content-repository-community:6.1.2-ga

Is it not supported for this version as well ? 

jpotts
World-Class Innovator
World-Class Innovator

As of this writing there is no version of RM that is compatible with 6.x Community Edition.

According to John Iball in this response to an issue I raised on GitHub, the next version of Community Edition, scheduled for early 2020, has a fix in it that is needed to support RM. At that time, the new Community Edition release will support RM 3.1a.

Welcome to the new Hyland Connect. Get started or submit feedback.