diff --git a/install/ente-install.sh b/install/ente-install.sh index e3a4eba3..ad304d93 100644 --- a/install/ente-install.sh +++ b/install/ente-install.sh @@ -106,6 +106,9 @@ key: jwt: secret: $SECRET_JWT +internal: + admins: [] + # SMTP not configured - verification codes will appear in logs # To configure SMTP, add: # smtp: @@ -310,7 +313,7 @@ if [ -z "$1" ]; then fi EMAIL="$1" echo "Upgrading subscription for: $EMAIL" -ente admin update-subscription -a "$EMAIL" -u "$EMAIL" --no-limit +ente admin update-subscription -a "$EMAIL" -u "$EMAIL" --no-limit True EOF chmod +x /usr/local/bin/ente-upgrade-subscription diff --git a/json/ente.json b/json/ente.json index 6539a689..7b21365b 100644 --- a/json/ente.json +++ b/json/ente.json @@ -41,7 +41,11 @@ "type": "warning" }, { - "text": "First-Start: Add your account to the CLI: `ente account add` (server URL: http://localhost:8080)", + "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: Add your account to the CLI: `ente account add` (export dir: any path, e.g. /photos)", "type": "warning" }, { @@ -57,4 +61,4 @@ "type": "info" } ] -} +} \ No newline at end of file