Skip to content

Updating

Scope: how an update actually goes (stop, swap, start — proven across a real release boundary in the lab), why this project's release history makes updating a habit rather than an event, and the two version numbers you learned to tell apart in chapter 3.

The lab crosses a release

The fairest test of "can I update this thing" is to build a life on one version and move it to the next. The lab did: a fresh 1.37.3 server, a new account (Uma, t22) with a login item in her vault, then the server stopped, the 1.37.4 binary started on the same, untouched data folder, and the checks run again (t23): fresh login, 200; the item read back, identical. No migration tool, no export and import, no ceremony. The database schema rides along with the binary, and the binary handles its own older folders.

In the shape most readers run, the whole update is:

# take the chapter-7 snapshot first
docker compose pull
docker compose up -d
docker compose logs -f    # the banner, the new version

and for a binary install, replace the file and restart the service. The banner at startup (t04) is your confirmation: it prints the new version before it prints anything else.

Why "later" is the wrong default

Vaultwarden's releases land roughly monthly, and security fixes land in them: 1.37.4 — the version this guide was built against, released 2026-10-05 — carried fixes scored up to 8.1 (High): an organisation member-revocation flaw that could escalate privileges, two-step login weaknesses, invitation handling, and attachment checks, several reported by outside researchers. A vault server is the one program in the house whose changelog you cannot afford to treat as noise, because its entire job is being the thing an attacker wants.

Two habits make updates cheap:

  • Subscribe to the releases (the project's GitHub has a watch button; release notes are short and specific about security content).
  • Snapshot before, restart, skim the banner. The whole loop is minutes. If a release ever did misbehave, the chapter-7 restore is the way back — which is why backup and update are neighbouring chapters.

The two version numbers, once more

Chapter 3 met them: the server version (1.37.4) is Vaultwarden's own, while the protocol version the server reports to clients (2026.6.0 in /api/config, t03) follows Bitwarden's numbering, because it describes the client-facing behaviour. Both move, on different clocks, and neither substitutes for the other when you're asking "am I current?" The clients move too, and the registration flow has already changed shape once across the versions this lab touched (chapter 3: 1.37.3 answered register with {"object": "register"}, 1.37.4 with "registerFinish", and the old endpoints are gone from 1.37.4 entirely). The practical rule: keep the server current, let the clients update from their stores as usual, and when an old client misbehaves against a new server, believe chapter 11 before you believe anything is lost.