On Saturday, August 19, 2017 at 4:38:22 AM UTC-5, Robert Metzger wrote:
>
>
>
> Both /var/lib/docker/volumes/mayan_data/_data and 
> /media/Store/data/mayan/data are empty.
>
> Where is Mayan storing its data?
>


I would look for trouble in the "/media/Storage/data..." line which does 
not correspond to the volume definition from the Dockerfile:

cat Dockerfile |grep var/lib/mayan 
RUN ln -s $MAYAN_MEDIA /var/lib/mayan 
RUN chown www-data:www-data /var/lib/mayan 
VOLUME ["/var/lib/mayan"]

So in essense, one should do "-v mayan_data:/var/lib/mayan" to define the 
named volume.

The fully blown installation with all the bells and whisles like 
(postgresql, RabbitMQ, etc) can be obtained with "docker-compose" comand:
So first do the folowing:

git clone https://gitlab.com/mayan-edms/mayan-edms-docker.git

cd mayan-edms-docker
nano docker-compose.yml

make sure theres is a line:
 image: mayanedms/mayanedms:2.6.4-4

that way you will get the most recent version of mayan-edms.

And fire up:
docker-compose up -d


Inspect created volumes:
docker volume ls 
DRIVER              VOLUME NAME 
local               mayanedmsdocker_app 
local               mayanedmsdocker_broker 
local               mayanedmsdocker_db 
local               mayanedmsdocker_results

Regards
Lin Pro

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to