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!
Solved! Go to Solution.
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.
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:
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!
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
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...
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.
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.
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!
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
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.