El 27/10/22 a las 21:39, Mark Sapiro escribió:
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.
The problem was in the intent of execute one of the migrate parts and showed about python files. I'm pretty sure that I've been very carefull not running things as root before as I know it can mess all up. But this time it was an dead end and I needed to go through.
In a few days I will upgrade another server. I will document the error if I find it again.
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
I will try to trace it and comment what I find.
Thaks a lot for your support.
--
Mailman's content filtering has removed the following MIME parts from this message.
Content-Type: image/png Name: firma-GHP-emails.png
Replaced multipart/alternative part with first alternative.