Dear Users,
I recently upraded mailman3 from Ubuntu 18 to 20. After accessing the web-interface via
https://my.mailinglistserver.local/mailman3/postorius/lists/
I receive
Not Found: /mailman//postorius/lists/ [pid: 1346851|app: 0|req: 4/4] 10.254.253.12 () {70 vars in 1369 bytes} [Mon Oct 25 10:39:59 2021] GET /mailman3/postorius/lists/ => generated 2821 bytes in 12 msecs (HTTP/1.1 404) 5 headers in 155 bytes (1 switches on core 1)
Where does the wrong path come from (mailman vs. mailman3)
After enabling Debug, i see in the browser the following:
Page not found (404) Request Method: GET Request URL: https://my.mailinglistserver.local/mailman//postorius/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, /postorius/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.
My apache configuration is very simply:
# more /etc/apache2/conf-enabled/mailman3.conf Alias /mailman3/favicon.ico /var/lib/mailman3/web/static/postorius/img/favicon.ico Alias /mailman3/static /var/lib/mailman3/web/static
<Directory "/var/lib/mailman3/web/static"> Require all granted </Directory>
<IfModule mod_proxy_uwsgi.c> ProxyPass /mailman3/favicon.ico ! ProxyPass /mailman3/static ! ProxyPass /mailman3 unix:/run/mailman3-web/uwsgi.sock|uwsgi://localhost/ </IfModule>
I dont see where the path gets traversed in the wrong way. Any help is greatly appreciated.
thank you.
Stefan