When something breaks, run
qorven doctor first. It checks DB, gateway, providers, channels, TLS, file perms, disk space, and config validity. If doctor is green and you still have an issue, this page is the playbook.The five-minute diagnosis
Are provider keys valid?
Log locations
| Source | Where |
|---|---|
| Gateway (systemd) | journalctl -u qorven |
| Gateway (file) | /var/log/qorven/gateway.log |
| Channels | /var/log/qorven/channels.log |
| Install | /var/log/qorven/install.log |
| Docker | docker compose logs qorven |
| Tool runs | qorven logs --filter tool |
| Agent loop | qorven logs --filter agent.loop |
| Audit (human) | Web UI → Audit |
| Audit (file) | /var/log/qorven/audit.jsonl |
Common failure modes
Gateway won't start — chi panic
Gateway won't start — chi panic
Mostly a config issue. Check
journalctl -u qorven --since "1 minute ago" -e. Look for panic: chi: all middlewares must be defined before routes on a mux → see boot fails →.Every chat says 'all providers failed'
Every chat says 'all providers failed'
Provider keys exhausted. Check Usage → Provider keys. Add a new key or switch to a different provider. If you’re on a free tier, you may have hit daily quota.
Browser says 'not secure'
Browser says 'not secure'
Local CA not trusted on this laptop. Run
sudo qorven tls install-ca once on each browser host. TLS guide →Webhook isn't triggering
Webhook isn't triggering
Either the provider can’t reach your public URL, or the signature check is failing. Look at
/var/log/qorven/channels.log — each rejected webhook logs the reason. Common: webhook URL typo, expired signing secret, server behind NAT without port forward.Slow replies
Slow replies
Usually LLM latency.
qorven logs --filter llm.call shows per-call timing. If it’s the agent loop → check for tool timeouts (--filter tool.timeout).Disk filling up
Disk filling up
Most likely: audit log. Set retention in Or: Next.js build cache from an in-place dev install.
config.toml:rm -rf .next/.Enable verbose logs temporarily
Dump diagnostics for support
Where next
Log locations
Full file-system map of where things log.
Error codes
Every error string + cause.
Boot fails
Gateway refuses to start.
Getting help
Discord, issues, commercial.