Differences between revisions 2 and 3
Revision 2 as of 2020-10-16 01:00:29
Size: 941
Editor: PieterSmit
Comment:
Revision 3 as of 2020-10-16 01:01:21
Size: 947
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * 2020 in /var/log/uwsgi/app.log MemoryError - and restart.  * 2020 in /var/log/uwsgi/app/app.log "MemoryError" - and restart.

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

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

MoinMoin/Errors (last edited 2023-12-20 07:24:33 by SharronPro)