Hi,
today I installed MM3 with Nginx on Debian 11 following the document with a bit of "Mailman 3 installation experience" thrown in (many thanks to the authors!) with some minor changes, i.e. no encryption, and "re_path" instead of "url".
I cannot get the web interface to run. "admin" is OK, but Postorius und Hyperkitty refuse to show up with
Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/mailman3/lists/
Using the URLconf defined in urls, Django tried these URL patterns, in this order:
^$ ^postorius/ ^hyperkitty/ ^user-profile/delete$ [name='mm_user_account_delete'] ^user-profile/$ [name='mm_user_profile'] ^accounts/ ^admin/
The current path, mailman3/lists/, didn’t match any of these.
You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.
The error logs are all OK, the GET requests are logged without any error.
My urls.py:
(venv) mailman@me:/opt/mailman/mm$ grep -v "^#" urls.py from django.contrib import admin from django.urls import include, reverse_lazy, re_path from django.views.generic import RedirectView
urlpatterns = [ re_path(r'^$', RedirectView.as_view( url=reverse_lazy('list_index'), permanent=True)), re_path(r'^postorius/', include('postorius.urls')), re_path(r'^hyperkitty/', include('hyperkitty.urls')), re_path(r'', include('django_mailman3.urls')), re_path(r'^accounts/', include('allauth.urls')), # Django admin re_path(r'^admin/', admin.site.urls), ]
It must be something either really complex or, most likely, rather stupid. I switched from PC Assembler and C to Unix shell scripts some three decades ago, so I must admit that my Python skills are zero, my idea of the inner workings of all the packages is very vague.
Any hints where I may look for installation errors?
TIA Volkmar