mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[PR #2873] [MERGED] check if sqlite folder exists #3171
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#3171
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?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/2873
Author: @stefan0xC
Created: 10/27/2022
Status: ✅ Merged
Merged: 12/1/2022
Merged by: @dani-garcia
Base:
main← Head:check-sqlite-folder📝 Commits (2)
2f9d706check if sqlite folder exists5a13efeonly check sqlite parent if there could be one📊 Changes
2 files changed (+14 additions, -13 deletions)
View changed files
📝
src/config.rs(+9 -1)📝
src/db/mod.rs(+5 -12)📄 Description
Instead of creating the parent folders to a sqlite database vaultwarden should just exit.
This should fix most issues like #2835 where a wrongly configured
DATABASE_URLfalls back to using sqlite.Fixes #2873
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.