Most problems show up in the chat or the status bar. Find the symptom that matches; the local logs (CLI) have the detail when a message is not enough.
Sensus refuses to start
Symptom: starting sensus prints a refusal that you are already inside sensus.
Cause: you are running it from a sensus pane.
Fix: detach first (Ctrl+A then d), or run sensus from another terminal. Sensus
refuses to nest so two copies never fight over the same terminal.
The terminal is too small
Symptom: a terminal too small notice, or the app refuses to boot.
Cause: the window is below the minimum size of 20 columns × 5 rows.
Fix: enlarge the terminal (or your SSH client’s window) and retry. If it shrinks mid-session, sensus shows a notice and recovers when it grows back.
The chat says it has no key
Symptom: chat:no-key in the status bar; messages do not send.
Cause: the selected endpoint has no API key.
Fix: open settings (Ctrl+O) and set the endpoint’s API key, or reopen the setup wizard
with /init-wizard. The terminal pane keeps working either way.
The agent’s requests fail
Symptom: an error bubble instead of a reply.
Cause: a wrong key, base URL, or model id; an endpoint that is down; or a request that timed out while no data arrived.
Fix: check the endpoint in Ctrl+O and retry the message. Transient network failures are
retried automatically, and a stalled stream is cut off after an idle timeout rather than
hanging forever.
The agent stops running commands
Symptom: the chat still replies, but the agent no longer uses tools, and code blocks in its answers are clickable.
Cause: the endpoint rejected tool calling, so sensus retried without tools and kept the session in plain-chat mode.
Fix: switch to a model that supports tool calling (/model), then start a new tab so the
session re-enables tools. You can still click a code block to send it to your terminal.
An MCP server fails
Symptom: a server shows as failed, or its tools are missing.
Cause: the command could not start, the URL is unreachable, or credentials are wrong.
Fix: check status with /mcp, correct the server in your configuration, and run
/reload. A failed server only loses its own tools; the rest of the chat continues.
The local service will not start, or looks stale
Symptom: boot reports that it cannot reach the local service, or sensus daemon status
is not healthy.
Cause: a service left over from a crash, a dev checkout, or another environment; a stale socket; or an old service still holding your shells.
Fix: run sensus daemon status, then sensus daemon stop. If that is not enough,
sensus kill stops every sensus service this user runs, whatever started it (--dry-run
lists first). Starting the service again unlinks a stale socket automatically.
The always-on service does not start after a reboot
Symptom: install succeeded, but after a reboot sensus daemon status says not running.
Depending on the scope, sudo systemctl status sensus either reports that the unit does not
exist or shows the root service.
Cause: there are two scopes, and they use different managers:
- The default is a per-user service (
~/.config/systemd/user/sensus.service).sudo systemctlcannot see it; usesystemctl --user. On a headless machine it only starts at boot with lingering. - A root shell defaults to the root system service
(
/etc/systemd/system/sensus.service). Usesudo systemctl; it starts at boot and does not need lingering.--userforces the per-user scope from a root shell.
Fix — per-user service (run as the same user, not root):
sensus daemon install --linger
systemctl --user is-enabled sensus
systemctl --user status sensus
Fix — root system service (run as root):
sensus daemon install --root
sudo systemctl is-enabled sensus
sudo systemctl status sensus
A service installed through sudo su belongs to root. Decide which scope you want: use
--root deliberately, or run the install as the account whose shells should be controlled.
Then reboot and check sensus daemon status. If it still fails, sensus daemon logs points
at the startup banner. Running the agent as root is supported for a single-user homelab, but
not recommended on a shared host.
After an update, the old version is still running
Symptom: an update does not seem to take effect, or boot warns about a version mismatch.
Cause: the previous version’s service still holds your shells.
Fix: the boot prompt offers to restart it now (losing anything running in those shells)
or to keep it for later; sensus daemon restart is the manual escape hatch.
The cloud panel shows the host as offline
Symptom: the host appears in Fleet as paired but never connects; the panel says “never” for last seen.
Cause: the local service is not running the pairing — often a stale service started before pairing or before an upgrade, a different user or configuration home, a user service that stopped at logout, or a proxy that forwards pairing but strips the WebSocket upgrade.
Fix: run sensus cloud doctor; it checks the pairing, the local service, the
tunnel error, the HTTPS token check, the WebSocket upgrade, and systemd lingering.
Then:
sensus daemon restartif the doctor reports a version or configuration-home mismatch (a reload cannot replace the running binary).loginctl enable-linger <user>if lingering is disabled, so the user service survives logout.sensus daemon install --lingercan do it for you.- If the upgrade check reports a redirect or an HTML page, the reverse proxy must
forward
Upgrade/Connectionfor/api/connector. When Cloudflare Access is in front, bypass/api/connectoritself, not only the pairing and token-check paths.
The detailed daemon log is in sensus daemon logs --component cloud.
The install fails
-
Checksum mismatch: the download was corrupted or tampered with; the installer refuses to continue. Re-run it.
-
~/.local/binis not on your PATH: the installer prints the line to add. Or install system-wide (to/usr/local/bin):curl -fsSL https://sensus.sh/install | bash -s -- -g -
macOS kills the binary instantly (
Killed: 9): the code signature was rejected. Re-run the installer, or ad-hoc sign the binary withcodesign --force --sign - <path>. -
Unknown lockfile versionor floating dependency versions: your Bun is too old for a source build; runbun upgrade. -
preload not found: an old build; rebuild from source or reinstall the latest release. -
No prebuilt binary for your platform: releases cover Linux and macOS on x86_64 and aarch64; build from source otherwise.
The terminal pane fails to spawn
Symptom: terminal spawn failed, or the pane never starts.
Cause: the platform has no native terminal support.
Fix: run sensus on Linux or macOS on x86_64 or aarch64. The rest of the app may still run, but the embedded terminal needs those platforms.
Where the logs are
sensus daemon logs renders the structured service log. Add --follow to stream, --level
to filter by severity, and --json to pipe raw records to jq. It records what happened —
tool runs, finished turns and why one was aborted, errors, and why the service last stopped
or restarted — so a conversation that ended unexpectedly can be explained from the log.
See CLI for the flags and for the event and trigger logs.
Next steps
- CLI: the daemon, logs, and kill switch
- Install: installer options and supported platforms
- Configuration: endpoints and keys
- Privacy & data: what stays on your machine