On 11/26/21 10:21 AM, Mark Sapiro wrote:
On 11/26/21 9:49 AM, David Newman wrote:
On 11/25/21 1:16 PM, Mark Sapiro wrote:
What django admin command are you running?
As the mailman user, with venv activated:
(venv) mailman@lists:~$ hyperkitty_import -l testlist@lists.domain.com /var/lib/mailman/archives/private/testlist.mbox/testlist.mbox
hyperkitty_import is not a command. it is a subcommand to the django administration command. You need to run
mailman-web hyperkitty_import -l testlist@lists.domain.com /var/lib/mailman/archives/private/testlist.mbox/testlist.mbox
Bingo. Thank you!
When running the subsequent 'mailman-web update_index_one_list' command to index the imported archive, the command failed with a permissions error on '/opt/mailman/web/fulltext_index' because that directory didn't yet exist. Creating that directory and chown'ing it to mailman resolved that.
I'm still getting an error from the list page when clicking archives, but I'll investigate further and open a new thread if needed. Let's close this already overly long thread here.
Thanks *very* much for your patience in resolving the import issue. If nothing else this is good fodder for an eventual admin guide.
dn