On 10/22/23 2:16 PM, Mark Sapiro wrote:
Here is the nginx error, with obfuscation of client and server info:
2023/10/22 10:43:24 [error] 2264140#2264140: *135 "/opt/www/roundcubemail/postorius/domains/index.php" is not found (2: No such file or directory), client: 1.2.3.4, server: lists.example.com, request: "GET /postorius/domains/ HTTP/2.0", host: "lists.example.com", referrer: "https://lists.example.com/mailman3/listinfo"
Here you are trying to get https://lists.example.com/postorius/domains/, but (see below)
# begin mailman3 stuff
location /static/ { alias /opt/mailman/web/static/; }
location /mailman3/ { proxy_pass http://127.0.0.1:8000; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $remote_addr; }
Above you have defined proxying for the paths beginning with /mailman3/, /archives/, /mailman/ and others, but not /postorius/ or /hyperkitty/.
Bingo. Adding location statements for hyperkitty and postorius and restarting Nginx cleared the issue.
Unclear why this ever worked before the upgrade. I don't remember monkeying with a urls.py file. Anyway, it works now. Thank you Mark!
(venv) mailman@mail10:~$ mailman-web migrate System check identified some issues:
WARNINGS: account.EmailAddress: (models.W036) MariaDB does not support unique constraints with conditions.
This is an issue with MariaDB and MySQL.
Thanks again. No issues here, but glad to see you previously raised this as a known issue.
dn