Operations and troubleshooting
Monitor, update, restart, and troubleshoot the server.
Service status
codevisor status
codevisor logs --followThese commands select the systemd user unit, system unit, or background-process log as appropriate.
Use codevisor status --json for machine-readable server identity and harness readiness.
Health and identity
GET /v1/health reports the release, database state, process identity, and migration progress when
present. GET /v1/info reports the server and machine IDs, kind, platform, architecture, hostname,
bind address, and feature markers.
Updates
Standalone release builds check the stable release manifest. GET /v1/update reports update state;
POST /v1/update/apply downloads the matching runtime and restarts right away. Running chats are
paused for the restart and continue on their own once the server is back, unless you send them
something first. Terminals and dev servers that agents started do not survive the restart.
codevisor update always performs a fresh Stable check before applying an update. To include Alpha
releases, run:
codevisor update --alphaCommon checks
- Confirm the process is listening on the expected address and port.
- Call
/v1/healthlocally before diagnosing remote authentication. - Verify the remote request includes
Authorization: Bearer …. - Check firewall, reverse-proxy, and TLS configuration independently.
- Confirm the service user's
PATHcontains the coding-agent CLIs you expect the server to use. - Use
POST /v1/harnesses/rescanafter installing a CLI without restarting the server. - Inspect a plugin's
connectionStateanddetailinGET /v1/mcps. OAuth plugins may need authorization rather than a restart; turn a local plugin off and on to restart its process.