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