On 6/14/22 10:19, robert.winkler@bioprocess.org wrote:
Hi, I just installed mailman3-web on my Ubuntu 20.04 LTS web server.
By Mailman3-web, I assume you mean the Debian/Ubuntu package. If so, your primary support resources are Ubuntu and Debian.
Port 8001 is open, the service is running:
root@localhost:/etc/mailman3# systemctl status mailman3-web.service ● mailman3-web.service - Mailman3-web uWSGI service Loaded: loaded (/lib/systemd/system/mailman3-web.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2022-06-14 17:05:06 UTC; 47s ago Docs: file:///usr/share/doc/mailman3-web/README.rst Main PID: 30135 (uwsgi) Status: "uWSGI is ready" Tasks: 10 (limit: 2306) Memory: 147.7M CGroup: /system.slice/mailman3-web.service ├─30135 /usr/bin/uwsgi --plugin python3 --ini /etc/mailman3/uwsgi.ini ├─30152 /usr/bin/uwsgi --plugin python3 --ini /etc/mailman3/uwsgi.ini ├─30153 /bin/sh -c python3 manage.py qcluster ├─30155 python3 manage.py qcluster ├─30158 python3 manage.py qcluster ├─30159 python3 manage.py qcluster ├─30160 python3 manage.py qcluster ├─30161 python3 manage.py qcluster └─30162 python3 manage.py qcluster
Jun 14 17:05:05 localhost systemd[1]: Starting Mailman3-web uWSGI service... Jun 14 17:05:05 localhost uwsgi[30135]: [uWSGI] getting INI configuration from /etc/mailman3/uwsgi.ini Jun 14 17:05:06 localhost systemd[1]: Started Mailman3-web uWSGI service.
in /etc/mailman3/mailman-web.py I changed localhost for my domain:port:
MAILMAN_REST_API_URL = 'http://meteomex.com:8001' POSTORIUS_TEMPLATE_BASE_URL = 'http://meteomex.com:8001/mailman3/
and restarted the service.
on the server side, it looks fine, the mailman3 DB in postgresql exists.
However, I cannot access the web interface, trying, e.g. http://meteomex.com:8001/mailman3/ 'http://meteomex.com/mailman3 'http://meteomex.com:8001
anything I am missing? E.g. concerning the Apache config?
You should not be accessing port 8001 directly. Mailman core's REST API listens on port 8001 and Postorius is the one that accesses that API.
uWSGI normally listens on port 8000 and Apache proxies to uWSGI on that port. What happens when you go to http://meteomex.com/mailman3?
In order to say more, we would probably need to see your uWSGI configuration and the relevant parts of your Apache configuration
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan