Template Name
Supabase
Relevant Logs of the Error
[error] Postgrex.Protocol (#PID<0.5529.0>) failed to connect: ** (Postgrex.Error) FATAL 28P01 (invalid_password) password authentication failed for user "supabase_admin"
(Note: This error loops continuously in the Logflare/Analytics container, preventing other dependent containers from transitioning from "created" to "running").
Steps to Reproduce the Error
- Deploy the Supabase template normally.
- Wait for the initial deployment to finish successfully.
- Stop the project in the Dokploy dashboard.
- Go to Environment settings and update the POSTGRES_PASSWORD (and other related secrets).
- Start/Deploy the project again.
- Error occurs: The analytics container (and others) crash with invalid_password because the Postgres database retained the initial password from the first boot.
- Attempted Workaround: Stop the project and delete the database volume via the "Advanced/Volumes" tab in the Dokploy UI to force a fresh Postgres initialization.
- Deploy again.
- Error persists: The volume is not properly recreated, or the underlying data persists on the host.
Expected behavior: > Updating .env variables and redeploying should either gracefully update the services, OR if a user manually deletes a volume via the UI to start fresh, the underlying physical folders should be wiped so the next deploy can initialize a clean database with the new passwords.
Actual behavior: > The database retains the initial password regardless of .env changes. Deleting the volume via the Dokploy UI does not actually wipe the physical data directory on the host, making it impossible to update passwords or do a clean reset without SSH-ing into the server to run rm -rf on the hidden bind mount folders.
Question for maintainers: How are we supposed to securely update database passwords or reset the database if updating the .env fails and the UI volume deletion doesn't clear the host directory?
Environment Information
Operating System: Linux (Ubuntu/Debian)
Dokploy version: v0.29.1
VPS Provider: Hostinger
Template Version: Supabase 1.25.04
Browser: Chrome
When does this error occur?
After successful deployment
Additional Context
No response
Will you send a PR to fix it?
Yes
Template Name
Supabase
Relevant Logs of the Error
[error] Postgrex.Protocol (#PID<0.5529.0>) failed to connect: ** (Postgrex.Error) FATAL 28P01 (invalid_password) password authentication failed for user "supabase_admin"(Note: This error loops continuously in the Logflare/Analytics container, preventing other dependent containers from transitioning from "created" to "running").
Steps to Reproduce the Error
Expected behavior: > Updating .env variables and redeploying should either gracefully update the services, OR if a user manually deletes a volume via the UI to start fresh, the underlying physical folders should be wiped so the next deploy can initialize a clean database with the new passwords.
Actual behavior: > The database retains the initial password regardless of .env changes. Deleting the volume via the Dokploy UI does not actually wipe the physical data directory on the host, making it impossible to update passwords or do a clean reset without SSH-ing into the server to run rm -rf on the hidden bind mount folders.
Question for maintainers: How are we supposed to securely update database passwords or reset the database if updating the .env fails and the UI volume deletion doesn't clear the host directory?
Environment Information
When does this error occur?
After successful deployment
Additional Context
No response
Will you send a PR to fix it?
Yes