Diagnose a broken install
Outcome: A reproducible diagnosis (one failing subsystem, one error string) you can paste into an issue or hand to a maintainer.
Prerequisites:
gormeson$PATH.
-
Run doctor with full provider check
Terminal window gormes doctorThis runs the offline checks and the provider health probe. The first
[FAIL]line names the failing subsystem. -
Compare with the offline subset
Terminal window gormes doctor --offlineIf offline passes but full
doctorfails, the issue is provider credentials, endpoint, or model selection — not the local runtime. -
Check first-run configuration state
Terminal window gormes doctor --offline --target terminal --jsonThe
targetblock reports readiness, missing setup pieces, andnext_command. Rungormes setup --quick --target terminalwhen the target is not ready. -
Inspect the gateway runtime (if you use channels)
Terminal window gormes gateway statusgormes logsgateway statusshows the persisted runtime state and per-channel lifecycle errors.logstails the most recent gateway log entries.
Verify
Section titled “Verify”gormes doctor --jsonExpected: a {build, failed, checks: [...]} JSON document. Every check has a name, a status of PASS, WARN, SKIP, or FAIL, and a summary. The summary of a failing check carries the error reason — copy that into your issue report.
Troubleshooting
Section titled “Troubleshooting”- Older Termux
v0.2.20installs reportunknown command /data/data/com.termux/files/usr/bin/gormes for gormes→ Installv0.2.22or newer from the latest release, then rungormes versionandgormes doctor --offline. If the same path error appears after reinstall, checkwhich -a gormesfor a stale binary on PATH. Auth: missing→ Rungormes auth add <provider>(see first chat).provider health: [FAIL]→ Wrong endpoint, wrong model id, or expired credentials. Try provider setup.- Gateway
lifecycle=failed→ The channel adapter failed to start. Theerrorfield ingateway statusnames the cause (token conflict, missing allowlist, etc.). stale_pidin gateway runtime → A previous gateway crashed without clearing state. Rungormes gateway stopor remove the pid file under~/.gormes.