Vaultwarden warnings
-
Added some of this info to the Cloudron docs (i.e. merge request).
Note (as I struggled to login): The token to enter in the admin login page is NOT the generated argon token but the password you used to generate the token. -
@necrevistonnezr thanks, its merged and public https://docs.cloudron.io/apps/vaultwarden/#admin
-
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
-
It should be noted that inputting the data incorrectly (I did this on accident) will cause vaultwarden to completely delete the config.json contents in an error.
-
@girish Maybe it was an issue I caused, but what I did was:
- Login to my cloudron
- Go to Vaultwarden app
- Launch file explorer
- edit config.json to put in hash, but left out all quotes (double and single) for the admin_token variable
Like This:
{ ...... "admin_token": PretendIAmAHash, "disable_admin_token": false, ...... }- Restart the app
- config.json was then COMPLETELY blank (as if Vaultwarden removed all the config due to a bad admin-hash??)
I was able to recover from a previous backup, but others may not be so lucky.
-
@necrevistonnezr thanks, its merged and public https://docs.cloudron.io/apps/vaultwarden/#admin
@nebulon said in Vaultwarden warnings:
@necrevistonnezr thanks, its merged and public https://docs.cloudron.io/apps/vaultwarden/#admin
Thanks, but these instructions don't work for me

They say:
Therefore, open a web terminal and run
# app/code/vaultwarden hash Generate an Argon2id PHC string using the 'bitwarden' preset: Password: Confirm Password:But in my web terminal for my Vaultwarden I can't get to
app/code/vaultwardenand runninghashinapp/code/just results inhash: hash table emptyI also tried typing
app/code/vaultwarden hashbut that didn't work either, just resulted inbash: app/code/vaultwarden: No such file or directoryAnd after looking at https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page#secure-the-admin_token I also tried just typing
vaultwarden hashbut that just results inbash: vaultwarden: command not foundHelp!
-
@nebulon said in Vaultwarden warnings:
@necrevistonnezr thanks, its merged and public https://docs.cloudron.io/apps/vaultwarden/#admin
Thanks, but these instructions don't work for me

They say:
Therefore, open a web terminal and run
# app/code/vaultwarden hash Generate an Argon2id PHC string using the 'bitwarden' preset: Password: Confirm Password:But in my web terminal for my Vaultwarden I can't get to
app/code/vaultwardenand runninghashinapp/code/just results inhash: hash table emptyI also tried typing
app/code/vaultwarden hashbut that didn't work either, just resulted inbash: app/code/vaultwarden: No such file or directoryAnd after looking at https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page#secure-the-admin_token I also tried just typing
vaultwarden hashbut that just results inbash: vaultwarden: command not foundHelp!
@jdaviescoates Just to confirm, cause it's not in your post, you need to run
/app/code/vaultwardennotapp/code/vaultwarden; Linux is VERY particular about file paths lol make sure you have the prefixed/as it is needed to produce a "full path" to the vaultwarden binary.
-
@jdaviescoates Just to confirm, cause it's not in your post, you need to run
/app/code/vaultwardennotapp/code/vaultwarden; Linux is VERY particular about file paths lol make sure you have the prefixed/as it is needed to produce a "full path" to the vaultwarden binary.
@murgero said in Vaultwarden warnings:
@jdaviescoates Just to confirm, cause it's not in your post, you need to run
/app/code/vaultwardennotapp/code/vaultwarden; Linux is VERY particular about file paths lol make sure you have the prefixed/as it is needed to produce a "full path" to the vaultwarden binary.
That was it, thank you!

@staff that all important
/at the beginning is missing from the docs! -
@necrevistonnezr thanks! I would've submitted a PR myself but I had to dash out to collect my children from school

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login