02-25-2021 09:34 PM
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
02-25-2021 11:58 PM
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
02-27-2021 08:45 PM
Hi Abhinav,
Thanks for your response, please see the below details of containers and memory status.
docker start
docker ps -a
02-28-2021 06:30 PM
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.
03-01-2021 10:57 AM
@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.
03-01-2021 11:51 PM
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.
03-03-2021 09:44 AM
@Aswani_Juvva wrote:
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.
Possibly you are not starting the docker engine as previleged user who can perform operations like "sed" which may be happening while containers are being started. Follow this documentation for more details on setup: https://docs.docker.com/engine/install/linux-postinstall/
Try starting the docker engine with sudo and see if it works.
03-01-2021 11:58 PM
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
03-02-2021 12:01 PM
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.
03-03-2021 05:41 AM
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}}"
Explore our Alfresco products with the links below. Use labels to filter content by product module.