Troubleshooting
Orchestrator Cannot Run Tool Containers
Check:
- Docker socket mount exists:
/var/run/docker.sock - tool images are present (
docker images) - tool directories are available in orchestrator container
Try:
docker compose --profile tools build
docker compose restart orchestrator
DB Contention / Write Errors
Symptoms:
- intermittent task write failures under load
- retries increasing on queue rows
Mitigation:
- reduce concurrent heavy scans
- increase host CPU/RAM
- re-run failed jobs once load drops
Queue Table Growing Too Much
Check:
JOB_QUEUE_RETENTIONvalue in orchestrator environment (days)- orchestrator logs for daily cleanup execution/errors
Notes:
- cleanup runs daily and deletes
job_queuerows older thanJOB_QUEUE_RETENTION - default retention is
365days when unset/invalid
Invite / Transfer / Forgot Fails
Check:
SMTP_HOSTSMTP_PORTSMTP_USERSMTP_PASSSMTP_FROMSMTP_SECUREcompatibility with provider requirements- outbound network reachability from
web
Typical behavior:
- If SMTP is missing: API returns
503 smtp_not_configured - If send fails after token/user prep: API returns
502 notification_failedand rolls back route-side temporary changes
Dashboard Session Drops
Common causes:
- cookie expired and token refresh failed
- invalidated session token
- env mismatch after restart (
SURREAL_PASS, auth config)
Check web logs around auth/me and session refresh handling.
PDF Generation Fails
Check:
pdfservice is runningGOTENBERG_URLpoints to service hostname reachable fromweb- report URL is reachable by Gotenberg container
Caddy / HTTPS Fails
Check:
- you started the Caddy stack with
docker-compose-caddy.yaml - the root
Caddyfileuses your real public hostname, notmy.domain.com - DNS for that hostname resolves to the Docker host
- host ports
80and443are reachable from the internet DASHBOARD_URLmatches the public origin, for examplehttps://my.domain.comSESSION_COOKIE_SECURE=truewhen serving the dashboard over HTTPS
Useful commands:
docker compose -f docker-compose-caddy.yaml logs caddy
docker compose -f docker-compose-caddy.yaml ps caddy web