mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 01:10:09 +03:00
[Postgresql/DB] Database URL changes not respected #505
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PrivatePuffin on GitHub.
Subject of the issue
When changing the DATABASE_URL ENV var, the change isn't respected and the application still tries to access the old url.
This is primarily important when database passwords change.
Having this as an env-var gives the impression it does more than just set it at first boot.
Deployment environment
Docker/Helm/Kubernetes, irrelevant (container feature)
Latest (All?)
Install method:
MySQL/MariaDB or PostgreSQL version:
Postgresql, should alson happen with MariaDB
Other relevant details:
Steps to reproduce
Expected behaviour
Actual behaviour
Troubleshooting data
Might be related to using the admin interface afterwards or not, this I would need to verify
@PrivatePuffin commented on GitHub:
Can confirm user error, issue can stay closed.
@PrivatePuffin commented on GitHub:
Well it's not me, it's one of our users...
I might've been to receptive for the feedback there, i'll reopen if I can reproduce more thoroughly!
@BlackDex commented on GitHub:
You probably have changed/saved the config via the Admin Interface, in that case there is a
config.jsonlocated in the data directory. Values in theconfig.jsonoverride environment variables.