<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Package: mailman3-full</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Version: <span style="background-color:#ffffff;"><span style="font-family:monospace;"><span style="color:#000000;">3.2.1-1</span></span></span><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="font-family:Hack;">I installed the package mailman3-full and configured the files in </span></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/etc/mailman3</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="background-color:#ffffff;"><span style="font-family:monospace;"><span style="color:#000000;">/usr/share/mailman3-web/</span></span></span><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Next I created an apache virtual host entry in </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="background-color:#ffffff;"><span style="color:#000000;">/etc/apache2/sites-available/</span></span><br /> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">and used the content of </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="background-color:#ffffff;"><span style="color:#000000;">/etc/mailman3/apache.conf</span></span><br />as a template. </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="font-family:Noto Sans;">I enabled the apache modules proxy and <span style="background-color:#ffffff;"><span style="color:#000000;">proxy_uwsgi.</span></span><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">After restarting the services apache2 and mailman3-web, I accessed the website in a browser via url:<br />https://lists.my-tld/mailman3/</span></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="font-family:monospace;">The page showed:</span></p>
<p style="margin-top:12;margin-bottom:12;margin-left:0;margin-right:0;"> <strong>Seite nicht gefunden</strong> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Diese Seite ist entweder nicht vorhanden, oder sie wurde an einen anderen Ort verschoben. </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">With DEBUG = True, it shows:</p>
<p style="margin-top:12;margin-bottom:12;margin-left:0;margin-right:0;"> <strong>Page not found (404)</strong> </p>
<table cellpadding="0" cellspacing="2" width="" border="1"><tr><td width="" colspan="1" rowspan="1"><p align="center"  style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><strong>Request Method:</strong></p>
</td><td width="" colspan="1" rowspan="1"><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">GET</p>
</td></tr><tr><td width="" colspan="1" rowspan="1"><p align="center"  style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><strong>Request URL:</strong></p>
</td><td width="" colspan="1" rowspan="1"><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">https://lists.my-tld/mailman//</p>
</td></tr></table><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:12;margin-bottom:12;margin-left:0;margin-right:0;">Using the URLconf defined in <span style="font-family:Hack;">urls</span>, Django tried these URL patterns, in this order: </p>

<ol type="1">
<li>^$ </li>
<li>^postorius/ </li>
<li>^hyperkitty/ </li>
<li>^user-profile/delete$ [name='mm_user_account_delete'] </li>
<li>^user-profile/$ [name='mm_user_profile'] </li>
<li>^accounts/ </li>
<li>^admin/ </li>
</ol>
<p style="margin-top:12;margin-bottom:12;margin-left:0;margin-right:0;">The current path, /, didn't match any of these. </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="font-family:Noto Sans;">Note that in the Request URL, the name "mailman3" has been replaced by "mailman", making the URL invalid. </span></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">This behavior could be reproduced in two separate installations on different machines.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">As a workaround, I changed this line in the apache vhost config from:</p>
<p style="margin-top:12;margin-bottom:12;margin-left:0;margin-right:0;"> <span style="background-color:#ffffff;"><span style="font-family:monospace;"><span style="color:#000000;">               ProxyPass /mailman3 unix:/run/mailman3-web/uwsgi.sock|uwsgi://localhost</span></span></span><br />to:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="background-color:#ffffff;"><span style="color:#000000;">               ProxyPass /mailman unix:/run/mailman3-web/uwsgi.sock|uwsgi://localhost</span></span><br /><span style="font-family:Noto Sans;">Note the other references to /mailman3 had to stay to access the static css files.<br />This solved the problem for me, but that is not an acceptable behaviour. </span></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Also note that the mailing lists had been installed some weeks before and ran fine during that time. </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Some update in the Debian system caused this fault.</p>
<p style="margin-top:12;margin-bottom:12;margin-left:0;margin-right:0;"> </p>
<p style="margin-top:12;margin-bottom:12;margin-left:0;margin-right:0;"> <span style="font-family:Hack;">  I am using Debian GNU/Linux 10.11, kernel </span><span style="background-color:#ffffff;"><span style="font-family:monospace;"><span style="color:#000000;">4.19.0-16-amd64</span></span></span><br /><span style="font-family:Hack;">  and libc6 </span><span style="background-color:#ffffff;"><span style="font-family:monospace;"><span style="color:#000000;">2.28-10</span></span></span><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Kind Regards</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Eggert</p>
</body>
</html>