Did you include the static subdirectory in your web server config? My apache config looks like this:
Alias /mailman3/favicon.ico /opt/mailman/web/static/postorius/img/favicon.ico
Alias /mailman3/static /opt/mailman/web/static
# for hyperkitty
Alias /static/admin /opt/mailman/web/static/admin
Alias /static/CACHE /opt/mailman/web/static/CACHE
Alias /static/django_extensions /opt/mailman/web/static/django_extensions
Alias /static/hyperkitty /opt/mailman/web/static/hyperkitty
Alias /static/mailman3 /opt/mailman/web/static/hyperkitty
Alias /static/django-mailman3 /opt/mailman/web/static/django-mailman3
Alias /static/rest_framework /opt/mailman/web/static/rest_framework
# for postorius
Alias /static/postorius /opt/mailman/web/static/postorius
<Directory /opt/mailman/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>
If you use nginx, the config might look different.
Am Dienstag, 22. März 2022, 10:34:21 CET schrieb sekamug--- via Mailman-users:
I successfully installed mailman3 but Postorius doesn't display images on the web interface. I have checked and the files exist at at the location /opt/mailman/web/static/postorius i have checked the logs and they appear as follows: [pid: 366783|app: 0|req: 43/104] () {34 vars in 687 bytes} [Tue Mar 22 09:36:30 2022] GET /static/postorius/js/script.js => generated 5280 bytes in 43 msecs (HTTP/1.1 404) 6 headers in 197 bytes (1 switches on core 0) [pid: 366783|app: 0|req: 44/105] () {34 vars in 715 bytes} [Tue Mar 22 09:36:30 2022] GET /static/postorius/img/favicon.ico => generated 5280 bytes in 43 msecs (HTTP/1.1 404) 6 headers in 197 bytes (1 switches on core
- it seems the browser fails to access the directory where the pictures are stored. I have checked and mailman is the owner of that directory. Please advise.
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/