When things don't work as they should.
2 posts • Page 1 of 1
create /etc/supervisor/conf.d/mayan.conf by hand and copy text from https://wiki.mayan-edms.com/index.php?t ... deployment. Then restart supervisor.
Try this form, seems not all Linux shells behave the same in regards to redirecting the sudo output:
Code: Select all
sudo sh -c "MAYAN_DATABASE_ENGINE=django.db.backends.postgresql MAYAN_DATABASE_NAME=mayan \ MAYAN_DATABASE_PASSWORD=mayanuserpass MAYAN_DATABASE_USER=mayan \ MAYAN_DATABASE_HOST=127.0.0.1 MAYAN_MEDIA_ROOT=/opt/mayan-edms/media \ /opt/mayan-edms/bin/mayan-edms.py platformtemplate supervisord > /etc/supervisor/conf.d/mayan.conf"