Help with mailman2 to mailman3 archive migration
Hello all,
I'm having some issues with a migration I'm performing right now from our old mailman2 server to a mailman3 one. The mailing lists imports work fine, but the archives seems to work sometimes: This means that some lists archives appear but others are missing when browsing the archives in the web UI. This happens despite the command line telling me that the import went fine. Here are the steps I run for the archives:
# Copy the archives into the my new server
# Cleaning old archives, where $LIST is my mailing list name $ /opt/mailman3/venv/lib/python3.11/site-packages/hyperkitty/contrib/check_hk_import /opt/mailman3/archives/private/"$LIST".mbox/"$LIST".mbox $ /opt/mailman3/venv/lib/python3.11/site-packages/hyperkitty/contrib/cleanarch3 /opt/mailman3/archives/private/"$LIST".mbox/"$LIST ".mbox
# Importing the archives $ mailman-web hyperkitty_import -l "$LIST@my.domain.com" /opt/mailman3/archives/private/"$LIST".mbox/"$LIST".mbox
# Indexing the new archive $ mailman-web update_index_one_list "$LIST@my.domain.com"
Here is also an example log of an archive I'm migrating that does not appear in the UI, for reference (list and domain were renamed for privacy):
$ mailman-web hyperkitty_import -l my_list@domain.com --since=1900-01-01 /opt/mailman3/archives/private/my_list.mbox/my_list.mbox Importing from mbox file /opt/mailman3/archives/private/my_list.mbox/my_list.mbox to my_list@domain.com Computing thread structure Synchronizing properties with Mailman Adding admin as owner of MailingList: my_list.lists.domain.com 2070 emails left to refresh, checked 1000 2070 emails left to refresh, checked 2000 Warming up cache The full-text search index is not updated for this list. It will not be updated by the 'minutely' incremental update job. To update the index for this list, run the Django admin command with arguments 'update_index_one_list my_list@domain.com'.
$ mailman-web update_index_one_list my_list@domain.com Indexing 22 emails
Any help would be greatly appreciated, I'm very lost here...
Cheers,
On 4/2/24 01:49, francisco.lopezayuso@sib.swiss wrote:
Hello all,
I'm having some issues with a migration I'm performing right now from our old mailman2 server to a mailman3 one. The mailing lists imports work fine, but the archives seems to work sometimes: This means that some lists archives appear but others are missing when browsing the archives in the web UI. This happens despite the command line telling me that the import went fine. Here are the steps I run for the archives:
All of which look fine.
Have you set
FILTER_VHOSTS = True
in your Django settings? If so, does setting it False
make a difference?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
francisco.lopezayuso@sib.swiss
-
Mark Sapiro