Custom Variables Are Not Saved On /app/data/config.json
-
I just updated the Vaultwarden to 1.25.0 and finding something unusual.
If I add new custom variables on /app/data/config.json and restart the app.
The configuration is gone, I just want to disable registration, and follow this instruction >> https://docs.cloudron.io/packages/vaultwarden/#disable-registration
"signups_allowed": false, "invitations_allowed": true,Do you face the same problem? For adding more context, my admin page is disabled.
Thank you
Regards -
Hello @inibudi
I have a suspicion that you could help me to validate.
Vaultwarden might 'cache' the config and remembers it on the restart and restores to its 'cached' state.
Can you try to put the app in recovery mode, make the edit and then start the app from the web terminal with/app/pkg/start.shto see if the change persists then? -
Hello @inibudi
I have a suspicion that you could help me to validate.
Vaultwarden might 'cache' the config and remembers it on the restart and restores to its 'cached' state.
Can you try to put the app in recovery mode, make the edit and then start the app from the web terminal with/app/pkg/start.shto see if the change persists then?/app/pkg/start.sh
Thank you James for your help but I still can't save the config.json.
Here's the terminal output when I run this command /app/pkg/start.sh
root@731a2:/app/data# /app/pkg/start.sh => Exporting env vars expected by Vaultwarden jq: error (at <stdin>:1): Cannot index string with string "domain" jq: parse error: Expected string key before ':' at line 1, column 20 => Generating new admin token => Starting Bitwarden /--------------------------------------------------------------------\ | Starting Vaultwarden | |--------------------------------------------------------------------| | This is an *unofficial* Bitwarden implementation, DO NOT use the | | official channels to report bugs/features, regardless of client. | | Send usage/configuration questions or feature requests to: | | https://github.com/dani-garcia/vaultwarden/discussions or | | https://vaultwarden.discourse.group/ | | Report suspected bugs/issues in the software itself at: | | https://github.com/dani-garcia/vaultwarden/issues/new | \--------------------------------------------------------------------/ [INFO] Using saved config from `/app/data/config.json` for configuration. [2026-05-12 12:31:05.199][vaultwarden][ERROR] Web vault is not found at 'web-vault/'. To install it, please follow the steps in: [2026-05-12 12:31:05.199][vaultwarden][ERROR] https://github.com/dani-garcia/vaultwarden/wiki/Building-binary#install-the-web-vault [2026-05-12 12:31:05.199][vaultwarden][ERROR] You can also set the environment variable 'WEB_VAULT_ENABLED=false' to disable it -
James, I found the solution. I forget to add {} before and after the variable, that makes my config.json error. Now, it's solved.
{ "signups_allowed": false, "invitations_allowed": true, }
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