I did but it fails because /tmp/mayan_locks.tmp is still owned by root. I'm 
not sure which part of the application generates it. The only workaround I 
found is to create /tmp/mayan_locks.tmp ahead of time and chown 
www-data:www-data ahead of time. I'll open an issue on GitLab.

On Thursday, 31 August 2017 16:43:44 UTC-4, Roberto Rosario wrote:
>
> You are correct. It is an error in the documentation. Under the Docker 
> image everything runs as root to be able to access staging and watch folder 
> files (due to user ownership issues with Docker). For advanced deployments 
> where users have more control makes sense to have everything running under 
> a non privileged user like www-data. Try running the uwsgi process as that 
> user. 
>
> On Thursday, August 31, 2017 at 9:43:07 AM UTC-4, Hans Fritz wrote:
>>
>> No this is still a problem after all. The lockfile is created by root and 
>> is not readable to www-data. I'm guessing program:mayan-uwsgi creates it 
>> (runs as root) and the worker + beat try to write to it but can't.
>>
>

-- 

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