mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #1072] Bitwarden rs isn't finding web-vault when running as non-root #759
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#759
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 @hoshsadiq on GitHub (Jul 25, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1072
Hello, I'm trying to run bitwarden_rs as a non-root user docker, so I've extended the Dockerfile to add the necessary new user, fix the ownership of all relevant directories, then finally start bitwarden_rs. After a lot of trial and error, I am currently stuck where bitwarden_rs complains about not finding the web-vault. It works fine when running as root, but not as the newly created user.
I've even tried setting using
export WEB_VAULT_FOLDER=/web-vault/but to no avail. What am I doing wrong?The log entries:
Note: I've tried increasing logging, but this is all that's being returned.
The dockerfile I'm using:
@BlackDex commented on GitHub (Aug 16, 2020):
Hello @hoshsadiq i would suggest to checkout: https://github.com/dani-garcia/bitwarden_rs/wiki/Hardening-Guide#run-as-a-non-root-user
@BlackDex commented on GitHub (Nov 18, 2020):
Closing this ticket because of inactivity.
Feel free to re-open if the issue isn't resolved using the
testing/masterversion or the mentioned option in the comments above.