Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Vaultwarden
  3. Custom Variables Are Not Saved On /app/data/config.json

Custom Variables Are Not Saved On /app/data/config.json

Scheduled Pinned Locked Moved Vaultwarden
4 Posts 2 Posters 34 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    IniBudi
    translator
    wrote last edited by
    #1

    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

    1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      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.sh to see if the change persists then?

      I 1 Reply Last reply
      0
      • jamesJ james

        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.sh to see if the change persists then?

        I Offline
        I Offline
        IniBudi
        translator
        wrote last edited by
        #3

        @james said:

        /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
        
        1 Reply Last reply
        1
        • I Offline
          I Offline
          IniBudi
          translator
          wrote last edited by
          #4

          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,
          }
          
          1 Reply Last reply
          2

          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search