Troubleshooting
Pre-flight checks fail
Run pre-flight checks standalone to see what’s missing:
sudo detectify-scanner preflightEach failed check includes a suggested fix command. Common issues:
| Check | Cause | Fix |
|---|---|---|
| Architecture | Non-x86_64 host | Use an x86_64/amd64 machine |
| RAM | Less than 4 GB | Upgrade to at least 8 GB |
| Disk | Less than 20 GB free | Free up disk space |
| systemd | Not running | The installer requires a systemd-based Linux distribution |
| Network | Can’t reach Detectify endpoints | Allow outbound HTTPS to registry.detectify.com, license.detectify.com, connector.detectify.com |
Pods not starting
Check pod status:
sudo detectify-scanner statusIf a pod shows a status other than Running, check its logs:
sudo detectify-scanner logs scan-schedulerImagePullBackOff
This means the host can’t pull container images. Verify:
- Registry credentials are correct — run
sudo detectify-scanner reconfigureto re-enter them - Outbound HTTPS to
registry.detectify.comis allowed
CrashLoopBackOff
A component is crashing on startup. Check its logs for the error message:
sudo detectify-scanner logs -f <component>API not reachable
If status shows API reachability as failed:
- Check that the
scan-schedulerpod is running - Try restarting:
sudo detectify-scanner restart - Verify no firewall is blocking port 30000 on localhost
sudo -E breaks post-install commands
Always use plain sudo when running detectify-scanner commands. Do not use sudo -E, as it can pass environment variables that interfere with k3s.
# Correct
sudo detectify-scanner status
# Incorrect — may cause issues
sudo -E detectify-scanner statusCredential issues
Invalid license key
The license key must be at least 8 alphanumeric characters (hyphens allowed). If validation fails during install, double-check the key from your Detectify account.
Registry authentication failed
The installer validates registry credentials before proceeding. If validation fails:
- Confirm you’re using the correct username and password from your Detectify account team
- Verify outbound HTTPS to
registry.detectify.comis allowed - Try again — the installer retries up to 3 times
Changing credentials after install
Use reconfigure to update any credential without reinstalling:
sudo detectify-scanner reconfigureReinstalling
To start fresh, uninstall first and then install again:
sudo detectify-scanner uninstall
sudo ./detectify-scanner install