mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #4511] [Postgresql/DB] Database URL changes not respected #1908
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1908
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @Crow-Control on GitHub (Apr 18, 2024).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4511
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
@BlackDex commented on GitHub (Apr 18, 2024):
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.@Crow-Control commented on GitHub (Apr 18, 2024):
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!
@Crow-Control commented on GitHub (Apr 18, 2024):
Can confirm user error, issue can stay closed.