Troubleshooting
Fix the common problems with installing the Octic sensor, enrolling a host and collecting Claude Code and Codex sessions.
Find the message or symptom you see, then follow the fix. Start with
octic-sensor status on the host: every check that fails says what to do.
See Verify a host for how to run it.
this installer writes to /usr/bin and /etc and must run as root
Open a root shell with sudo -i and run the install command again.
systemd is not running as init on this host or systemctl was not found
The sensor runs as a systemd service. Hosts and containers where systemd isn't PID 1 aren't supported.
unsupported architecture '<machine>'; the sensor ships linux/amd64 and
linux/arm64
The sensor runs only on x86_64 and arm64.
Version <version> does not appear to be published for linux/<arch>
The version in the URL doesn't exist. get.octic.ai answers 403, not 404,
for a file that isn't there. Check the version number, or use latest.
could not download https://get.octic.ai/...
The host can't reach get.octic.ai. Check its outbound HTTPS access and
DNS. See Requirements.
checksum mismatch for octic-sensor-<version>-linux-<arch>
The downloaded file doesn't match the checksum Octic published, so the installer stops before installing it. Either the download was corrupted, or the file isn't the one Octic published. Run the command again; if the mismatch persists, find out what on the network path changes the download before you install.
the enrollment token was not accepted by https://api.octic.ai
Octic didn't accept the token. Nothing was started; the sensor and the token are on disk, so a corrected run completes the install. Check that:
- The token was copied whole, from Settings under Enrollment tokens or the Enroll Host dialog.
- The token hasn't been revoked. Revoked tokens disappear from Active tokens.
- The host can reach
https://api.octic.ai.
Run the install command again with the right token. To see the reason on
its own, run octic-sensor status --require-probe as root.
warning: the token does not start with 'octic_et_'
Enrollment tokens start with octic_et_. Check you didn't paste something
else. The installer continues, and stops at the next step if Octic doesn't
accept the value.
no enrollment token supplied and no terminal to prompt on
Set OCTIC_ENROLLMENT_TOKEN in the command, as the Enroll Host dialog
does, when you install from automation.
octic-sensor.service did not start
The installer prints the output of systemctl status above the message.
For more, run journalctl -u octic-sensor.service -n 50. A configuration
file the sensor can't use is a common cause; see
Configure the sensor.
this installer registers a Windows service and must run from an elevated
PowerShell
Right-click PowerShell, choose Run as administrator, and run the command again.
On an older Windows PowerShell 5.1 that still defaults to TLS 1.0, irm
can fail before the installer starts. Turn on TLS 1.2 for the session, then
run the install command again:
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12the enrollment token contains whitespace, a control character or a
non-ASCII character
In the older console, Ctrl+V at the token prompt enters a single control character. Paste with a right-click instead.
octic-sensor.exe install failed
The sensor's own message is above this one. If Octic rejected the token, the
installer stopped the service and kept the files; run the command again with
the right token. The service's log is C:\Program Files\OcticSensor\service.log.
an enrollment token was supplied but this host is already installed; it is
ignored
An installed Windows host keeps its token. To change it, see Change a host's enrollment token.
If this host was uninstalled, re-run with -Reenroll
The installation folder is still on the host without its service. Run the
installer with -Reenroll and a token; see
Upgrade and uninstall.
Requires macOS on Apple silicon.
The sensor runs only on Macs with Apple silicon.
Run downloads as your ordinary user; authenticate separately with sudo -v.
The install command ran as root, for example in a sudo -i shell. Exit the
root shell and run the command in Terminal as your own administrator
account. It asks for your password when it needs sudo.
curl: (22) The requested URL returned error: 403 or Release download
failed; nothing installed.
The Mac can't reach get.octic.ai, or the version in the URL isn't
published for macOS. get.octic.ai answers 403, not 404, for a file that
isn't there. Check its outbound HTTPS access and DNS, and the
version number; the first macOS release is 1.1.0. See
Requirements.
Release checksum mismatch. or Unexpected release asset set.
The downloaded files don't match the checksums Octic published, so the installer stops before installing anything. Run the command again; if it persists, find out what on the network path changes the download.
Token input is empty.
The command reached the installer without a token. Copy the command from the Enroll Host dialog again after you choose a token.
Existing configuration differs or is not readable and regular.
You edited /Library/Application Support/OcticSensor/config.yaml, and the
installer won't replace it. Nothing was changed. See
Keep your configuration on macOS.
Error: launchd job is loaded; stop it before staging a profile
The installer can't replace a running sensor. Run
sudo /usr/local/libexec/octic-sensor stop, run the install command again,
then start the sensor. See Upgrade on macOS.
macOS installation requires root
Run start, stop, install and uninstall with sudo.
read candidate configuration
start refuses to run without a configuration file the sensor can use. If
you deleted /Library/Application Support/OcticSensor/config.yaml, create it
again containing {}. Otherwise the rest of the message says what's wrong
with it.
The macOS installer doesn't check the token with Octic. If
sudo /usr/local/libexec/octic-sensor status --probe shows the probe
rejected, install a valid token as described in
Change a host's enrollment token.
On macOS, status reports the service check degraded until the launch
daemon runs with start at boot on, so the verdict stays DEGRADED after a
plain start. Turn on start at boot
to clear it.
Hosts appear after their first heartbeat, usually within 5 minutes. If one doesn't:
- Run
octic-sensor status --probeon the host. If theenrollmentcheck shows the proberejected, install a valid token. If it showsunreachable, the host can't reachhttps://api.octic.ai. - Check the host can reach
https://ingest.octic.ai, where heartbeats go. - Check the service is running and read its log; see Check the service.
Offline means Octic has had no heartbeat from the host for 15 minutes. The host may be off, the service stopped, the network blocked, or its token revoked. When a token is revoked, the service logs that it was rejected and that reporting is paused until a valid token is installed.
- Claude Code is too old. Claude Code before 2.1.83 ignores the
sensor's settings.
statusreportsclaude_codeas degraded. Update Claude Code. - Another policy wins. If Claude Code receives managed settings from the
Claude console or through device management, it uses those and ignores
the sensor's file. The sensor can't detect this from the host, so
hook_policystill reports the file as deployed. - A folder hides the file. If
hook_policy_pathis degraded, a folder above the settings file doesn't let developers reach it. Fix the folder's permissions as the check describes. - The queue is missing. If
spoolis degraded, the event queue doesn't exist or has the wrong permissions. The service creates a missing queue when it starts, so restart it; the check's message says what to fix otherwise. - Collection is turned off. Check
claude_hooks.enabledandclaude_hooks.managed_settings_pathin the configuration file.
- Start a new Codex CLI session, or restart the Codex desktop app, after installing or upgrading the sensor.
- If a Codex policy on the host conflicts with the sensor's entries, the
sensor reports the conflict and leaves it alone. On Windows, look for
CodexinC:\Program Files\OcticSensor\service.log; on macOS, in/Library/Logs/octic-sensor.log. - Check
codex_spoolinoctic-sensor status, andcodex_hooks.enabledin the configuration file.
Costs come from Claude Code's own telemetry, through the sensor's relay on
127.0.0.1:4318. If another program holds that port, the sensor logs it and
runs without the relay. Move the relay to a free port; see
Move the telemetry relay.
Last updated
Was this page helpful?