Finding alf_data folder in Alfresco community 7.4 installed with Docker

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

Finding alf_data folder in Alfresco community 7.4 installed with Docker

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.

@angelborroy @fedorow 

regards,

Ejike

3 Replies
fedorow
Senior Member II

Re: Finding alf_data folder in Alfresco community 7.4 installed with Docker

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.

ejike
Active Member II

Re: Finding alf_data folder in Alfresco community 7.4 installed with Docker

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

fedorow
Senior Member II

Re: Finding alf_data folder in Alfresco community 7.4 installed with Docker

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