On 11/25/21 10:56 AM, David Newman wrote:
Thanks for this. After setting these variables and restarting mailman3 and mailmanweb, the mailman user still cannot find a hyperkitty_import command (neither can root, btw). Again, I installed MM3 and Django/Postorius/Hyperkitty using the venv and web docs previously referenced.
Don't run mailman or django admin commands as root. This causes issues when files are created by root and can't be read by mailman.
What django admin command are you running? If you don't set
DJANGO_SETTINGS_MODULE in the environment and you have activated your
virtualenv and run mailman-web
as the django admin command it will set
/etc/mailman3/settings.py as the settings.
On the plus side, all lists now appear in the admin web page. However, lists created from the admin page do not appear in a site list page, even though all lists are in the same site/domain.
By default, only lists that you are owner, moderator or subscriber for are shown. What if you click Filter by Role and select All?
Finally, how to make these exports permanent? I did not see this covered in the migration doc above. This is on a Debian system where the mailman user's shell is bash. Is this simply a matter of adding environment variables in the mailman user's .bashrc file?
You can do that but as I note above, if you run mailman-web
you
shouldn't need to. You can add a source /opt/mailman/venv/bin/activate
command as mentioned at
https://docs.mailman3.org/en/latest/install/virtualenv.html#activate-virtual....
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan