Reference
Troubleshooting
Common problems, what causes them and what to do, starting with the sign-in loop.
Signing in bounces me straight back to the login screen
This is the most common problem. You are reaching Papyra over plain HTTP at
something other than localhost, and the browser is refusing to keep the
session cookie.
On a private network:
PAPYRA_ALLOW_INSECURE_COOKIES: "true"
Otherwise set up HTTPS. There is nothing wrong with your password.
The sidebar says “Server Offline” but the app works
The realtime connection cannot open, usually because a reverse proxy is not forwarding websockets. Add the upgrade headers (see HTTPS and reverse proxies).
Papyra keeps working: it falls back to periodic refreshes. What you lose is live updates across devices and the immediate offline signal.
Everyone got signed out after an upgrade
/data/.papyra/keys/ was lost or replaced. That directory holds the keys your
session cookies are signed with; without it every existing session is
unverifiable, and everyone just signs in again.
It lives on the data volume so this does not happen. If you are restoring from backup, make sure that directory is in it.
If anyone has locked notes or locked journal days, check them. The same keys
protect the file that seals those, so if the original keys/ is gone,
locked notes cannot be opened. Restore it from a copy if you have one.
Unlocked notes are never affected.
Search misses a note I can see
Rebuild the full-text index in Settings → Your data. It is derived data; rebuilding cannot lose anything.
If search works but looks cruder than usual and results are labelled partial, Papyra is matching locally in your browser because the server or index was unavailable. That is the fallback working as intended.
Notes I edited elsewhere have not appeared
Papyra watches the folder, so this should be immediate. If not:
- Check you edited under
/data/users/<you>/notes/and not a stale copy. - Some network filesystems do not emit change events. Restarting Papyra forces a full reconcile: it compares disk against cache before opening the port.
A conflict banner appeared
Two versions of the same note were written independently, usually by a syncing tool. Papyra kept both rather than picking a winner. Open the resolver, compare the two panes and choose.
To make it rarer, exclude .papyra/ from whatever you are syncing. It is
per-instance state, and syncing it between machines creates conflicts that mean
nothing.
The files are owned by root
Set PUID and PGID to your own user and restart:
PUID: "1000"
PGID: "1000"
Find yours with id -u and id -g. This only matters if you mounted a host
folder rather than using the named volume.
Passkeys are not offered
Passkeys require a secure context. They do not work over plain HTTP outside
localhost, and no Papyra setting changes that. It is the browser’s rule.
If they worked and then stopped, check whether the hostname changed. Passkeys
are bound to a domain, and PAPYRA_WEBAUTHN_DOMAIN must be the bare hostname,
with no scheme and no port.
Git backup stopped
Papyra refuses to force-push over a diverged remote. If history moved apart (you pushed from elsewhere, or rewrote it), the sync stops and says so rather than overwriting. Reconcile the remote by hand and it resumes.
Something else
Check the container logs first:
docker compose logs -f papyra
Then open an issue at github.com/lyfie-org/papyra with what you did, what happened, and the relevant log lines. Report anything security-related privately instead.
Something wrong or missing? Improve this page on GitHub.