I migrated my existing mailman3 install from using the Debian packages to a virtualenv setup. For the most part everything seems to be running fine, but I'm running into an issue where Hyperkitty 1.3.3 is referencing an incorrect CSS file. It is trying to load "/static/CACHE/css/hyperkitty.39ef00cc7454.css" which does not exist. If I replace that reference (using my browser's dev tools) with "/static/CACHE/css/output.12a071da81b1.css" everything looks fine. I've ran the collectstatic, compress, and migrate commands successfully with no change. Any ideas on how to fix this?
On 6/14/20 1:48 PM, Ryan Morash wrote:
I migrated my existing mailman3 install from using the Debian packages to a virtualenv setup. For the most part everything seems to be running fine, but I'm running into an issue where Hyperkitty 1.3.3 is referencing an incorrect CSS file. It is trying to load "/static/CACHE/css/hyperkitty.39ef00cc7454.css" which does not exist. If I replace that reference (using my browser's dev tools) with "/static/CACHE/css/output.12a071da81b1.css" everything looks fine. I've ran the collectstatic, compress, and migrate commands successfully with no change. Any ideas on how to fix this?
Have you tried running collectstatic with the --clear option or removing everything in STATIC_ROOT before running collectstatic?, See, e.g., <https://docs.djangoproject.com/en/2.2/ref/contrib/staticfiles/>
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
I tried both the –clear flag and removing everything in my static directory with no luck.
From: Mark Sapiro <mark@msapiro.net> Date: Sunday, June 14, 2020 at 5:22 PM To: mailman-users@mailman3.org <mailman-users@mailman3.org> Subject: [MM3-users] Re: Hyperkitty CSS issue On 6/14/20 1:48 PM, Ryan Morash wrote:
I migrated my existing mailman3 install from using the Debian packages to a virtualenv setup. For the most part everything seems to be running fine, but I'm running into an issue where Hyperkitty 1.3.3 is referencing an incorrect CSS file. It is trying to load "/static/CACHE/css/hyperkitty.39ef00cc7454.css" which does not exist. If I replace that reference (using my browser's dev tools) with "/static/CACHE/css/output.12a071da81b1.css" everything looks fine. I've ran the collectstatic, compress, and migrate commands successfully with no change. Any ideas on how to fix this?
Have you tried running collectstatic with the --clear option or removing everything in STATIC_ROOT before running collectstatic?, See, e.g., <https://docs.djangoproject.com/en/2.2/ref/contrib/staticfiles/>
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.mailman3.org%2fmailman3%2flists%2fmailman-users.mailman3.org%2f&c=E,1,u73BAkuCnaYUgPySgbD4bWUCmAPc5w95RCyotyjHvBuGutWeCwEYvkxX6IvNfpZtFkS7ytVcNbJLa0fTeHbxvupmlpsAY6WzU8OD0_4gfGXuDItRxjnPtbxH&typo=1 Confidential Transmission This correspondence is confidential and may contain privileged materials or information. It is intended for the use of the addressee only and all others are prohibited from copying or disseminating this message or its contents. If you have received this transmission in error, delete it immediately and notify the sender.
Ryan, are you using CIS-hardened image? I've had this issue with permissions related to 'collectstatic' and permssions with var/cache folder.
After running 'chmod' commands, hyperkitty was able to retrieve css
Just using a standard Debian install. I have everything for mailman in an /opt/mailman directory owned by a ‘mailman’ user. My static directory is at /opt/mailman/var/web/static.
From: sunil soprey <sunil@derigotech.com> Date: Monday, June 15, 2020 at 11:54 AM To: mailman-users@mailman3.org <mailman-users@mailman3.org> Subject: [MM3-users] Re: Hyperkitty CSS issue Ryan, are you using CIS-hardened image? I've had this issue with permissions related to 'collectstatic' and permssions with var/cache folder.
After running 'chmod' commands, hyperkitty was able to retrieve css
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.mailman3.org%2fmailman3%2flists%2fmailman-users.mailman3.org%2f&c=E,1,qbA1smT2JE-xLC5JSVEIKew25FG7NzBsaQuLDE8LJmBnwufwPLczHpXq-BfaEp0UH2-QaMLsnTy_ovjpkxHvZ-L4AwpzNtLPALTe0LdsMkudWjfmQuLhZZbuxVnF&typo=1 Confidential Transmission This correspondence is confidential and may contain privileged materials or information. It is intended for the use of the addressee only and all others are prohibited from copying or disseminating this message or its contents. If you have received this transmission in error, delete it immediately and notify the sender.
On 6/15/20 5:14 AM, Ryan Morash wrote:
I tried both the –clear flag and removing everything in my static directory with no luck.
Did you rerun compress after doing that? I don't know if it will help, but you might find clues in <https://django-compressor.readthedocs.io/en/stable/settings/>. in particular, look at all the COMPRESS* settings in your Django settings.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (4)
-
Mark Sapiro
-
Ryan Morash
-
Ryan Morash
-
sunil soprey