Now I wanted to start uwsgi, after having setup everything as documented but I got in the error log this:
ModuleNotFoundError: No module named 'allauth.account.middleware'
see below
cat /opt/mailman/web/logs/uwsgi-error.log
*** Starting uWSGI 2.0.22 (64bit) on [Thu Oct 19 19:25:37 2023] *** current working directory: /etc/mailman3 detected binary path: /opt/mailman/venv/bin/uwsgi !!! no internal routing support, rebuild with pcre support !!! ... uwsgi socket 0 bound to TCP address 0.0.0.0:8000 fd 8 Python version: 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] PEP 405 virtualenv detected: /opt/mailman/venv/ Set PythonHome to /opt/mailman/venv/ Python main interpreter initialized at 0x7fbaf9160018 python threads support enabled ... *** Operational MODE: preforking+threaded *** Traceback (most recent call last): File "/opt/mailman/venv/lib/python3.11/site-packages/mailman_web/wsgi.py", line 14, in <module> application = get_wsgi_application() ^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application return WSGIHandler() ^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/django/core/handlers/wsgi.py", line 125, in __init__ self.load_middleware() File "/opt/mailman/venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 40, in load_middleware middleware = import_string(middleware_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/django/utils/module_loading.py", line 30, in import_string return cached_import(module_path, class_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/django/utils/module_loading.py", line 15, in cached_import module = import_module(module_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'allauth.account.middleware' unable to load app 0 (mountpoint='') (callable not found or import error) *** no app loaded. going in full dynamic mode *** ... --- no python application found, check your startup logs for errors --- SIGINT/SIGTERM received...killing workers... [uwsgi-daemons] stopping daemon (pid: 364954): /opt/mailman/venv/bin/mailman-web qcluster 19:26:00 [Q] INFO Q Cluster kilo-april-failed-carbon stopping. 19:26:00 [Q] INFO Q Cluster kilo-april-failed-carbon has stopped. worker 1 buried after 1 seconds worker 2 buried after 1 seconds goodbye to uWSGI.