On 3/25/24 07:58, Markus Grandpre wrote:
Dear list members,
when following the instructions to migrate list archives from Mailman21 to Mailman3 (see [1]), I face the following problem:
# python3 manage.py hyperkitty_import -l mailman21-migration-test-04 /var/mailman21/testlist.mbox python3: can't open file '/var/mailman21/manage.py': [Errno 2] No such file or directory
and have no clue, where to find the right <manage.py> file. The command
This depends on how you installed Mailman 3. You may or may not want
python3 manage.py
at all. The required command could be something like
django-admin
or mailman-web
.
Also the #
prompt indicates you may be running as root. Mailman
related commands should be run as the Mailman user (could be mailman
or list
or ... depending again on how you installed Mailman). Running
as root can create files owned by root that later can't be read by the
Mailman user.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan