This is a problem cause by a design decision of Docker that initializes 
volumes in different ways depending on the type of volume: 
https://gitlab.com/mayan-edms/mayan-edms-docker/issues/6#note_22653707

Until Docker fixes this use only named volumes when deploying the Mayan 
Docker image.

On Friday, August 11, 2017 at 1:47:51 AM UTC-4, Tony Nys wrote:
>
> as I see, the mounted docker folder eg. mayan_data, needs a subfolder 
> "settings".
> Mayan will check if a local.py file exist , and if not do an initial 
> installation and create a local.py file in that folder
>
> But when I start mayan the 2nd time, so the file exists, it gives the error
>
> mayan.settings <208> [ERROR] "<module>() Error importing user's local.py; 
> No module named media.settings.local"
>
> so my local.py is in  /Users/tony/mayan_data/settings
>
> Starting docker:
>
> docker run --name mayanedmspostgresql  -p 80:80 -v 
> /Users/tony/mayan_data/:/var/lib/mayan mayanedms/mayanedms
>
>
>
>

-- 

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