I have just migrated from a mailman 3.2.2 Debian package installation to a mailman 3.3.8 source install (in a Python virtual environment as mailman user) on an Ubuntu 20.04.6 LTS system.
I am not very familiar with the Python environment and this is my first experience administering mailman.
Something is broken in the Nginx/wsgi/Django path as I can't serve up any web pages. Depending on how I alter my .conf files I either get a "502 Bad Gateway" or "too many redirects". Thing were working before I did the migration.
There are several things that don't look right in my mailman-web.log file, as follows:
- !!! no internal routing support, rebuild with pcre support !!!
- failed to open python file wsgi.py
- unable to load app 0 (mountpoint='') (callable not found or import error)
- python3: can't open file 'manage.py': [Errno 2] No such file or directory
The last one looks the most concerning, and is looping.
Can anyone give me some guidance as to what I may have done wrong and which of these message are critical?
Here is my mailman-web.log:
*** Starting uWSGI 2.0.21 (64bit) on [Fri Jun 23 21:54:30 2023] *** compiled with version: 9.4.0 on 22 June 2023 20:37:17 os: Linux-5.4.0-152-generic #169-Ubuntu SMP Tue Jun 6 22:23:09 UTC 2023 nodename: speedy machine: x86_64 clock source: unix detected number of CPU cores: 8 current working directory: / detected binary path: /opt/mailman/venv/bin/uwsgi !!! no internal routing support, rebuild with pcre support !!! chdir() to /usr/share/mailman3-web your processes number limit is 257123 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 /run/mailman3-web/uwsgi.sock fd 3 Python version: 3.8.10 (default, May 26 2023, 14:05:08) [GCC 9.4.0] Python main interpreter initialized at 0x560f27eb0bb0 python threads support enabled your server socket listen backlog is limited to 100 connections your mercy for graceful operations on workers is 60 seconds mapped 166752 bytes (162 KB) for 2 cores *** Operational MODE: threaded *** failed to open python file wsgi.py unable to load app 0 (mountpoint='') (callable not found or import error) *** no app loaded. going in full dynamic mode *** *** uWSGI is running in multiple interpreter mode *** spawned uWSGI master process (pid: 161531) spawned uWSGI worker 1 (pid: 161536, cores: 2) [uwsgi-daemons] spawning "python3 manage.py qcluster" (uid: 2005 gid: 2005) python3: can't open file 'manage.py': [Errno 2] No such file or directory [uwsgi-daemons] throttling "python3 manage.py qcluster" for 1 seconds [uwsgi-daemons] respawning "python3 manage.py qcluster" (uid: 2005 gid: 2005) python3: can't open file 'manage.py': [Errno 2] No such file or directory