Hi,
That makes sense. Docker containers don't have access to the host files on 
purpose. You would need to mount the host watch folders you want to use as 
volumes. -> 
https://docs.docker.com/engine/tutorials/dockervolumes/#mount-a-host-directory-as-a-data-volume

Stop and remove the existing container, and add the following to the Docker 
run command:

To stop and remove:
docker stop mayan-edms
docker rm mayan-edms

The new fragment to add to the Docke run line:

-v /srv/samba/Acquisto:/srv/samba/Acquisto

Example: 

docker run -d --name mayan-edms --restart=always -p 80:80 -v 
mayan_media:/var/lib/mayan -v mayan_settings:/etc/mayan -v 
/srv/samba/Acquisto:/srv/samba/Acquisto mayanedms/mayanedms

The host folder /srv/samba/Acquisto should now be accessible from inside 
the container.

On Thursday, May 25, 2017 at 12:13:44 PM UTC-4, Fabrizio Musella wrote:
>
> Could it be that the path doesn't work because Mayan is located inside the 
> docker filesystem so it doesn't see the path on the host? In that case, 
> anyone knows how to give the correct path?
>
> Il giorno giovedì 18 maggio 2017 17:15:45 UTC+2, Fabrizio Musella ha 
> scritto:
>>
>>  Hi, I'm trying to set up Mayan EDMS for the first time and I'm having 
>> some troubles with enabling Watch/Staging Folders, whatever the path i 
>> give, Mayan always returns the error "No such file or directory".
>> I have followed the instruction for install Mayan EDMS on a Lubuntu 
>> machine using docker.
>> The folders that I'm trying to use as Watch Folders are also public 
>> folders shared with Samba among the network, I have attached my smb.conf in 
>> case it would be helpful.
>>
>> Is there something that I'm doing wrong or that I have misunderstood?
>>
>> Thanks in advance for all the help.
>>
>

-- 

--- 
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