From 3670c142e721bf34bfadde7e5f0c16bcf35148bd Mon Sep 17 00:00:00 2001 From: grugel-maintro <91802091+grugel-maintro@users.noreply.github.com> Date: Tue, 23 Aug 2022 17:27:49 +0000 Subject: [PATCH] Replace archive2 with archive #38 The messages aren't stored on the server as files. This is due to the use of archive2 instead of just archive as the prosody mam man page tells: > Legacy message archive > > Early versions of mod_mam (which were available in [prosody-modules](https://prosody.im/community_modules)) stored data in a store called 'archive2'. This store is now just called 'archive'. > > mod_mam can be instructed to use the older store name if you still have data there. > > archive_store = "archive2"; -- the old data > storage = { > archive2 = "sql"; > } --- conf.d/02-storage.cfg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.d/02-storage.cfg.lua b/conf.d/02-storage.cfg.lua index 05cdb2d..8c2c5f9 100644 --- a/conf.d/02-storage.cfg.lua +++ b/conf.d/02-storage.cfg.lua @@ -14,7 +14,7 @@ archive_store = "archive2" -- Use the same data store as prosody-modules mod_mam storage = { -- this makes mod_mam use the sql storage backend - archive2 = os.getenv("STORAGE"); + archive = os.getenv("STORAGE"); } -- https://modules.prosody.im/mod_mam.html