Help center/Reference

ARTICLE / Reference

Troubleshooting

Work from the symptom: this page groups fixes by phone and browser, server and API, and desktop, so you can skip the side that is already healthy.

Before you start

  • First locate which side the symptom is on: a message on the phone/browser, or a server startup failure / API error.
  • Exact error strings (like https is required for api requests) make the best search keywords — more precise than describing the symptom.
  • For server problems, read the container log first: the first line of docker compose logs novara-sync is often the answer.

Phone / browser side

SymptomCauseFix
"this browser does not support the required encryption capability"Not a secure context: plain HTTP, or a self-signed certificate the phone does not trustUse HTTPS; self-signed requires installing the CA and enabling full trust (most often missed on iOS)
"incomplete link"The URL has no #s=<spaceId> fragmentUse the full link copied by the desktop; launching from a home-screen icon also shows this — a known limitation
"token invalid or revoked"Copied wrong, regenerated, or revokedCopy it again; I/L→1 and O→0 fold automatically — no manual fixing needed
"incorrect passphrase"What you typed is not that passwordIt is the Novara unlock password that wraps the space key — the same one "view space key" on the desktop asks for
Unlock keeps hitting 429 rate limitingToo many failures for this space within the window (1 minute, threshold 10)Wait a minute and retry; it is rate limiting, not a credential error — do not hammer retries
The link opens onto 127.0.0.1The proxy did not forward X-Forwarded-Proto/HostUse the repo's Caddyfile; for a cross-machine proxy, add its IP to NOVARA_SYNC_TRUSTED_PROXIES
The phone opens but spins foreverServer down / tunnel broken / DNS changedConfirm the server process first, then the tunnel
Cannot install the PWA / manifest errorsThe proxy rewrote the application/manifest+json MIME typeUse the repo's Caddyfile; or run python Tools/web_selfcheck.py to locate it
Service Worker not registeredsw.js MIME is not JavaScript, or a missing viewer.js makes cache.addAll fail as a wholeSame as above

Server / API side

SymptomCauseFix
/api always 403, exact error https is required for api requestsThe request does not look like HTTPS to the server: the proxy did not send X-Forwarded-Proto, a cross-machine proxy is not in NOVARA_SYNC_TRUSTED_PROXIES, or the plaintext port is exposed to the networkAdd the protocol header / register the proxy IP / never expose the plaintext port
Exits at startup with refusing to start + the data directory cannot be writtenWrong owner on the bind-mounted ./data (the container runs as uid 1654)Run sudo chown -R 1654:1654 ./data as the error says, or switch to a named volume
Exits at startup with refusing to start + the web rootNOVARA_SYNC_WEB_ROOT points at a location containing the data directory, or the site tree has junctions / symlinks — static serving would expose the ciphertext vaultPoint the web root at a pure site directory, or move the data directory out of it; bring external content into the site directory instead of linking
409 version_conflictBoth sides edited; the upload's base version is staleNormal mechanism: export both versions / take the cloud / explicit force overwrite as prompted. Not an error state — do not rush to "fix" it
507 quota_exceededThe space quota (500 MiB by default) is used upThe body carries usedBytes / limitBytes; delete old versions or raise NOVARA_SYNC_QUOTA_BYTES
413 payload_too_largeA single upload exceeded the 64 MiB capRaise NOVARA_SYNC_MAX_PAYLOAD_BYTES if the data is legitimately that large
401 unauthenticatedThe token is invalid or revokedReissue the device or read-only token; distinguish from 429 — 429 is rate limiting, 401 is a credential problem
Direct http://host:5180/healthz returns 400Host filtering is working: Host: host:5180 is not on the allow listExpected behavior. Health checks run inside the container; from the host, probe with -H "Host: your-domain"
docker compose up says Address already in useThe fixed IP is taken (dynamic allocation walks upward from low addresses)docker compose down then retry; if it recurs, change the subnet and update Caddy's ipv4_address and NOVARA_SYNC_TRUSTED_PROXIES together
Container stuck starting / unhealthyThe data directory is unwritable or the port is taken; a multi-entry custom ALLOWED_HOSTS must list the hostname firstdocker compose logs novara-sync — read the first line
Caddy cannot obtain certificatesPort 80 does not reach this machine, or the domain's A record is wrongdocker compose logs caddy; confirm both 80/443 are reachable
docker compose up says set NOVARA_DOMAIN in .env.env missing or unfilledcp .env.example .env and fill NOVARA_DOMAIN

Desktop side

SymptomCauseFix
Paired but sync does not moveThe sync master switch is offTurn it on; or click "Sync now" for a manual round
Forgot the space keyThe server holds only ciphertext"View space key" on the device that created it, or import a .novakey backup
A device was lost—Revoke it in the device center; revocation immediately cuts its sync and read access
Sync paused while lockedNo network while locked is a hard ruleNormal; it resumes automatically after unlocking