Thank you. Changing plugins = python to plugins = python3 seemed to remove that error but now I am seem to be getting no error but nginx is saying bad gateway (502 error).
Here is the startup messages in full: webquest@wagtail1:~/vassals$ uwsgi --emperor ~/vassals/ *** Starting uWSGI 2.0.15-debian (64bit) on [Wed Mar 11 22:57:24 2020] *** compiled with version: 7.3.0 on 28 September 2018 15:41:15 os: Linux-4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 nodename: wagtail1 machine: x86_64 clock source: unix pcre jit disabled detected number of CPU cores: 1 current working directory: /home/webquest/vassals detected binary path: /usr/bin/uwsgi-core dropping root privileges as early as possible *** WARNING: you are running uWSGI without its master process manager *** your processes number limit is 7870 your memory page size is 4096 bytes detected max file descriptor number: 1024 *** starting uWSGI Emperor *** *** has_emperor mode detected (fd: 6) *** [uWSGI] getting INI configuration from online.webquest.co.nz.ini *** Starting uWSGI 2.0.15-debian (64bit) on [Wed Mar 11 22:57:24 2020] *** compiled with version: 7.3.0 on 28 September 2018 15:41:15 os: Linux-4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 nodename: wagtail1 machine: x86_64 clock source: unix pcre jit disabled detected number of CPU cores: 1 current working directory: /home/webquest/vassals detected binary path: /usr/bin/uwsgi-core dropping root privileges as early as possible chdir() to /home/webquest/html/online.webquest.co.nz your processes number limit is 7870 your memory page size is 4096 bytes detected max file descriptor number: 1024 lock engine: pthread robust mutexes thunder lock: disabled (you can enable it with --thunder-lock) uwsgi socket 0 bound to UNIX address /tmp/online.webquest.co.nz.sock fd 3 dropping root privileges after socket binding Python version: 3.6.8 (default, Oct 7 2019, 12:59:55) [GCC 8.3.0] Set PythonHome to /home/webquest/venvs/bakerydemo/ *** Python threads support is disabled. You can enable it with -- enable-threads *** Python main interpreter initialized at 0x557ad9e06660 dropping root privileges after plugin initialization your server socket listen backlog is limited to 100 connections your mercy for graceful operations on workers is 60 seconds mapped 145536 bytes (142 KB) for 1 cores *** Operational MODE: single process *** WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x557ad9e06660 pid: 22900 (default app) dropping root privileges after application loading *** uWSGI is running in multiple interpreter mode *** spawned uWSGI master process (pid: 22900) Wed Mar 11 22:57:25 2020 - [emperor] vassal online.webquest.co.nz.ini has been spawned spawned uWSGI worker 1 (pid: 22902, cores: 1) Wed Mar 11 22:57:25 2020 - [emperor] vassal online.webquest.co.nz.ini is ready to accept requests my ~/vassals/online.webquest.co.nz.ini file is now the following: [uwsgi] chdir = /home/webquest/html/online.webquest.co.nz uid = webquest gid = webquest socket = /tmp/%n.sock processes = 1 master = 1 module = bakerydemo.wsgi:application plugins = python3 env = DJANGO_SETTINGS_MODULE=bakerydemo.settings.base # Use home directive to specify virutalenv path #pythonpath = /home/webquest/venvs/bakerydemo/lib/python3.6/ virtualenv = /home/webquest/venvs/bakerydemo/ I am actually if it's not loading the wsgi app correctly but that's just a wild guess and I don't know how to turn on increased debug logging capability. Any ideas on what I should look at next? Thanks On Wed, 2020-03-11 at 23:44 +0100, J. Pic wrote: > Look at what you have in /usr/lib/uwsgi/plugins/python* > On some platforms, you want to load the python2 or python3 module, > not simple python. > If nothing is in /usr/lib/uwsgi/plugins/python* then you should > install another package containing the python module. > _______________________________________________ > uWSGI mailing list > uWSGI@lists.unbit.it > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi _______________________________________________ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi