Hi,
It's a complete migration, not just a upgrade. I rebuild every things on the new server, without data transfers (mailman data dir) other than archives.
"" You can't import a gzipped mbox. You have to gunzip it. "" Omfg, yes indeed, it's work better... I have just a problem with statistics not available.
"" it won't import any messages older than the most recent message in the existing archive "" It should be not a problem. I will do a dead time to process this change.
Stop prod / migrate archives / start prod on new server.
Thanks,
Thomas.
Le mar. 2 oct. 2018 à 05:11, Mark Sapiro <mark@msapiro.net> a écrit :
On 09/30/2018 11:42 PM, Thomas G wrote:
Hi,
I would like to migrate my current Mailman3.1/Hyperkitty data to a fresh install in Mailman3.2.
I didn't found how migrate the archives.
From : HyperKitty - Version: 1.1.1 - Python2.7 To : HyperKitty - Version: 1.2.1 - Python3.5
As Abhilash said, you shouldn't need to migrate anything but the search index.
I exported a mbox from hyperkitty (web interface) and tried to re-import it, without result. """""""""""""""""""""""""""""""""""""""" xxxx @xxxxxx :/opt/mailman# python3.5 manage.py hyperkitty_import -l listedetests@hatlab.fr /home/admin/listedetests@hatlab.fr.mbox.gz
Importing from mbox file /home/admin/listedetests@hatlab.fr.mbox.gz to listedetests@hatlab.fr
You can't import a gzipped mbox. You have to gunzip it.
Computing thread structure Synchronizing properties with Mailman 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 'manage.py update_index_one_list listedetests@hatlab.fr' command. """""""""""""""""""""""""""""""""""""" The database stay empty (and web interface): """""""""""""""""""""""""""""""""""""" mailmandbnameprod=# select * from hyperkitty_email; id | message_id | message_id_hash | subject | content | date | timezone | in_reply_to | archived_date | thread_depth | thread_order | mailinglist_id | parent_id | sender_id | thread_id | sender_name
----+------------+-----------------+---------+---------+------+----------+-------------+---------------+--------------+--------------+----------------+-----------+-----------+-----------+-------------
(0 rows) """"""""""""""""""""""""""""""""""""""
Any idea to do this importation ?
Why is the database empty? It should be as it was with the prior HyperKitty.
Also, it doesn't seem to be the issue here, but if you don't specify a --since option to hyperkitty_import, it won't import any messages older than the most recent message in the existing archive. i.e., if there are any messages in the existing archive, the default for --since is the date of the most recent such message.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/