cancel
Showing results for 
Search instead for 
Did you mean: 

I'm having issue setting up my development environment for Alfresco 6.2

viperboys
Star Contributor
Star Contributor

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

https://hub.alfresco.com/t5/alfresco-content-services-forum/problem-when-creating-an-all-in-one-proj...

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.. 

3 ACCEPTED ANSWERS

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.

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View answer in original post

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.

Technical Writer in Alfresco User Assistance Team
Problem solved? Click Accept as Solution!

View answer in original post

Hi @abhinavmishra14 

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?

View answer in original post

16 REPLIES 16

EddieMay
World-Class Innovator
World-Class Innovator

Hi @viperboys,

The first line in the log "AbstractTracker Tracking failed for ModelTracker" suggests there might be a problem with Solr index & the repository. Try to perform a solr reindex.

If that doesn't fix the issue, make sure you have the right client certificates in SOLR. Take a look at https://github.com/Alfresco/alfresco-ssl-generator.

HTH

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

Ey @EddieMay and @abhinavmishra14 

Now work finee,  I followed these steps and they worked perfectly.

https://docs.alfresco.com/6.0/tasks/deploy-docker-compose.html

For some reason the other one that I download through MAVEN doesn't work for me ..

The bad thing is that this that I download says that it expires in 2 days hahaha

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.

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

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.

Technical Writer in Alfresco User Assistance Team
Problem solved? Click Accept as Solution!

Hi @adelaidenx 

Thank you very much for your advice. I already managed to configure my development environment. What I'm looking for is the documentation to open the code with Eclipse and do any custom development.

Glad it worked. Marking it closed if it's okay for you.


Since you were able to setup, and I hope you are now little bit familiar to docker and stuffs. I would suggest you to checkout "alfresco-developer-series" project for reference and follow along this tutorial

Follow the tutorial exactly in the order it is provided. 

Once you understand concepts you can start working on your custom extensions and do customizations based on requirements

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

Hi @abhinavmishra14 

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?