mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-16 02:22:14 -05:00
[PR #2873] [MERGED] check if sqlite folder exists #20006
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?
📋 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.