From 30a29142a06b8f1d35b56572a64f3d5a5363350e Mon Sep 17 00:00:00 2001 From: Phillip Tarrant Date: Wed, 19 Nov 2025 19:53:40 -0600 Subject: [PATCH] Fix password not being set when regenerating .env in setup.sh Remove the database init marker when regenerating .env file so that the docker entrypoint will re-run password initialization with the new INITIAL_PASSWORD value on next container start. --- setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.sh b/setup.sh index 268391e..a933f7d 100755 --- a/setup.sh +++ b/setup.sh @@ -79,6 +79,10 @@ CORS_ORIGINS=* EOF echo "✓ .env file created with secure keys" + + # Remove the init marker so the password gets set on next container start + rm -f data/.db_initialized + echo "✓ Password will be updated on next container start" fi # Create required directories