Differences between revisions 3 and 4
Revision 3 as of 2020-10-16 01:01:21
Size: 947
Editor: PieterSmit
Comment:
Revision 4 as of 2020-12-01 03:56:45
Size: 1001
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
   * 2nd error uwsgi startup error in log {{{    * 2nd error uwsgi startup error in log
     * Again 2020-12
{{{
Line 20: Line 21:
     * The newly installed moin.wsgi did not have the python path to find the moin modules. Add line to file {{{      * The newly installed usr/share/moin/server/moin.wsgi did not have the python path to find the moin modules.
       *
Add line to file {{{

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

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