Mayan EDMS is a Free Open Source Electronic Document Management System, coded in the Python language using the Django web application framework and released under the Apache 2.0 License. It provides an electronic vault or repository for electronic documents.
The upstream link is https://www.mayan-edms.com/
I have started to package this and it it working but the initial start script just not executing during install. If you run the /app/pkg/start.sh it will work fine.
I have been working on and off with this for a while but could use some help in getting the last bit over the line because it is driving me nuts.
Repo is here
Any help appreciated.
I am seeing errors as supervisord tries to write logs to the read only folder /var/logs what is the best thing todo? Any suggestions?
There are two settings to be done for supervisor to work well with regards to logging. The actual service file for an application should have those options set:
stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0
As well as in the
Dockerfileadding the following line will ensure supervisor itself writes to a writeable location:
RUN sed -e 's,^logfile=.*$,logfile=/run/supervisord.log,' -i /etc/supervisor/supervisord.conf
Thanks @nebulon I think that was the last piece of the puzzle!
ultraviolet last edited by ultraviolet
This is working and now needs some people to test installs etc. it is still rough around the edges, needs ldap and mail etc. but I will get this sorted over the coming days.
I should mention the initial install takes around 10 mins as there is a lot of database migrations and django stuff to get though.
I've just tried it and it seems to work very well so far!
scooke last edited by
I'll try it out. What is the link please?