On Wed, Dec 14, 2022 at 8:33 PM Guillermo Hernandez (Oldno7) via Mailman-users <mailman-users@mailman3.org> wrote:
El 14/12/22 a las 18:16, Odhiambo Washington escribió:
On Wed, Dec 14, 2022 at 8:02 PM Stephen J. Turnbull < stephenjturnbull@gmail.com> wrote:
Odhiambo Washington writes:
The site is public, so I can share the link: https://list.rc.org/archives/
The CSS is not working. Two possibilities to try first:
- (more likely) You didn't run the command that compiles the CSS. (probably) mailman-web compress
- (much less likely) The CSS got replaced in the upgrade and the ownership changed because you were working as root, and the server process can't access the files.
- other possibilities: the SASS compiler (usually sassc, possibly sass)
- The post-update script runs everything required. For the avoidance of doubt, here it is: <CUT> #!/bin/bash
set -e
BINDIR="/opt/mailman/mm/bin" CONFDIR="/opt/mailman/mm" SETTINGS="settings" DJANGO_CONTROL_SCRIPT="$BINDIR/django-admin" STATIC_DIR="$CONFDIR/static" DEBUG="False"
set -x
if [ "$DEBUG" == "False" ]; then mkdir -p "$STATIC_DIR" || : "$DJANGO_CONTROL_SCRIPT" collectstatic --clear --noinput --verbosity 0 "$DJANGO_CONTROL_SCRIPT" compress
Odhiambo, I had problems in the compress process in the last updates. I would make sure the process is running ok. I had to disable the off line compression for this matter.
@Guillermo Hernandez (Oldno7) <guillermo@querysoft.es> that sounds a bit non-standard, but care to explain what additional arguments you passed to django-admin compress?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)