Troubleshooting
Health checks, logs, common errors, and getting back into an account.
Health checks
| Endpoint | Means |
|---|---|
GET /health/live | The process is up. |
GET /health/ready | The database answers and local storage is not full. It does not call S3, so a broken bucket shows up in Settings › Storage › Test storage, not here. |
The image's Docker HEALTHCHECK probes /health/ready every 30 seconds; docker compose ps shows the result. For the details of a failing check, run docker inspect --format '{{json .State.Health}}' <container>.
Logs
docker compose logs tessra --since 1h
Logs never include file contents, share tokens or passwords. When asking for help, still check a log for host names and file names before posting it.
Tessra does not start
The last lines of the log say why. Common ones:
| Message | Fix |
|---|---|
Invalid Tessra configuration followed by a list | Fix each listed setting. See Configuration. |
Tessra:BaseUrl must be an absolute http(s) URL | Set Tessra__BaseUrl, including https://. |
Another Tessra process is using the data directory | Another container (or a restore) is using the same volume. Stop it first. |
The database was created by the 0.0 spike | Spike databases cannot be upgraded. Remove the db and blobs folders in the data volume and start fresh. |
Access to the path '/data/...' is denied | The container runs as UID 1654. For a bind mount, sudo chown -R 1654 <folder>. |
Sign-in fails or loops
Tessra__BaseUrlmust match the address in the browser exactly. Sign-in requests from any other origin are refused.- Over plain
http://on a public address, browsers drop the session cookie when the base URL ishttps://. Use HTTPS end to end through the proxy. - After five wrong passwords or two-factor codes the account is locked for five minutes.
- Lost your authenticator app? Use a recovery code, or see Lost your phone or passkeys.
- For single sign-on errors, see Single sign-on troubleshooting.
Lost a password
Another administrator can reset it in Settings › Users, which signs the user out and gives you a one-time link to send them. Without an administrator who can sign in:
docker compose exec tessra dotnet Tessra.Api.dll admin reset-password <user name>
This prints a new password, turns off two-factor authentication, clears any lockout and signs out existing sessions. It also works for accounts that only had single sign-on. If Tessra__Oidc__DisablePasswordLogin is on, remove it and restart before signing in with the new password.
No administrator can sign in
If every administrator was disabled or demoted, make an account an active administrator again:
docker compose exec tessra dotnet Tessra.Api.dll admin make-admin <user name>
Uploads fail
| Symptom | Likely cause |
|---|---|
413 from the proxy (an HTML error page, not Tessra's JSON) | The proxy's body limit. See Reverse proxies. |
413 with upload_too_large | Tessra__MaxUploadBytes. |
507 | Local disk is below Tessra__MinFreeDiskBytes. Free space or raise the limit carefully. |
| Large uploads fail on Cloudflare | Cloudflare's per-plan body limit. The web app uploads in pieces; ShareX does not. See Cloudflare. |
413 with chunk_too_large | A client sent a piece larger than Tessra__ResumableUploads__ChunkBytes. |
401 from ShareX | The token was revoked or expired. Make a new one in Settings › ShareX. |
Backups
| Message | Fix |
|---|---|
Access to the path '/backups/...' is denied | sudo chown 1654 backups on the host. |
could not be read correctly with a list of files | Those files' bytes are missing or changed in storage. Restore them from another copy or delete them in Tessra, then back up again. |
Tessra is running on this data directory during restore | docker compose stop tessra, then use docker compose run --rm tessra admin restore .... |
already holds an installation | Restoring would replace it. Add --force; the old database and keys are kept in /data/pre-restore-<time>/. |
made by a newer version of Tessra | Restore with that version or a later one. |