Thanks to all! My installation now works again.
Lars
On Sat, Apr 29, 2023 at 11:44:34AM +0300, Odhiambo Washington wrote:
On Sat, Apr 29, 2023 at 8:25 AM Lars Bjørndal <lars@lamasti.net> wrote:
Thank you very much. You wrote:
[...]
I tried
django-admin migrate --pythonpath /etc/mailman3
, and got the same result.Then you may need
django-admin migrate --pythonpath /etc/mailman3 --settings settings
Yes, that worked!
What I have is this shell file that I use to invoke django-admin
#!/bin/bash . /opt/mailman/mm/venv/bin/activate cd /opt/mailman/mm export PYTHONPATH=/opt/mailman/mm
So you have settings.py in /opt/mailman/mm rather than in /etc/mailman3?
That's right - based on an earlier installation method before the official virtualenv <https://docs.mailman3.org/en/latest/install/virtualenv.html#virtualenv-insta...> one was put together, and that's why he has that shell file. For a virtualenv <https://docs.mailman3.org/en/latest/install/virtualenv.html#virtualenv-insta...> setup, your settings should live in /etc/mailman3 as stated.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent to lars@lamasti.net