[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Martin Lorenz
Worked like a charm: `for l in ; do list=${l}@list.poc.im; d=/data/var/lib/mailman/lists/${l}; echo $list; mailman-web hyperkitty_import -l $list /data/var/lib/mailman/archives/private/$ {l}.mbox/${l}.mbox; done` did the same for two more domains and ran `mailman-web rebuild_index` afterward

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Martin Lorenz
seems to me, you are right: ``` (venv) mailman@arda:~$ mailman-web help [...] [hyperkitty] hyperkitty_import hyperkitty_warm_up_cache mailman_sync update_index_one_list [...] ``` I followed the instructions: using pip to get mailman and deps basis is a debian bullseye with python 3

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Stephen J. Turnbull
Martin Lorenz writes: > >> `python manage.py hyperkitty_import -l stamm ...` > btw. this is, what it says in the docs: > https://docs.mailman3.org/en/latest/migration.html I assume you're just pip'ing everything from PyPI, without any version constraints on the command line? If yes, good, th

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Martin Lorenz
Odhiambo Washington wrote: > > You need a dose of chill pill with MM3. You are still far away from getting > > done :-) I don't have the **time** to spend on that. It already took me two full days of reading docs and asking questions. I have more urgent things to do, but there are quite a few p

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Odhiambo Washington
On Sat, Oct 15, 2022 at 2:38 PM Martin Lorenz wrote: > https://docs.mailman3.org/en/latest/django-primer.html gives a bunch of > commands but none of them works in my setup. > > I followed the instructions given in > https://docs.mailman3.org/en/latest/install/virtualenv.html to end with a > **wo

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Martin Lorenz
This is the instruction I followed https://docs.mailman3.org/en/latest/install/virtualenv.html#initial-configuration I really don't care much about beauty at the moment. I simply need a working system. -- Mailman-Users mailing list -- mailman-u

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Odhiambo Washington
On Sat, Oct 15, 2022 at 2:14 PM Martin Lorenz wrote: > I've got a `settings.py` (according to the docs this should be the master > file including `settings_local.py` ...) reading as follows: > The documentation says that you should have settings.py and inside it, you ensure that DEBUG = False. T

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Martin Lorenz
https://docs.mailman3.org/en/latest/django-primer.html gives a bunch of commands but none of them works in my setup. I followed the instructions given in https://docs.mailman3.org/en/latest/install/virtualenv.html to end with a **working** mailman3. Butt almost all the admin cli commands don't

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Martin Lorenz
I've got a `settings.py` (according to the docs this should be the master file including `settings_local.py` ...) reading as follows: ``` root@arda:/etc/mailman3# cat settings.py # Mailman Web configuration file. # /etc/mailman3/settings.py from mailman_web.settings.base import * from mailman_w

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Odhiambo Washington
On Sat, Oct 15, 2022 at 2:00 PM Martin Lorenz wrote: > >> `python manage.py hyperkitty_import -l stamm ...` > btw. this is, what it says in the docs: > https://docs.mailman3.org/en/latest/migration.html > True, and to be honest, I also found those documentations a bit confusing. -- Best regar

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Martin Lorenz
Odhiambo Washington wrote: > On Sat, Oct 15, 2022 at 1:47 PM Martin Lorenz git...@member.holoclan.de > wrote: > > Thanks for you hint. [...] > > > I did not literally mean that you should run the command I gave :) I guess got that hint ;-) [...] > Question now is - do you have settings_local.py

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Odhiambo Washington
On Sat, Oct 15, 2022 at 1:47 PM Martin Lorenz wrote: > Thanks for you hint. > > unfortunately I still doubt that everything is working correctly in my > setup. > This is what I get, when trying to user django_admin: > > ``` > (venv) mailman@arda:~/venv$ /opt/mailman/mm/bin/django-admin > hyperkit

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Martin Lorenz
>> `python manage.py hyperkitty_import -l stamm ...` btw. this is, what it says in the docs: https://docs.mailman3.org/en/latest/migration.html -- Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-user

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Martin Lorenz
Thanks for you hint. unfortunately I still doubt that everything is working correctly in my setup. This is what I get, when trying to user django_admin: ``` (venv) mailman@arda:~/venv$ /opt/mailman/mm/bin/django-admin hyperkitty_import -l stammesleit...@list.poc.im /data/var/lib/mailman/archiv

[Mailman-Users] Re: manage.py not found in virtual environment

2022-10-15 Thread Odhiambo Washington
On Sat, Oct 15, 2022 at 11:51 AM Martin Lorenz wrote: > I hope this ist just a misunderstanding and owed to my lacking knowledge > on how venv works ... > > when trying to migrate lists from mailman 2.1 I hit this: > > ``` > (venv) mailman@arda:/etc/exim4$ python manage.py hyperkitty_import -l >