On 11/26/20 10:09 PM, Mark Sapiro wrote:
On 11/26/20 8:44 PM, Morris Jones wrote:
I have most of a new mailman suite server built and working ...
collectstatic gathered a good array of static files (uncompressed so far)
nginx appears to be serving them successfully
The Firefox developer tools show css and js files all being delivered
But none of the postorius or hyperkitty pages exhibit any styling at all, only bare HTML elements.
The Firefox inspector will show the available styles being requested and delivered (style.css, bootstrap, jquery, all the things).
But if I use the inspector to look at the page, nothing has any CSS properties.
I know I'm missing something simple.
Try running collectstatic and, if you use it, compress again. These have to be run following various kinds of changes.
Appreciated, but to no avail:
(venv) mailman@mail:~/mailman-suite/mailman-suite_project$ python manage.py collectstatic
You have requested to collect static files at the destination location as specified in your settings:
/opt/mailman/mailman-suite/mailman-suite_project/static
This will overwrite existing files! Are you sure you want to do this?
Type 'yes' to continue, or 'no' to cancel: yes
0 static files copied to '/opt/mailman/mailman-suite/mailman-suite_project/static', 399 unmodified. (venv) mailman@mail:~/mailman-suite/mailman-suite_project$ python manage.py compress CommandError: Compressor is disabled. Set the COMPRESS_ENABLED setting or use --force to override.
And then https://mailman.whiteoaks.com
I'll spend time in the Firefox developer tools to see if I can figure out what's missing. A DuckDuckGo search suggested it could be a character encoding issue. The style sheets all come up reporting "0 rules" in the developer tools. I haven't tried any other browsers either.
Best regards, Mojo
Morris Jones, Monrovia, CA BridgeMojo <http://bridgemojo.com> Old Town Sidewalk Astronomers <http://otastro.org> Mojo's Blog <http://mojo.whiteoaks.com>