MoinMoin/Errors
2020 in /var/log/uwsgi/app/app.log "MemoryError" - and restart.
Add to /etc/uwsgi/default.conf
max-requests = 1000
- this causes uwsgi restart and cleanup after 1000 requests served.
2019 after upgrade to Ubuntu 18.04.1 nginx -> uwsgi -> moinmoin not loading 502 timeout from nginx
1st error
cant read /usr/share/moin/server/moin.wsgi
- Cause python-moinmoin un-installed during upgrade, add back with apt
- 2nd error uwsgi startup error in log
Again 2020-12
Traceback (most recent call last): File "/usr/share/moin/server/moin.wsgi", line 42, in <module> from MoinMoin.web.serving import make_application ImportError: No module named MoinMoin.web.serving
- The newly installed usr/share/moin/server/moin.wsgi did not have the python path to find the moin modules.
Add line to file
sys.path.insert(0, '/usr/lib/python2.7/dist-packages')