From 220ec2ed27f4a83997fb4730de4521c05bf9a793 Mon Sep 17 00:00:00 2001 From: Auke Noppe Date: Mon, 16 Feb 2026 14:51:02 +0100 Subject: [PATCH] Add restore database role to init-mongo.sh example in the README When restoring an installation from a fresh install, the user used to authenticate with MongoDB lacked the permissions to drop the restore database, which caused the restore to fail completely. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f1db190..8c594af 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,7 @@ db.createUser({ { db: "${MONGO_DBNAME}", role: "dbOwner" }, { db: "${MONGO_DBNAME}_stat", role: "dbOwner" }, { db: "${MONGO_DBNAME}_audit", role: "dbOwner" } + { db: "${MONGO_DBNAME}_restore", role: "dbOwner" } ] }) EOF