Skip to content

Troubleshooting

Scope: symptom → cause → fix, every entry one the lab watched happen or could reproduce from a transcript. The pattern to learn once: this server almost always tells you the truth — in its startup log, its error text, or its config answer. Read those before restarting anything.

The vault address shows a 404 page

The server's own "404: Not Found" page at / (t03) means one of two things. The web vault is not enabled or not found: a bare binary has none until WEB_VAULT_FOLDER points at the separate build (chapter 2), while the container image bundles it — check vaultwarden --version for "Web-Vault Version file missing" (t01, t24). Or you're asking the wrong port: the server's own port serves the API and (only with the vault enabled) the page; the domain's address is the proxy's (chapter 4). If /alive answers on the same address (chapter 10), the server is fine and the page's absence is the whole problem.

The web vault loads but login fails

The page rendered; the cryptography never ran. The browser gives Web Crypto only in a secure context (chapter 4): an http:// address on the network is the usual cause, a certificate the browser rejected is the other. Fix the TLS; there is no server-side override, and any you find described online is a browser development flag, not a setting to run a vault on.

"Registration not allowed or user already exists"

Registration is closed (SIGNUPS_ALLOWED=false), or the address already has an account — the message refuses to say which, on purpose (chapter 5, t18). If you expected to be able to register: check the setting on the current process (a restart picks up config changes; a running server keeps its old ones), or be invited instead — invitations pass a closed door by design.

The server won't start: invalid ADMIN_TOKEN

[ERROR] The configured Argon2 PHC in ADMIN_TOKEN is invalid:
'invalid Base64 encoding'

The lab produced this verbatim by carrying a stray character into the PHC string from a terminal capture. The hash is one long unbroken value; quotes, line wraps, and a copied prompt character all break it the same way. Re-copy it whole, or regenerate with vaultwarden hash (t17) and paste once.

An old client can't register, or gets strange 404s

Registration moved. The endpoints older clients and older tutorials use were removed in 1.37.4 (t05b), and the finish response changed shape between 1.37.3 and 1.37.4 (t22, chapter 3). Client far behind server is the mismatch that breaks first here; update the client from its store, and treat any guide whose screenshots show the old flow as a history document.

It worked on the server itself, breaks everywhere else

Almost always DOMAIN (chapter 4). Read the server's own answer:

curl https://vault.example.test/api/config

If the environment block lists http://localhost or the wrong name, every link, invitation, and API address the server hands out is built on that lie (t03 vs t21). Fix DOMAIN to the public address, restart, and ask again.

Sync never updates itself between devices

Edits arrive eventually, never at once. Live sync rides the WebSocket at /notifications/hub; behind a proxy without the upgrade headers it falls back to polling (chapter 4). Nothing is broken, which is why this survives for months: check the proxy's notifications block against examples/nginx-vault.conf.

The admin page is a 404 and you never turned it off

Or it's freshly on and still 404s. The page exists only when ADMIN_TOKEN is set in the environment the process started with — set it and restart; unset it and it vanishes (chapter 5). If it was set and the file-based config grew a config.json from a settings save, remember the precedence: environment wins — but only values actually in the environment.

Logged out everywhere, all at once

The signing key changed or the database was restored without it. rsa_key.pem signs every session (chapter 7); a restore that pairs an old database with a fresh key invalidates all sessions at a stroke. Re-login fixes it; restoring the key alongside the database prevents it. Nothing in the vaults themselves is affected.

"My account is gone" (it isn't)

Two shapes. The app is pointed at the wrong server — it defaults to Bitwarden's cloud, and your account was never there (chapter 3's warning); set the self-hosted address before logging in. Or the server was started against a different data folder — an empty DATA_FOLDER is a brand-new world with the same banner. Check which folder the running process owns before touching anything; the old world is usually one path away.