Am 2026-08-11 21:30, schrieb Mark Sapiro:
On 8/10/26 07:15, Torsten wrote:
mailman throws this one:
2026-08-10 16:11:20 [FALCON] [ERROR] GET /3.1/lists?advertised=true&count=0&page=1 => Traceback (most recent call last): File "/opt/mailman/venv/lib/python3.13/site-packages/falcon/app.py", line 476, in __call__ process_resource(req, resp, resource, params) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.13/site-packages/mailman/rest/wsgiapp.py", line 65, in process_resource raise HTTPUnauthorized( ~~~~~~~~~~~~~~~~^ '401 Unauthorized', ^^^^^^^^^^^^^^^^^^^ 'REST API authorization failed', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ challenges=[realm]) ^^^^^^^^^^^^^^^^^^^ TypeError: HTTPUnauthorized.__init__() takes 1 positional argument but 3 positional arguments (and 1 keyword-only argument) were given
This is from a Mailman core version < 3.3.10. It was fixed for Mailman
= 3.3.10 by <https://gitlab.com/mailman/mailman/-/merge_requests/1267>.
It appears that you don't have the latest Mailman core.
The question then would by why pip did not install mailman core 3.3.10 but 3.3.9
and mailman-web this one:
Which is a result of the one above.
I have taken the old database from the Debian configuration and moved it to /opt/mailman... where it should belong (I hope).
The database(s) should be in the location(s) pointed to by the [databases] section of mailman.cfg and the DATABASES attribute in settings.py. In an installation per https://docs.mailman3.org/en/latest/install/virtualenv.html these are postgresql databases accessed via the postgresql server.
My installation is rather small, therefore I am using SQLite here.