06-27-2023 12:41 PM
Good day Folks,
Please how do I navigate to the alf_data folder in Alfresco Community 7.4 edition installed with Docker and Docker-compose.
I have checked locally on my system and I cannot find it unlike the older versions e.g 5.2d, so how do I go about this?
I look forward to your kind response.
regards,
Ejike
06-28-2023 03:41 PM
Your docker deployment must have persistant volumes. The volume for alf_data must be maped from local path to /usr/local/tomcat/alf_data path in the repo container.
If you do not have persistant volume all data are stored inside the container and will be lost with container removing.
p.s. the same thin about database and solr indexes.
Good luck, Serge F.
06-29-2023 05:10 PM
Good day Fedorow,
I would please like to understand what you mean by consistent volumes.
Do you mean consistent data and upload of electronic documents while ensuring that the docker container and docker compose is never shut down?
This is the capture from my "cmd" console in windows:
This message is shown once a day. To disable it please create the
/home/ejike/.hushlogin file.
ejike@EJIKE-PC:~$ ls
acs-deployment docker-compose
ejike@EJIKE-PC:~$ cd acs-deployment/
ejike@EJIKE-PC:~/acs-deployment$ cd docker-compose/
ejike@EJIKE-PC:~/acs-deployment/docker-compose$ ls
7.0.N-docker-compose.yml 7.2.N-docker-compose.yml 7.4.N-docker-compose.yml community-docker-compose.yml elasticsearch-override-docker-compose.yml
7.1.N-docker-compose.yml 7.3.N-docker-compose.yml README.md docker-compose.yml
ejike@EJIKE-PC:~/acs-deployment/docker-compose$
How do I navigate to alf_data from here please?
Kind regards,
Ejike
07-10-2023 04:45 AM
I'm talking about Persistent volumes.
If you are clone https://github.com/Alfresco/acs-deployment/ and start some of that YAML files, then you do not have persistant volumes att all and your data are ephemeral, as the conteiners are. In other words there is no alf_data folder in your local file structure.
You can look inside /usr/local/tomcat/alf_data of alfresco container by command:
docker compose exec -i alfresco ls -l /usr/local/tomcat/alf_data
Explore our Alfresco products with the links below. Use labels to filter content by product module.