Logs and health
Where to look when something is wrong: the log, the health checks, and the support bundle to send when you ask for help.
The log
The quickest place is in the app: Administration › History › Work, then Log. It shows the last 2,000 events and is cleared on restart. Passwords and keys are removed before anything is kept.
The full log is outside the app:
| Install | Log |
|---|---|
| Docker or a NAS | docker logs leyla, or the container’s log in the NAS’s own app |
| Linux package | sudo journalctl -u leyla |
| Windows | C:\ProgramData\Leyla\logs\leyla.log. The installer’s own log is setup.log beside it. |
On a Linux package, set RUST_LOG=debug in /etc/leyla/leyla.env and restart for more detail.
Is the server healthy?
Two addresses answer without signing in. They are meant for monitoring tools and for checking from a terminal.
/healthz- Always
200while the server is running. Docker uses it for the container’s health. /readyz200when the database answers and is up to date.503otherwise, with the reason in the reply: the database is down, slow, restarting, or its update is still running or failed.
$ curl http://localhost:10001/readyzA 503 right after an update usually means the database update is still running. Give it a minute. If it says failed, the log says why.
The support bundle
When you ask us for help, a support bundle saves a lot of questions. Open Administration › History › Changes, then More and About, and choose Download support bundle. It is one JSON file you can read before you send it.
- It holds
- The version, what needs attention, your settings and where each came from, the background schedules, the last 100 admin actions, the jobs that gave up, and the newest backup’s summary.
- It leaves out
- Passwords, keys, tokens and addresses, the names of people, libraries and titles, and full folder paths.
Send it to hi@tropicalthink.com, or write to us from Administration › Settings › Write to Leyla.
Something missing or wrong here? Tell us.