Health checks and logs
Quick external check
curl -s https://example.com/api/healthstatus | Meaning |
|---|---|
ok | Everything works |
degraded | Some part is unstable: e.g. rates have not updated for a while or a backup failed |
down | Some part is not working |
The response also has version — the engine version. Put this URL into an external monitor (UptimeRobot etc.): check every minute that the response is 200 and contains "status":"ok".
System status in the admin panel
System status shows each part separately: API, database, worker, rates, payment systems, bot, backups — with a 90-day availability bar and an incident feed.
Containers
Run on the server from the installation folder.
docker compose psAll services should be running (Up). Services: db — database, api, worker — background jobs, caddy — web server, bot — Telegram bot if enabled.
Logs
Last 200 lines of a service, then live:
docker compose logs -f --tail=200 apiInstead of api — worker, caddy, db, bot. Logs for a period:
docker compose logs --since 1h worker| Service | What you see |
|---|---|
api | 5xx errors, database connection errors, mail sending failures |
worker | Rate updates, order auto-cancel, notifications, backups |
caddy | Certificate issuance, connection errors to the API (502) |
db | Low disk space, connection errors |
Disk and memory
df -h /
free -h
docker system dfOld images after updates can be removed: docker image prune -f. Do not delete volumes (docker volume …) — they hold the database, client documents and certificates.
Staff actions
What staff did — in the admin panel, Action log. Nobody can change or delete it, even the owner.