On Fri, Dec 16, 2022 at 10:07 AM Odhiambo Washington <odhiambo@gmail.com> wrote:
On Thu, Dec 15, 2022 at 11:31 AM Jörg Schulz <info@joergschulz.de> wrote:
I had this issue (using the dockerized version) when
- UWSGI_STATIC_MAP=/static=/opt/mailman-web-data/static
has been set to the wrong path. Maybe it's just the same: that your web server doesn't find the location for the static files.
That seems quite unlikely because:
- The archives displayed properly before the upgrade.
- The static path is correctly set for nginx:
server { ...
location / { proxy_pass http://127.0.0.1:8000; proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-Proto $scheme; proxy_redirect off; }
location /static/ { alias /opt/mailman/mm/static/; }
I am probably getting closer to where the problem is. By looking at nginx error_log while access the site, I see that there are just two CSS files that are missing, as shown in the error lo here: https://pastebin.ubuntu.com/p/7wbwMgqMyS/
Question is - why is it specifically looking for these two files
- /opt/mailman/mm/static/CACHE/css/output.93545e20bc30.css -/opt/mailman/mm/static/CACHE/css/output.e1f0c6022e8f.css
Where are these files supposed to come from and why are they missing? I have looked at my current CACHE directory and compared with the backup of the same site before upgrade and these files aren't the same either:
root@list:/opt/mailman-bak-20221204/mm/static/CACHE/css# cd /opt/ root@list:/opt# ls -al /opt/mailman/mm/static/CACHE/css/ total 176 drwxr-xr-x 2 mailman mailman 4096 Dec 16 03:18 . drwxr-xr-x 4 mailman mailman 4096 Dec 16 03:18 .. -rw-r--r-- 1 mailman mailman 162923 Dec 16 03:18 output.1044280414ca.css -rw-r--r-- 1 mailman mailman 1209 Dec 16 03:18 output.29fe9f743a79.css -rw-r--r-- 1 mailman mailman 569 Dec 16 03:18 output.e68c4908b3de.css root@list:/opt# ls -al /opt/mailman-bak-20221204/mm/static/CACHE/css/ total 176 drwxr-xr-x 2 mailman mailman 4096 Feb 11 2021 . drwxr-xr-x 4 mailman mailman 4096 Feb 11 2021 .. -rw-r--r-- 1 mailman mailman 163370 Feb 11 2021 output.7687ae03f0d2.css -rw-r--r-- 1 mailman mailman 773 Feb 11 2021 output.d3034b4f9b48.css -rw-r--r-- 1 mailman mailman 1677 Feb 11 2021 output.dfd065ec006f.css
I think the two files hold the clue to solving the issue.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)