CSS Hyperkitty ERROR

Hi, i installed mailman3 with virtualenv, all is working fine, the admin site works fine, the mailman(postorious) site works fine, but when im in hyperkitty the site shows without the css style.. in my web browser dev tool it shows like they loaded ok..
Here you can see what i see when loading hyperkitty https://freeimage.host/i/3n6kXKQ and mailman(postorius) https://freeimage.host/i/mailman.3n6kVix
When i run my server with verbosity it shows like all is loading ok: https://freeimage.host/i/3n6SViG
Any ideas? :/
My static files are loading from /static/CACHE/css/output.a0f71925131b.css and /static/hyperkitty/libs/fonts/font-awesome/css/font-awesome.min.css
It seems like the real error are in the /static/CACHE files, because hyperkitty is the only one who load files from this directory.. postorius uses /static/postorius and all the css files are working fine. I checked permissions for the directory, cleared cache, etc.. i dont know what to do.
This is my config for staticfiles:
STATIC_URL = 'static/' STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static'), '/opt/mailman/projectes/mailman3web/static/CACHE',
Thank you so much in advance.

Johan Alsina via Mailman-users writes:
Hi, i installed mailman3 with virtualenv, all is working fine, the admin site works fine, the mailman(postorious) site works fine, but when im in hyperkitty the site shows without the css style.. in my web browser dev tool it shows like they loaded ok..
I think you need to figure out why the dev tool can see the CSS files but other environments can't. It sounds exactly like all the other problems I couldn't diagnose. :-/
Any ideas? :/
My static files are loading from /static/CACHE/css/output.a0f71925131b.css and /static/hyperkitty/libs/fonts/font-awesome/css/font-awesome.min.css
I've run into the "no styles" issue on a number of new hosts where the problem was that somewhere on the path to the CSS files was a directory, typically owned by root, without "x" permissions for "other" users. That difference across trees is weakly consistent with a "somewhere in between" permissions problem.
Steve

On 3/17/25 6:46 PM, Johan Alsina via Mailman-users wrote:
Hi, i installed mailman3 with virtualenv, all is working fine, the admin site works fine, the mailman(postorious) site works fine, but when im in hyperkitty the site shows without the css style.. in my web browser dev tool it shows like they loaded ok..
Have you run mailman-web collectstatic
and mailman-web compress
? See
https://docs.mailman3.org/en/latest/install/virtualenv.html#collect-static-f...
If you have, try running them again as mailman-web collectstatic --clear
and mailman-web compress
.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Stephen J. Turnbull wrote:
Hi, i installed mailman3 with virtualenv, all is working fine, the admin site works fine, the mailman(postorious) site works fine, but when im in hyperkitty the site shows without the css style.. in my web browser dev tool it shows like they loaded ok.. I think you need to figure out why the dev tool can see the CSS files but other environments can't. It sounds exactly like all the other
Any ideas? :/ My static files are loading from /static/CACHE/css/output.a0f71925131b.css and /static/hyperkitty/libs/fonts/font-awesome/css/font-awesome.min.css I've run into the "no styles" issue on a number of new hosts where the
Johan Alsina via Mailman-users writes: problems I couldn't diagnose. :-/ problem was that somewhere on the path to the CSS files was a directory, typically owned by root, without "x" permissions for "other" users. That difference across trees is weakly consistent with a "somewhere in between" permissions problem. Steve
Hi Steve, thanks for answer, i tried all about permissions and paths and i thins all its ok.. here you can see my paths/permissions..
General: https://freeimage.host/i/3ok1LDN Django project: https://freeimage.host/i/3ok1ZxI
Mark Sapiro wrote:
On 3/17/25 6:46 PM, Johan Alsina via Mailman-users wrote:
Hi, i installed mailman3 with virtualenv, all is working fine, the admin site works fine, the mailman(postorious) site works fine, but when im in hyperkitty the site shows without the css style.. in my web browser dev tool it shows like they loaded ok.. Have you run mailman-web collectstatic and mailman-web compress? See https://docs.mailman3.org/en/latest/install/virtualenv.html#collect-static-f... If you have, try running them again as mailman-web collectstatic --clear and mailman-web compress.
Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi Mark, thanks for the answer. Yes, i tried all variations about collectstatic, clear_cache, etc.. comands with no difference. I dont get any error and the files are collected ok..
Like i said before, i think the problem comes with the css files in /static/CACHE.. because the ones that are in /static/hyperkitty are loading ok..
css files in /static/CACHE not loading: https://freeimage.host/i/3okk6CJ img files in /static/hyperkitty loading: https://freeimage.host/i/3okkPEv
I tried to move /static/CACHE inside of /static/hyperkitty but when i run collectstatic the files goes again to the default path..
Thanks in advance..

Johan Alsina wrote:
Stephen J. Turnbull wrote:
Hi, i installed mailman3 with virtualenv, all is working fine, the admin site works fine, the mailman(postorious) site works fine, but when im in hyperkitty the site shows without the css style.. in my web browser dev tool it shows like they loaded ok.. I think you need to figure out why the dev tool can see the CSS files but other environments can't. It sounds exactly like all the other Any ideas? :/ My static files are loading from /static/CACHE/css/output.a0f71925131b.css and /static/hyperkitty/libs/fonts/font-awesome/css/font-awesome.min.css I've run into the "no styles" issue on a number of new hosts where the Johan Alsina via Mailman-users writes: problems I couldn't diagnose. :-/ problem was that somewhere on the path to the CSS files was a directory, typically owned by root, without "x" permissions for "other" users. That difference across trees is weakly consistent with a "somewhere in between" permissions problem. Steve Hi Steve, thanks for answer, i tried all about permissions and paths and i thins all its ok.. here you can see my paths/permissions.. General: https://freeimage.host/i/3ok1LDN Django project: https://freeimage.host/i/3ok1ZxI Mark Sapiro wrote: On 3/17/25 6:46 PM, Johan Alsina via Mailman-users wrote: Hi, i installed mailman3 with virtualenv, all is working fine, the admin site works fine, the mailman(postorious) site works fine, but when im in hyperkitty the site shows without the css style.. in my web browser dev tool it shows like they loaded ok.. Have you run mailman-web collectstatic and mailman-web compress? See https://docs.mailman3.org/en/latest/install/virtualenv.html#collect-static-f... If you have, try running them again as mailman-web collectstatic --clear and mailman-web compress. Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan Hi Mark, thanks for the answer. Yes, i tried all variations about collectstatic, clear_cache, etc.. comands with no difference. I dont get any error and the files are collected ok.. Like i said before, i think the problem comes with the css files in /static/CACHE.. because the ones that are in /static/hyperkitty are loading ok.. css files in /static/CACHE not loading: https://freeimage.host/i/3okk6CJ img files in /static/hyperkitty loading: https://freeimage.host/i/3okkPEv I tried to move /static/CACHE inside of /static/hyperkitty but when i run collectstatic the files goes again to the default path.. Thanks in advance..
Sorry, the links about css files and img files are in the wrong order
css files in /static/CACHE not loading: https://freeimage.host/i/3okkPEv img files in /static/hyperkitty loading: https://freeimage.host/i/3okk6CJ

Im trying different configs and i changed the static path to /staticfiles instead of /static and for some reason the files from /static/CACHE are forcing to load from this path instead of /staticfiles/CACHE like the others..
Server: https://freeimage.host/i/3ovn0Ft Css files not loading now: https://freeimage.host/i/3ovn1cX Css paths: https://freeimage.host/i/3ovnESn

On 3/18/25 3:39 PM, Johan Alsina via Mailman-users wrote:
Like i said before, i think the problem comes with the css files in /static/CACHE.. because the ones that are in /static/hyperkitty are loading ok..
See this thread: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/7...
Some of that may be useful.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Mark Sapiro wrote:
On 3/18/25 3:39 PM, Johan Alsina via Mailman-users wrote:
Like i said before, i think the problem comes with the css files in /static/CACHE.. because the ones that are in /static/hyperkitty are loading ok.. See this thread: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/7... Some of that may be useful.
Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi Mark, i configured the paths to load all the files from /staticfiles/ but for some reason the .css files are loading but not showing again and i dont know why...
https://freeimage.host/i/3ovaZgf https://freeimage.host/i/3ovaQ0G
participants (3)
-
Johan Alsina
-
Mark Sapiro
-
Stephen J. Turnbull