The server says what’s wrong in plain words, at start-up or in its log. The messages below are
the server’s own, quoted; find yours, then the fix. Start with:
Terminal window
drusite-servercheck-config# or: docker compose run --rm drusite check-config
pgvector isn't installed on this PostgreSQL server
Install pgvector 0.8 or newer, or use the pgvector/pgvector image.
pgvector isn't enabled in database "…" and this role can't enable it
As an administrator, in that database: CREATE EXTENSION vector;
Drusite needs pgvector 0.8 or newer; this server has …
ALTER EXTENSION vector UPDATE; after upgrading pgvector’s package.
the database has pending migrations and migrate_on_start is off; run \drusite-server migrate“
Run it, or turn migrate_on_start back on.
the database isn't migrated; run \drusite-server migrate` first`
A server command was run before the server ever started. Start the server once, or run migrate.
Keys
The server says
Fix
[keys] source is env, but DRUSITE_MASTER_KEY isn't set
Set it, or use source = "file". Make a key with drusite-server keys generate.
can't read /run/secrets/…
The key file isn’t mounted where path says.
each entry is id:key / key "…" isn't URL-safe base64 / key "…" is N bytes, not 32
The key was changed or cut short. Use what keys generate printed, whole.
checking the key source
With OpenBao or Vault: its address, the token (expired?), the mount, the key’s name, and the policy’s encrypt and decrypt paths.
Object store
The server says
Fix
checking the object store can be written
The bucket doesn’t exist, the credentials are wrong, or they can’t write, read and delete. Object storage.
[storage] set both access_key_id and secret_access_key, or neither
Set the pair, or neither to use the AWS_* variables or a role.
/readyz says failing
The log names the check (readiness check failed, with check set to database, storage or
keys) and its error. A storage check that fails only on AWS, while uploads work, usually means
the credentials can’t list the bucket: see Object storage.
Reverse proxies
What people see
Likely cause
The app connects, then shows offline every minute or so
The proxy’s WebSocket or read timeout. Raise it to an hour: Reverse proxies.
Sync never connects, but the web app’s pages load
The proxy doesn’t pass WebSockets on /api/v1/sync (Upgrade and Connection headers).
Attachments fail above a certain size (often 1 MB or 100 MB)
The proxy’s body limit (client_max_body_size, Caddy’s max_size, Traefik’s buffering middleware), or [attachments] max_bytes.
Ask’s answers appear all at once at the end, or time out
The proxy buffers responses. Turn buffering off for the server (proxy_buffering off).
Signing in from an app loops back to a login page that isn’t Drusite’s
A forward-auth or SSO layer in front of the server. Remove it, and use OIDC inside Drusite instead.
Agents can’t sign in
/.well-known/oauth-protected-resource, /oauth/… or /mcp aren’t passed through.
An agent says an encrypted workspace’s key isn’t in its sign-in
Its token was made on /account, or it signed in through the browser: neither carries a key. Make its token in the app (Settings → Agents → Make a token). If it says the key changed, open Drusite on a device of the token’s person so it gets the new one.
Signing in
The sign-in page says
Cause
this server doesn't let anyone create an account
Sign-up is off and there’s no invitation for this email. Accounts.
this link has expired or was already used; ask for a new one
Recovery and magic links work once. Make another with account recover.
finish signing in in the browser you started in
The sign-in began in one browser and the link was opened in another.
that email and password don't match an account
Wrong password, or the account has no password: it may use a passkey or OIDC.
requests from other sites aren't allowed
A request came from another origin: usually public_url doesn’t match the address in the browser.
Single sign-on
The sign-in page says
Cause
the sign-in was cancelled or refused at the provider
The provider refused: the person isn’t allowed the application there, or the redirect URI doesn’t match. The provider’s own log says which.
the provider sent no ID token / the provider's ID token didn't verify
The client isn’t an OIDC client (openid scope missing), or the issuer is wrong.
your account at the provider isn't in a group allowed to use this server
allowed_groups: the person isn’t in one, or the groups aren’t in the ID token (check groups_claim and the provider’s mapper).
your email address isn't one allowed to use this server
allowed_email_domains: the email isn’t in one, or the provider doesn’t say it’s verified.
this server doesn't let anyone create an account
A first sign-in, with auto_create off and no invitation.
The server logs OIDC discovery for … failing
The issuer is wrong. It must match the provider’s exactly, trailing slash included (Authentik has one, Keycloak and Google don’t).
Sync and the apps
The app says
Cause
The workspace needs a newer app
The workspace is end-to-end encrypted and the app speaks sync protocol 1. Update the app.
Changes from this device couldn’t be checked. Restart Drusite.
The server refused a push it couldn’t attribute to this device. Restarting makes the device write as a new peer.
You can view this workspace but not edit it.
The person is a viewer; the edit is rolled back.
A new canvas can’t be made
The server is older than 1.0.
Search by meaning finds nothing new
The embedding model is down or changed; the server re-embeds in the background, and sweeps for missed pages every ten minutes.
Search the issues, or open one with the server’s
version (/api/v1/version), what you ran, and the log lines around the error. Remove addresses,
emails and tokens from logs first. Security problems go privately, as
SECURITY.md says.