Hi Everyone,
I have installed alfresco 6.2.0-ga version on docker with custom ports configuration and custom database for alfresco.
These are my configuration file, supposed to be working and also I have attached the full logs in (https://github.com/Aswani-Juvva/dokcer-alfresco).
Getting below error while login into http://x.x.12.45:7080/share/page
At a high level docker compose looks good:
https://github.com/Aswani-Juvva/dokcer-alfresco/blob/main/docker-compose.yml
Most likely that some of the services got terminated due to any error or memory
coule you please execute following commands after starting all the containers and share the details:
Check status of containers:
docker ps -a
check memory status:
docker stats
Also seems like you have some permission issues with solr:
sed: couldn't open temporary file /opt/alfresco-search-services/sedUggaDB: Permission denied
I would recommend you to compare below docker compose file or clone the project and try running containers from it
https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/docker-compose.yml
Hi Abhinav,
Thanks for your response, please see the below details of containers and memory status.
docker start
docker ps -a
You have to sort out permission issues first. Also ActiveMQ is complaining about permissions. Second problem I see in the log is that Tomcat didn't even start to deploy Alfresco application. Look for the string "Deploying web application directory" and you will find it only for Share.
If you want us to help, you have to share correct compose file with us. Your screenshots are with transform-core-aio and compose file doesn't contain it.
@Aswani_Juvva wrote:
Hi Abhinav,
Thanks for your response, please see the below details of containers and memory status.
docker start
docker ps -a
As per 'screenshot' , seems your solr container getting exited and above given permission error could be the reason behind that. Its not quite clear why would you get the permission error on the solr container as you are not building the solr container and using the base version as is. Also, as mentioned in the above reply, you seem to have shared a different docker-compose file than what your screenshots lists. so please share correct one.
Not sure if this could be related but, Your docker-compose has marked the volumes as external
https://github.com/Aswani-Juvva/dokcer-alfresco/blob/main/docker-compose.yml#L165
Did you create the volumes before executing docker-compose up command?
If you are not sharing the volumes within containers, try removing the "external:true" as it doesn't make sense. Per your docker-compose you are not sharing the voluems. Let the docker engine take care of it by either removing "extenal:true" or set "external:false".
See here for reference: https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/docker-compose.yml#L153
Meanwhile, i tried your docker-compose and pointed the acs container to an external db, created the volumes before starting the containers and i was able to get all containers up and running. see screenshot below.
Try fresh, remove all containers and images (with the version used) and then try starting the containers and see what you get.
Hi @abhinavmishra14 ,
I have provided the updated docker-compose.yml and corresponding config files along with logs in https://github.com/Aswani-Juvva/dokcer-alfresco . I have removed the docker containers with docker-compose down and created the volumes before docker-compose up. Still facing the same issue.
Hi,
With same configuration, few days Alrefsco was up and ran successfully for few days but recently when I try to login getting the below screen and after that I have removed the containers and did docker-compose up --build then I have abserved that afresco-search service is exited and getting issue with permissions.
@Aswani_Juvva wrote:Hi Abhinav,
Thanks for your response, please see the below details of containers and memory status.
docker start
docker ps -a
Hello,
If you are still having problems, will you able to try a newer stable version of docker with increased resources?
Most of this memory issues fixed after trying with version 3.0.4 tag or higher.
Checking the logs, you still have permission issues. You have to solve this first.
On what operating system are you running Docker?
Please provide the output of these two commands:
docker ps -a docker volume ls --format "{{.Name}} {{.Driver}} {{.Scope}} {{.Mountpoint}} {{.Labels}}"
Hi @sufo , please find below info.
I have tried to install alfresco in Ubuntu OS.
docker pa -a
docker volume ls --format "{{.Name}} {{.Driver}} {{.Scope}} {{.Mountpoint}} {{.Labels}}"
here we can find the volumes list: https://github.com/Aswani-Juvva/dokcer-alfresco/blob/main/volumesList
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.