Troubleshooting π‘ BETA
Troubleshooting starts with one health check and one log read, then fixes the root cause rather than restarting services.
Quick Diagnostics
curl -s http://localhost:8080/healthβ botserver readiness.ps aux | grep -E "(botserver|botui)" | grep -v grepβ process state.tail -f botserver.log botui.logβ application logs.- Check the container runtime for service state; do not expose internal addresses.
Check Overall Status
The quick health check is on port 8080; the desktop sidecar polls /api/product before showing its window (root AGENTS.md, Sidecar Lifecycle). A hidden window is usually an API-poll failure, not a UI fault.
View Logs
botserver logs carry CLIENT: prefixes for browser errors and [drive_monitor] for file sync. Read the whole error line before acting on it.
System Resources
Check memory and disk with ordinary host tools. A full disk is a known cause of Vibe VM exhaustion; reuse an existing project instead of creating another (root AGENTS.md, Vibe Testing).
Startup Issues
Bootstrap takes several minutes on a clean reset. Watch for "Bootstrap process completed!" in botserver.log; a Zitadel delay can defer admin creation.
Bootstrap Fails
A sealed Vault makes database pool creation fail in a loop. Unseal with three shares in one session; the old in-memory credentials keep the previous process alive until restart.
Vault Won't Start
Check certificate verification errors (x509) and the unseal progress. The token lives at /tmp/vault-token-gb; never commit it.
Database Won't Start
Verify the container is running and the pinned PostgreSQL build from botserver/3rdparty.toml is present. Do not hardcode an address.
Service Issues
Every service has a canonical port in root AGENTS.md: botserver 8080, suite 3000, cloud 4000, login 5000. A service on a different port is a local override, not documented behavior.
LLM Server Not Responding
In the desktop edition the local engine is started inside the turn when it is down; check the stage lines (turn stage: β¦) and the free-model fallback path before changing configuration.
Drive (OtterIO) Issues
Fetch credentials from secret/gbo/drive, configure oc in /tmp, and inspect buckets with oc ls. Git-owned .gbdialog and .gbot files are materialized copies of the bot repository; fix them there, not in Drive.
Cache (Valkey) Issues
Check the process and its port. Suggestions are stored under suggestions:{bot}:{session}; an empty list usually means ADD_SUGGESTION never ran, not a cache outage.
Directory (Zitadel) Issues
Directory readiness affects admin creation during bootstrap. A deferred admin is created on a later boot when the directory responds.
Connection Issues
Use hostnames, never internal IPs. A status 200 from the docs host can be the 404 fallback; compare page titles or checksums (botbook AGENTS.md, Publishing).
Cannot Connect to Database
Verify the container, the pinned component version and the credential in Vault. Restarting botserver does not fix a wrong password.
SSL/TLS Certificate Errors
A x509 verification failure points at the CA certificate path. The Vault CA is shipped with the stack; do not disable verification.
Network Timeouts
Check the proxy container and container DNS. Do not change iptables rules without explicit confirmation (root AGENTS.md, Production Operations).
Performance Issues
Measure before changing configuration. Local builds use the debug profile; release builds are for the desktop packaging pipeline only.
Slow Response Times
Check whether a turn is waiting on a subscription agent, a VM container or an external provider; stalled turns log turn stalled before the model call: stage=β¦.
High Memory Usage
One build at a time; jobs = 3 in .cargo/config.toml. Do not override it unless the host cannot fit it.
High Disk Usage
Clean old logs and stale Vibe VMs. Snapshots and archives belong under /tmp, not in the repository.
Update Issues
Always back up before a component swap. Validate Caddy configuration before reload and assert the deployed checksum after a docs publish.
Component Update Failed
Compare the downloaded checksum with botserver/3rdparty.toml; a mismatch aborts the install.
Database Migration Failed
Migrations are ordered by dash-stripped directory name. A date-prefixed name can run too early; use the dotted 6.x form and never edit an applied migration.
Common Error Messages
Errors are surfaced through the sanitizer; raw provider strings are not returned to clients. Read the server-side log for the full context.
E-BAS (BASIC Compiler) Error Codes
Compiler errors are reported by botbasic_compiler keywords. No local error-code table is maintained here; read the generator output in the BASIC reference.
Getting Help
Open an issue with the measured evidence: command output, file:line and reproduction steps. Search for duplicates first (see Instructions for Logging Issues).
Collect Diagnostics
Include the product version from the root Cargo.toml, the OS and architecture, the exact error text and the relevant log lines. Never include tokens, passwords or internal addresses.
Debug Logging
RUST_LOG=info is the normal verbose level; trace level is very noisy and should be used for a single reproduction only.
Community Support
Issues are the tracking mechanism; plans and status tables live there, not in this book.
See Also
Authority: root AGENTS.md (Debugging Rules, Ports, Production Operations) and botserver/3rdparty.toml (component pins).
Limits
- Never restart a service to hide an error: fix the root cause first.
- No secret, token or internal address may be pasted into an issue or this page.
- Do not change branches or iptables rules without explicit approval.
- Docs pages returning 200 can still be the fallback; compare titles or checksums.