What are the docker alfresco-content-repository root credentials for changing alfresco-global.properties
You can SSH into the container without password via docker commands.
#Get container name or short container id:
- docker ps
#SSH into the container using container name or container id
- docker exec -t -i docker_acs6-aio-demo-project-acs_1 /bin/bash
here, docker_acs6-aio-demo-project-acs_1 is the container in my case
You will be logged in as root user by default. You can execute all Linux commands.
- Open the /usr/local/tomcat/shared/classes/alfresco-global.properties in Vi editor and add/update as needed.
- Additionally you can use any other user as well if you have any, this command allows a particular user:
- docker exec -t -i -user alfadmin docker_acs6-aio-demo-project-acs_1 /bin/bash
If you want to change the password to something you know, then you can do it after you login using above commands.
- Execute 'passwd' command to change the password.
Thank but afert:
Results alfresco-global.properties readonly.
Thank but afert:
Results alfresco-global.properties readonly.
Can you check if you are getting in as root user ? Check for file permissions. It should be root user. sudo option is not available, so you might have to install it if logging in using a different user.
Additionally, you can force the login using root user by using this command:
docker exec -t -i --user root docker_acs6-aio-demo-project-acs_1 /bin/bash
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.