On Oct 5, 2019, at 12:22 PM, Mark Sapiro <mark@msapiro.net> wrote:
You could just run, e.g.,
sudo -u list bin/mailman import21 ...
which will work even if 'list' can't log in.
That’s what I get for being old school and just su’ing to the user. Thanks.
If you run hyperkitty_import --since=1990-01-01, that should do it.
Awesome - rerunning now. Thank you.
As far as "the archives for many months consist of just a single identical thread", were there error messages when you ran the initial import? Were there issues in the imported mbox that you have corrected? Mailman 2.1's bin/cleanarch can help identify unescaped 'From ' lines that cause problems.
Yes, I ran the archive mbox through cleanarch before importing it. It’s a 24GB mbox file with 17 years of archives for a very active mailing list.
If unescaped 'From ' lines is the issue and you have fixed them, rerunning the import should import the messages correctly, but it won't delete the bogus threads. You can delete these threads manually in HyperKitty if you are logged in as a Django superuser.
Great - thank you.
I see the occasional “table is locked” error (I am running against sqlite because I only run a couple of lists and I was having issues getting the postgres config working) so it skips the occasional message. We’ll see what happens this time.
Your help is much appreciated.
- Mark
mark@pdc-racing.net | 408-348-2878