After installing Alfresco docker-compose based on this procedure “https://github.com/Alfresco/acs-community-deployment/blob/master/docs/docker-compose-deployment.md”, I saw that the file had no volumes and the focus of this docker-compose was for testing and validation, however I intend to put it into production, so after a long and tiring research I found this method “https://github.com/Alfresco/alfresco-docker-installer”, which presented some problems in postgres, which for some reason did not have read permission on the “/ var / log / postgresql /” partition in the image itself, however managed to adjust this.
After installing Alfresco version 6.2, I tried to create a user, I searched the Wiki (https://docs.alfresco.com/6.2/concepts/alfresco-tutorial-21.html) how to do this procedure but it is always done for version 5. X in an interface of admission that does not have mine, in that I tried to know how to put that interface. And it seems that you have to install it, again it was the Wiki, this time I didn't find anything that could help me install it in Alfresco Community Docker Compose.
And with that I come here to ask for help from the community, to know how I create a user and install the share admin tools in Alfresco Community Docker Compose.
Are you running on Windows? If so, on the alfresco-docker-installer there is the option to select Windows Host, which should take care of the vomunes permissions.
To create users in Alfreco Community, use the "admin tools" menu and then "Users and groups"
However there is a bug in v6.2 and you must do the following (for Linux) :
Connect via SSH to your server and use the terminal to enter these commands :
sudo cp /opt/alfresco/apache-tomcat/webapps/share/WEB-INF/classes/alfresco/share-config.xml ./ sudo chmod 755 share-config.xml nano share-config.xml ▪ search : [CTRL]-[W] show-auth ▪ replace : <show-authorization-status>true</show-authorization-status> ▪ with : <show-authorization-status>false</show-authorization-status> ▪ save : |CTRL]-[X] Y sudo cp share-config.xml /opt/alfresco/apache-tomcat/webapps/share/WEB-INF/classes/alfresco/ sudo /opt/alfresco/ctlscript.sh restart
Hello @EddieMay , thanks for the reply, I apologize for the lack of data, I ended up forgetting to put such information regarding the system.
I am performing the installation on a CentOS Linux release 7.8.2003, with 8 GB of RAM and 2 Cores.
The version of my Docker is 19.03.9, build 9d988398e7 and my Docker Compose is in version 1.25.5, build 8a1c60f6.
Regarding the permission problem, inside the docker-compose.yml I added the following line:
command: bash -c "chown -R postgres: postgres /var/log/postgresql/"
before calling the volume.
After releasing “docker-compose up -d” with this command I hope to finish the service is ready, execute “docker-compose down” and comment out the command in the docker-compose.yml file.
So the error disappears and Alfresco Community Edition in Docker Compose works normally.
However, I do not find within the "http://<my_host>/share" the option to create a user, as I found in the evaluation docker-compose.yml on the download page.
Hi @opsys , thanks for the reply.
How can I do this procedure through docker-compose? I even accessed the service that is responsible for tomcat (docker-compose-6-2-hub_alfresco), but I did not find this file.
I will attach two images that show how the interface is normally accessed and that I believed would be responsible for creating the users.
If I am looking, accessing the wrong page or missing another extra step that is not found in the procedure mentioned in the topic, please inform me, I believe that this is only missing so you can forward it to my client.
The video that you mentioned in your first post is still aplicable with version 6.2 for creating users.
After a fresh install the users can be created but they don't show up and thus cannot be modified. You must correct the bug as explained in my reply.
Maybe you just deployed Alfresco Content and not Alfresco Share. I suggest to start again and use the Bitnami.com installer. It's automatic and easy.
Your first image is of the ACA not the usual Share UI. Is it possible you have the nginx config mappings incorrect.
Thanks for the answer, it really is strange because I did the procedure as described in git, I am very lost, very much, could you explain what version of UI this is?
And please, how do I install the tool for production correctly? Unfortunately when I enter the Alfresco website and try to download it there are 2 methods, Docker, which is for evaluation, testing and the manual, that the documentation is not being very clear to me this installation method.
I don't want to be rude, but I am a beginner with regards to the versions and installations of Alfresco Community Edition, so if possible I could be more detailed with regard to installation and the procedures I should follow, as I created this topic to find a solution to my problem, however, if the problem is with the installation that I did, I would like guidance regarding this, I have been trying to install this tool for a long time and I am not having so much evolution. Alfresco's documentation makes me very confused, what I just wanted to do was install the tool for production.
Thanks for the tip, I'll take a look at this installation method.
I will use this documentation https://docs.bitnami.com/installer/apps/alfresco/get-started/first-steps/, to do the installation.
And could you give me feedback regarding this installation method, if it is very easy to do maintenance, if the system is very stable, it is possible using this documentation mentioned above to put it into production, your experience in general so that I can evaluate and prepare if I use such a procedure.