Dear Mr Sapiro,
thank you very much for your help. The required command is:
# mailman-web hyperkitty_import
-l mailman21-migration-test-04@mailman.uni-konstanz.de
/var/mailman21/testlist.mbox
Due to the following warnings, I still have to customize Hyperkitty:
django_mailman3.MailDomain: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the DjangoMailman3Config.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. ...
Can you give me another hint? As Linux admin I installed the packages mailman and mailman-web that were offered to me under Debian 12. Although during the installation of the packages user "list" was created, I cannot use it:
# su - list This account is currently not available
As with Mailman 2.1, I will probably have to continue working with Mailman3 as root. Too bad that there is no documentation for Debian admins like me, who don't want to dive too deep into the python framework. Or have I overlooked something?
Best regards, Markus
Am 25.03.24 um 18:56 schrieb Mark Sapiro:
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 likedjango-admin
ormailman-web
.Also the
#
prompt indicates you may be running as root. Mailman related commands should be run as the Mailman user (could bemailman
orlist
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.
-- Markus Ludwig Grandpré Universität Konstanz Kommunikations-, Informations-, Medienzentrum (KIM) Abteilung IT-Dienste Forschung und Lehre, B803, Tel: ++49 7531 88 4342