[Mailman-Users] Hevy resource footprint forces backdrop to mailman 2.1

2022-10-07 Thread Martin Lorenz
Greetings, after many years of smoothly running a mailman2 instance I had to migrate my virtual server to a new provider. There I found, that mailman2 was no longer supported and tried to migrate to mailman3 .. with much pain and no success. Mailman3 keeps crashing my v-server and swallows almo

[Mailman-Users] Re: Hevy resource footprint forces backdrop to mailman 2.1

2022-10-08 Thread Martin Lorenz
Mark Sapiro wrote: > https://www.python.org/downloads/release/python-2718/ but it would be > much better to fix your Mailman 3 issues. I am afraid, mailman3 needs far too much system resources for this virtual server. I had it up and running but system load shoot up to values beyond 10 whenever

[Mailman-Users] Re: Hevy resource footprint forces backdrop to mailman 2.1

2022-10-09 Thread Martin Lorenz
Stephen J. Turnbull wrote: > Martin Lorenz writes: > > I am afraid, mailman3 needs far too much system resources for this > > virtual server. > > This whole story doesn't make much sense to me. You switched to a new > virtual server because Mailman 2 isn't suppo

[Mailman-Users] Re: Hevy resource footprint forces backdrop to mailman 2.1

2022-10-14 Thread Martin Lorenz
Now I will start over ... First of all: do you recommend the debian package install or the manual one? ``` Package mailman3: p 3.3.3-1 stable

[Mailman-Users] Re: Hevy resource footprint forces backdrop to mailman 2.1

2022-10-14 Thread Martin Lorenz
OK thanks for the advice. I started installing following the path ... the first error I hit is: ``` (venv) mailman@arda:/etc/mailman3$ mailman-web migrate Traceback (most recent call last): File "/opt/mailman/venv/lib/python3.9/site-packages/django/template/utils.py", line 66, in __getitem__

[Mailman-Users] Re: Hevy resource footprint forces backdrop to mailman 2.1

2022-10-14 Thread Martin Lorenz
thanks, that one did the trick I think I kint of got ist up and running now. this ist how the site looks: https://list.poc.im/mailman3/lists/ I don't think, it should be like that. I already added ``` location /static/ { alias /opt/mailman/web/static; } ``` to my nginx config, b

[Mailman-Users] Re: Hevy resource footprint forces backdrop to mailman 2.1

2022-10-14 Thread Martin Lorenz
heureka! added two lines to the nginx config and now it seems up and running ... _location_ now looks like this: ``` location / { proxy_pass http://127.0.0.1:8000; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $remote_addr; prox

[Mailman-Users] Re: Hevy resource footprint forces backdrop to mailman 2.1

2022-10-14 Thread Martin Lorenz
i think, I hit a bug I had mailman up and running, sent testmails to a testlist, used the webinterface ... but than I played around with the domains. I had added one of my domains for the test list but in the archive interface I still had "example.com" as a header. so I switched over to the

[Mailman-Users] Re: Hevy resource footprint forces backdrop to mailman 2.1

2022-10-14 Thread Martin Lorenz
everything is nice and silky again ... that's what I finally did to the database: ``` sudo -u postgres psql postgres=# \connect mailmanweb mailmanweb=# insert into django_site(id, domain, name) values (1, 'example.com', ''); INSERT 0 1 mailmanweb=# insert into django_mailman3_maildomain(id, mail

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

2022-10-15 Thread Martin Lorenz
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 stammesleit...@list.poc.im /data/var/lib/mailman/archives/private/s

[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 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
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 yo

[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 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
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 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 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 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