On 12/6/23 15:54, Nils wrote:
Thanks for your help, Mark. I've already tried that and it gave me this message:
# sudo -u www-data python3 /usr/bin/django-admin compilemessages --pythonpath /usr/share/mailman3-web --settings settings CommandError: This script should be run from the Django Git checkout or your project or app tree, or with the settings module specified.
I'm working on ubuntu and I don't have (venv)$ The other commands (migrate, collectstatic and compress) worked fine. Kind regards
I don't know why this fails like that, particularly since the same thing works for migrate, collectstatic and compress.
The only thing I can think of is you may need to cd to the directory containing django/ django_mailman3/ postorius/ and /hyperkitty before doing the above. This may be something like /usr/lib/python3.x/site-packages.
If that doesn't work, since I think you are using the Debian/Ubuntu package, I suggest you try Debian for help.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan