Hi guys..
I am new working with Alfresco.. At first I had issue with the installation of the Alfresco 5.2 development environment. This was overcome thanks to the help of some boys.
Now I am working with Alfresco 6.2 and I need to install my development environment. This version is based on docker and docker compose. I have install, docker, docker-compose, Java 11.0.7, Apache Maven 3.6.3, Eclipse. I am use Ubuntu 20.04.
I followed these steps
I stayed in step 7. So far so good.
Then I ran this command ./run.sh build_start
I'm in that step.
My question is. Should I follow the same steps as I did when I imported it with Alfresco 5.2? I am reading this but it says I have to install mysql or postgres. https://hub.alfresco.com/t5/alfresco-content-services-hub/alfresco-sdk-4-0/ba-p/289257
Do you have anything that can help me?
Thank you..
Solved! Go to Solution.
Either should work, The reason why you got expired message because you are using enterprise verison "https://docs.alfresco.com/6.0/tasks/deploy-docker-compose.html", You have to apply the license if you use enterprise version. You might have installed enterprise version earlier.
Else use this one instead: https://github.com/Alfresco/acs-community-deployment
git clone https://github.com/Alfresco/acs-community-deployment.git cd acs-community-deployment
use master branch. other steps should be same.
Base project generated via SDK4.1 should work as well. That's the right way to develop your custom extensions and test.
Hi @viperboys
There is also an equivalent page in the Community Edition documentation that you can use: https://docs.alfresco.com/community/tasks/deploy-docker-compose.html. This page shows you how to deploy the last release of Alfresco Community Edition (using a tagged release branch). I'd welcome any feedback on this content.
Now work fine.. I am happy!
Only one thing, I understand Alfresco 6.x is based on Docker and containers. How did I configure Eclipse with the Alfresco code to make my own customizations?
You don't need to install anything manually except docker for desktop, java and maven. Java, maven and docker are basic requirements to start with SDK4.1 and ACS 6.x
In your base project which you generated, you can find a sub-project/sub-directory named as "docker". You will find a docker-compose.yml file, it has everything basic configuration to startup acs, share, search and db etc.
run.sh/run.bat build_start should launch all the containers.
This post may be helpful as well:
https://hub.alfresco.com/t5/alfresco-content-services-forum/no-plugin-found-for-prefix-alfresco-in-t...
you can also refer this post
above post talks about setting up everything step by step, it has steps to use VSCode instead of Eclipse but you can always use eclipse. First post link to setup eclipse
Thank you forr you helping..
I have this issue when I run this command "Docker-compose up" with the file docker-compose.yml
ERROR: Invalid interpolation format for "ports" option in service "project.sdk4-share": "${share.port}:8080"
sudo docker -v
Docker version 19.03.12, build 48a66213fe
sudo docker-compose -v
docker-compose version 1.26.2, build eefe0d31
I try to google but can't find anything like it.
Thank you very much
I have not see this error before, are you manually using "Docker-compose up" with the file docker-compose.yml ? If yes, then i would say not to do that.
you should always use run.bat/run.sh file to launch containers for sdk4.1 generated projects.
There are certain steps that run.bat/run.sh script's build_start function does, which includes building (maven clean and package steps) the project and starting.
After you run run.bat/run.sh build_start, notice a target directory under your project. You would see the docker-compose.yml file (under target\classes\docker folder) with all updated values including the ports. Port values are configured in project's parent pom.xml file.
After build ports will change from ""${share.port}:8080"" to ""8180:8080"".
Now work fine.. When I open Alfresco in my browser this appears to me.
I should open to see "share" and log in.
What I can be doing wrong?
Looking at your screenshot, looks like there is some problem during startup. Check the logs and see if anything failed.
Alfresco can be accessed at: localhost:8080/alfresco
Share can be accessed at: localhost:8180/share
I share this video with you
https://www.loom.com/share/5b07afe023374be182814f5f7b2183bd
There you can find the log.
I hope that you can help me.. Thank you
As mentioned earlier, share the error log. Seems ACS container did not start or terminated abruptly after startup.
Run following command and see if all the containers are running:
docker ps
It is likely a memory issue with acs.
Run this command to see allocated resources:
docker stats
Please share full startup log text here to better understand error. Actual reason for failure would be somewhere in the middle of startup log.
Good morning.. Thank you very much for you helping
I changed computers. This one has 16 GB. I think it is enough to run all these applications. ON this new computer I have the same problem. I share what you request.
sudo docker stats
Java Version
edgar@edgar:~/Descargas/proyecto.appropia$ sudo javac -version
javac 11.0.7
edgar@edgar:~/Descargas/proyecto.appropia$ sudo java -version
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode)
Docker Version
edgar@edgar:~/Descargas/proyecto.appropia$ sudo docker -v
Docker version 19.03.12, build 48a66213fe
edgar@edgar:~/Descargas/proyecto.appropia$ sudo docker-compose -v
docker-compose version 1.26.0, build d4451659
Maven version
edgar@edgar:~/Descargas/proyecto.appropia$ mvn -version
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 11.0.7, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: es_VE, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-26-generic", arch: "amd64", family: "unix"
LOG
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.