Alfresco 6.2.0-ga : Unable to login

cancel
Showing results for 
Search instead for 
Did you mean: 
Aswani_Juvva
Active Member II

Alfresco 6.2.0-ga : Unable to login

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
abhinavmishra14
Advanced

Re: Alfresco 6.2.0-ga : Unable to login

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-C02, GAIQ)
Aswani_Juvva
Active Member II

Re: Alfresco 6.2.0-ga : Unable to login

Hi Abhinav,

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

docker start

memory status.PNG

docker ps -a 

containers list.PNG

sufo
Established Member II

Re: Alfresco 6.2.0-ga : Unable to login

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.

abhinavmishra14
Advanced

Re: Alfresco 6.2.0-ga : Unable to login


@Aswani_Juvva wrote:

Hi Abhinav,

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

docker start

memory status.PNG

docker ps -a 

containers list.PNG


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. 

docker ps.PNG

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-C02, GAIQ)
Aswani_Juvva
Active Member II

Re: Alfresco 6.2.0-ga : Unable to login

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
Active Member II

Re: Alfresco 6.2.0-ga : Unable to login

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.alfresco-web -wov.PNG


@Aswani_Juvva wrote:

Hi Abhinav,

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

docker start

memory status.PNG

docker ps -a 

containers list.PNG


 

arjunmony
Established Member

Re: Alfresco 6.2.0-ga : Unable to login

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
Established Member II

Re: Alfresco 6.2.0-ga : Unable to login

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}}"
Aswani_Juvva
Active Member II

Re: Alfresco 6.2.0-ga : Unable to login

Hi @sufo , please find below info.

I have tried to install alfresco in Ubuntu OS.

docker pa -a

containers list.PNG

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