mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[PR #1443] [MERGED] Check for data folder on startup #2958
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#2958
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/1443
Author: @jjlin
Created: 2/27/2021
Status: ✅ Merged
Merged: 2/28/2021
Merged by: @dani-garcia
Base:
master← Head:data-folder📝 Commits (1)
513056fCheck for data folder on startup📊 Changes
3 files changed (+34 additions, -4 deletions)
View changed files
📝
src/api/admin.rs(+2 -2)📝
src/main.rs(+23 -2)📝
src/util.rs(+9 -0)📄 Description
Currently, when starting up for the first time (running standalone, outside of Docker), bitwarden_rs panics when the
openssltool isn't able to createdata/rsa_key.pemdue to thedatadir not existing:Instead, we should print a more helpful error message telling the user to create the directory:
Or when running in Docker/Podman:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.