Am 2026-08-09 18:24, schrieb Washington Odhiambo:
On Sun, Aug 9, 2026 at 7:09 PM Torsten <torsten@bbadmin.de> wrote:
Am 2026-08-09 17:48, schrieb Mark Sapiro:
On 8/9/26 00:30, Torsten wrote:
the traceback is this:
Traceback (most recent call last): File
"/opt/mailman/web/venv/lib/python3.13/site-packages/django/core/handlers/wsgi.py",
line 124, in __call__ response = self.get_response(request) File
"/opt/mailman/web/venv/lib/python3.13/site-packages/django/core/handlers/base.py",
line 139, in get_response set_urlconf(settings.ROOT_URLCONF) ^^^^^^^^^^^^^^^^^^^^^ File
"/opt/mailman/web/venv/lib/python3.13/site-packages/django/conf/__init__.py",
line 104, in __getattr__ val = getattr(_wrapped, name) > Where should mailman_web.urls be located, also in /etc/mailman3 or rather in the venv of mailman_web in /opt/mailman...?
How did you install Mailman? If you followed <https://docs.mailman3.org/en/latest/install/virtualenv.html>, you
should have /etc/mailmasn3/settings.py which is similar to
<https://docs.mailman3.org/en/latest/install/virtualenv.html#initial-configur...>.
In particular, it should have near the beginning
from mailman_web.settings.base import * from mailman_web.settings.mailman import *The import from mailman_web.settings.base defines
ROOT_URLCONF = 'mailman_web.urls'which points to mailman_web/urls.py in the venv's site-packages directory.
In fact, my settings.py does contain these import lines:
import os from mailman_web.settings.base import * from mailman_web.settings.mailman import *
BASE_DIR = ('/var/lib/mailman3/web')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SECRET_KEY = '<MYSECRETKEY>' DEBUG = False
#: Default list of admins who receive the emails from error logging. ADMINS = ( ('Mailman Suite Admin', 'torsten@bbadmin.de'),)
ALLOWED_HOSTS = ['localhost', '127.0.0.1',] INSTALLED_APPS = [ 'django_mailman3', 'postorius', 'hyperkitty', # Uncomment the next line to enable the admin: 'django.contrib.admin',
And I have the mailman_web/urls.py in the venv where mailman was installed.
Copy the settings.py from https://docs.mailman3.org/en/latest/install/virtualenv.html and customize it with your values at the right places.
Did that and changed a few value in that file. But after restarting the service(s) the error is still there.
--
Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]