11-09-2021 07:56 AM
Unfortunately, no matter what I do, I just can't compile this project. In the end, I always get the same error:
[ERROR] F8: Failed to execute the build: io.fabric8.maven.docker.access.DockerAccessException: Unable to build image [alfresco/alfresco-imagemagick:latest] : Connection reset by peer
If anone knows what may be going on, I would appreciate it. Thanks!
11-10-2021 09:39 AM
Sorry to hear that, I tried in my Mac and it worked fine.
Also Travis is working as expected:
https://app.travis-ci.com/github/Alfresco/alfresco-transform-core/builds/241395410
You can also build your Docker Image by using the Dockerfile in
and changing manually the file inside the alfresco-transform-core-aio-boot.jar file.
Alternativelly, you can create a new TEngine with a lower priority for the transformation/extractions required.
11-09-2021 08:18 AM
How did you build the project?
Another approach would be to create a new Transform Engine overriding default extractor with lower priority numbers for these routes:
11-09-2021 08:32 AM
Hi Angel,
I tried to build following the README.me
Configured the Alfresco Maven repository and run the command:
mvn clean install -Plocal,docker-it-setup
I'm using Ubuntu 20.04 LTS on an AWS EC2.
But always fails with that error.
I tried really hard to search for a solution but nothing seems to be exactly my problem.
Thanks!
About the alternate solution, I will see if I can figure out how to use it!
11-09-2021 09:24 AM
Do you have Docker installed on that AWS EC2 Instance?
You may also try skipping unnecesary steps and tests to avoid starting Docker issues:
$ mvn clean install -Plocal -DskipTests
11-09-2021 10:28 AM
Angel,
Yes I have Docker installed.
Tried to run using the command you sent me, got the same error
Now I even tried to build it on my Windows 10 PC, using Docker + Debian WSL2,
I got the same error.
I really don't know what I am doing wrong...
11-10-2021 09:30 AM
I give up. I tried everything possible, used other linux distros, tried other configurations, searching what may be going wrong, but the result is always the same.
A crucial step has to be missing on the project readme.
I never encountered such problem building other maven projects.
Also, the Travis CI link on the project page is broken, it gives a 404 error. so I start to have my doubts if it's really "passing" the build process.
11-10-2021 09:39 AM
Sorry to hear that, I tried in my Mac and it worked fine.
Also Travis is working as expected:
https://app.travis-ci.com/github/Alfresco/alfresco-transform-core/builds/241395410
You can also build your Docker Image by using the Dockerfile in
and changing manually the file inside the alfresco-transform-core-aio-boot.jar file.
Alternativelly, you can create a new TEngine with a lower priority for the transformation/extractions required.
12-07-2021 08:42 AM
I eventually used the dumbest method possible.
I created a Dockerfile that just replaced the edited jar.
ARG TRANSFORM_ENGINE_TAG FROM alfresco/alfresco-transform-core-aio:${TRANSFORM_ENGINE_TAG} COPY alfresco-transform-core-aio-boot.jar /usr/bin/ COPY alfresco-transform-core-aio-boot.jar /usr/bin/alfresco-transform-core-aio-boot-2.5.3.jar
But it worked though... thanks!
07-13-2022 07:51 AM
This is more a workaround than a solution to the issue.
The related issue in Github and the proposed solution might be more interesting:
https://github.com/Alfresco/alfresco-transform-core/issues/482
Explore our Alfresco products with the links below. Use labels to filter content by product module.