On 10/27/22 03:04, Guillermo Hernandez (Oldno7) via Mailman-users wrote:
Since I made all the mailman3 enviroment wide server open (not using venv) I already executed the migration doing a
su -m mailman3 -c "python3 manage.py collectstatic" su -m mailman3 -c "python3 manage.py migrate"
Being mailman3 the user who runs all of mailman3 related stuff
I had problems doing the migrate part, showing an error of lacking perms. I solved it running the migration under root (I know it could be trouble after, but...)
It would be much better to identify the problem files/directories and adjust their ownership. It is possible that running stuff as root in the past left things owned by root causing the issue.
After that the compress part showed errors... but the postorius web maintenance was working well except for the CSRF error verification. I will trace the compress errors and will try to find the problem later.
Do you have COMPRESS_ENABLED = True
in your settings? If that's not
the issue, it may be in the settings for COMPRESS_PRECOMPILERS
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan