From dbabc9a1c2f60d96e3bdf648b0c9557c3a868273 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 27 Mar 2026 15:38:07 +0100 Subject: [PATCH] fix(ente): remove explicit admins:[] from museum.yaml The 'internal.admins' field expects user IDs, not emails. Setting it to an empty array explicitly disables admin access. Without the field, museum falls back to treating the first registered user as admin, which is the correct behavior for self-hosted instances. --- install/ente-install.sh | 3 --- json/ente.json | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/install/ente-install.sh b/install/ente-install.sh index ad304d93..cf59ad1f 100644 --- a/install/ente-install.sh +++ b/install/ente-install.sh @@ -106,9 +106,6 @@ key: jwt: secret: $SECRET_JWT -internal: - admins: [] - # SMTP not configured - verification codes will appear in logs # To configure SMTP, add: # smtp: diff --git a/json/ente.json b/json/ente.json index 7b21365b..8b029c2e 100644 --- a/json/ente.json +++ b/json/ente.json @@ -41,8 +41,8 @@ "type": "warning" }, { - "text": "First-Start: Add your email as admin in museum.yaml: under `internal: admins:` add your email, then `systemctl restart ente-museum`", - "type": "warning" + "text": "First-Start: The first registered user automatically becomes admin", + "type": "info" }, { "text": "First-Start: Add your account to the CLI: `ente account add` (export dir: any path, e.g. /photos)",