Compare commits

..
Author SHA1 Message Date
MickLesk 811457e487 Arcane: show the generated admin password
Arcane 3 no longer ships arcane-admin as the default password. On first
start it generates one and writes it to /app/data/initial-admin-password.
The install now reads that file and prints it instead of the old default.

Fixes #18778
2026-11-16 22:27:02 +01:00
+7 -1
View File
@@ -130,6 +130,12 @@ function install() {
msg_info "Starting ${APP}"
cd "$INSTALL_PATH"
$STD docker compose up -d
local ADMIN_PASS=""
for _ in {1..30}; do
ADMIN_PASS=$(docker cp arcane:/app/data/initial-admin-password - 2>/dev/null | tar -xO 2>/dev/null || true)
[[ -n "$ADMIN_PASS" ]] && break
sleep 1
done
msg_ok "Started ${APP}"
# Create update script
@@ -148,7 +154,7 @@ UPDATEEOF
echo -e "Arcane Credentials"
echo -e "=================="
echo -e "User: arcane"
echo -e "Password: arcane-admin"
echo -e "Password: ${ADMIN_PASS:-run 'docker cp arcane:/app/data/initial-admin-password - | tar -xO'}"
echo ""
msg_warn "On first access, you'll be prompted to change your password."
}