cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 6.2.0-ga : Unable to login

Aswani_Juvva
Confirmed Champ
Confirmed Champ

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

Your authentication details haven't been recognized or Alfresco Content Services may not be available at this time.
 
Getting 404 Not found when hitting  http://x.x.12.45:7080/alfreso/
 
In docker containers the alfresco/alfresco-search-services was exited 
 
in Logs I got below information
 
solr6_1 | sed: couldn't open temporary file /opt/alfresco-search-services/sedUggaDB: Permission denied alfresco_solr6_1 exited with code 4
 
Does anyone know what might be going wrong?
 
12 REPLIES 12

abhinavmishra14
World-Class Innovator
World-Class Innovator

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

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

Hi Abhinav,

Thanks for your response, please see the below details of containers and memory status. 

docker start

image

docker ps -a 

image

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

image

docker ps -a 

image


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. 

image

Try fresh, remove all containers and images (with the version used) and then try starting the containers and see what you get.

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

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. 


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

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

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


@Aswani_Juvva wrote:

Hi Abhinav,

Thanks for your response, please see the below details of containers and memory status. 

docker start

image

docker ps -a 

image


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.

sufo
Star Contributor
Star Contributor

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}}"