# HG changeset patch # User Kim Alvefur # Date 1641739970 -3600 # Node ID 79a51a48bdaf1606b1c71f2e3735da1bf7bdb52a # Parent 85f03b29ec7250540362028203e51cb1d2fe1d3d migrator: Also migrate host/non-user archive data Needed for things like mod_http_file_share diff -r 85f03b29ec72 -r 79a51a48bdaf tools/migration/prosody-migrator.lua --- a/tools/migration/prosody-migrator.lua Sun Jan 09 15:50:21 2022 +0100 +++ b/tools/migration/prosody-migrator.lua Sun Jan 09 15:52:50 2022 +0100 @@ -202,9 +202,8 @@ 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);