From 07c3f35ab8e11f758298706b6a1f6f85dcc7092c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 9 Jan 2022 15:52:50 +0100 Subject: migrator: Also migrate host/non-user archive data Needed for things like mod_http_file_share --- tools/migration/prosody-migrator.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/migration/prosody-migrator.lua b/tools/migration/prosody-migrator.lua index bb8c8fdf..e50fcc76 100644 --- a/tools/migration/prosody-migrator.lua +++ b/tools/migration/prosody-migrator.lua @@ -202,9 +202,8 @@ local migration_runner = async.runner(function (job) local destination = assert(output_driver:open(store, typ)); local migrate = assert(migrate_once[typ], "Unknown store type: "..typ); - if typ == "keyval" then -- host data - migrate(origin, destination, nil); - end + + migrate(origin, destination, nil); -- host data for user in users(origin, host) do migrate(origin, destination, user); -- cgit v1.2.3