Troubleshooting
Work from the symptom you can see. Each section ends with what to gather if it is still broken; take that to support.
The stack will not start
Check what is actually failing:
docker compose -f docker-compose.yml -f docker-compose.prod.yml \ --profile bundled --profile proxy ps
docker compose -f docker-compose.yml -f docker-compose.prod.yml \ logs backend| Symptom | Cause |
|---|---|
| Backend exits immediately, complaining about configuration | A production startup check failed. The log names the variable. SECRET_KEY and POSTGRES_PASSWORD have no safe default and weak values are refused. |
| Backend refuses to start over worker count | UVICORN_WORKERS is above 1. One worker is the supported model while interactive sessions are process-local. |
| Database container refuses the retired default password | POSTGRES_PASSWORD is still postgres. Choose a real value. |
| Compose reports an unknown tag or ignores overrides | Compose is older than v2.24 and does not understand !override. Upgrade Compose. |
The site is unreachable in a browser
Almost always the proxy profile.
The backend and frontend publish no host ports by design. Caddy is the only
ingress. If you started the stack without --profile proxy and you are not
fronting it with your own proxy, nothing is listening for a browser and that is
intentional.
docker compose -f docker-compose.yml -f docker-compose.prod.yml \ --profile bundled --profile proxy up -dOtherwise:
- Certificate warnings in
internalTLS mode are expected until you trust Caddy’s local root. For a real deployment useacmeorbyo. - ACME fails to issue.
PRAXIS_DOMAINmust resolve publicly and port 443 must be reachable from the internet. - Redirects land on the wrong host.
PUBLIC_BASE_URLdoes not match the URL users actually use.
Nothing can reach any host
If every host went unreachable at once, suspect the secrets service before the network.
Open Secure > Vault Management. A status of sealed, no token, or connection error means no credential can be read, so every new connection fails while existing pooled sessions keep working until they time out. This presents as SSH errors, which sends people to the wrong place.
Unseal or restore the token; the state clears on the next health check. See production hardening.
One host is unreachable
A host flips to Unreachable after consecutive health check failures, tuneable under Settings > Connection Settings.
Work through it in this order:
-
Name resolution and routing from the control plane, not from your laptop.
-
The credential. Rotating a secret out of band under a linked credential will do this. Test the credential from its detail page.
-
Host key changes. A changed host key blocks connections under a
strictortofupolicy. Review it under Secure > SSH Security and approve it if the change was legitimate, such as a rebuild. Do not approve one you cannot explain. -
Certificate trust. If certificate trust was deployed and the signing CA has since been rotated, the host needs trust redeployed. Password authentication keeps working meanwhile.
-
Algorithms. A host that offers only SHA-1 key exchange, or only a DSA or
ssh-rsahost key, is refused before authentication. Ed25519, ECDSA and RSA host keys are pinned normally, so a host key error naming one of those is about the stored key, not the algorithm: the message says whether the key could not be read or no longer matches. Delete the stored key under Secure > SSH Security > Host Keys and re-trust the host. Check the system’s SSH policy too: an allow-list naming nothing Praxis supports is reported by name. See negotiated algorithms.Never work around a host key error by turning off
require_host_key_verification. That accepts whatever key the host presents, which is the failure the check exists to catch.
A host registers but never inventories
Usually escalation rather than connectivity. Package scanning needs to run, and package changes need privilege.
Check the credential’s escalation method. nopasswd requires a matching
NOPASSWD: entry on the host for the commands Praxis runs. Confirm by running
one command through Operate > Run Command and reading the error
rather than guessing.
A patch or reboot will not dispatch
| Row condition | Meaning |
|---|---|
missing_sudo_method | The credential does not declare how to escalate. Set one, then re-dispatch or reset the failed reboot. |
unknown_sudo_method | The escalation method is not recognised. Same fix. |
window_missing, window_disabled, window_unusable | A reboot could not be scheduled. It stays pending rather than failing. Fix the maintenance window and reconcile the queue. |
reboot_window_unapproved, reboot_window_changed | The plan’s approval does not cover the window as it is. Restore the approved window, or plan and approve the work again. |
reboot_evidence_unknown | The host could not say whether it needs a reboot, so the row stays pending instead of reading as “not required”, and nothing is scheduled or sent. On an RPM host the usual cause is needs-restarting not being installed; otherwise the probe timed out, the transport failed, or the output was unusable. Fix that, then re-run the reboot reconcile for the execution. |
reboot_baseline_unavailable | The host’s facts could not be collected just before the reboot, so it was not sent. Restore connectivity; it is tried again every 60 to 90 seconds while the window is open. |
Dispatch refusing is deliberate. It is better than running unprivileged and failing opaquely partway through a fleet.
A pending row also holds back dependent waves. That is the point: a wave that cannot prove the previous one finished rebooting must not start.
Reboots are not moving
Start with the reboot worker status above the reboot table on the plan page, or
GET /patch/update-executions/reboots/automation, and the Result column of
the row.
The worker is not sweeping. healthy is false when no sweep has succeeded in
the last 90 seconds. Check that a backend is running and can reach the database,
read the backend log, and look at sweep.last_error. Overdue reboots are picked
up when sweeps resume; one whose window has since closed moves to the next
opening.
A reboot is held for its window approval. reboot_window_unapproved or
reboot_window_changed means the approval cannot be shown to cover the window:
it was edited after approval was requested or given, another window was chosen
when the plan was scheduled, or approval was requested or given before windows
were recorded, including votes completed after the upgrade. No control
overrides it. Restore the approved window definition, or
plan and approve the work again; if the host has no package work left, reboot it
through your own change process and Skip the row.
A reboot waits for its wave. reboot_wave_incomplete or
reboot_phase_not_ready on a run under way means another host of the same wave
has not finished its package work. Finish or resolve that host; the reboot is
then tried again.
A queue is overdue. Rows past their time with a Not sent: result are held
by the named check;
fix that cause. Without a hold, the worker is working through a backlog: each
process handles four hosts at a time, and the run’s parallelism limits how many
reboots can be unverified at once.
A reboot failed to send. The send result and its error are under the row’s details. Fix the cause, such as sudo configuration or connectivity, then Reset the reboot. Reset reads the host and refuses unless it shows that it did not restart.
No reboot evidence. no_reboot_evidence means the host answered but neither
its kernel nor its uptime showed a restart by the deadline. Check the host. If
it restarted after the deadline, use Retry verification. If it never did,
for example because something on the host canceled the shutdown, fix that and
Reset.
The host did not come back. reachability_failed, probe_timeout or
transport_error mean it could not be read by the deadline. Recover the host
through its console, then Retry verification. If your hosts routinely need
longer, raise PRAXIS_REBOOT_VERIFY_TIMEOUT_SECONDS.
A row stays rebooting or verifying after a restart of Praxis. This is a claim left by a stopped process. Sweeps take it up again and check the host until its deadline; nothing is sent again. A row whose send result was never recorded says so.
Reboots paused after failures. The failure threshold paused the execution’s reboots. Investigate the failed rows, then Resume reboots, or Cancel reboots to drop the unsent ones.
A later wave never starts. It waits for every earlier reboot. Resolve failed or unknown rows, Skip a host you have handled yourself, or cancel the execution and plan the remaining hosts again.
A direct update is waiting or did not verify
Open the record under Update > Update Operations. It names the pending action for each host.
The update was refused. no_effective_policy, policy_conflict or policy_disabled means the host has no single enabled patch policy; fix the binding or the fleet default. no_selectable_packages means nothing requested has a recorded pending update that the policy allows; scan the host and check holds and the policy scope.
Every package of a security-only update is blocked. A security-only selection needs an active security advisory that applies to the host and selects the pending revision. Check Update > Patch Advisories: sync a feed or import the advisory, refresh the host’s facts and package scan, and read the reason shown against each package. Advisory feeds are off by default.
It is blocked at dispatch. Nothing was installed. The requester lost access to the host, the policy changed, or a package was held, moved version, got a different pending revision (including a different RPM epoch), or lost its security classification or covering advisory after the request. Scan the host if needed and submit a new update.
It is waiting. Approval is decided on the generated plan. A closed maintenance window needs no action; a disabled, missing or unusable one does, and a window that changed since confirmation needs a new request. A host waiting for capacity starts when another host of the operation finishes updating or its reboot is verified.
A host stays running with no result. After a restart, or when the result of its command never arrived, the host is not sent the command again, and no amount of time settles it. The record shows what the last check found. busy names the package processes still running: let them finish, or investigate them on the host. unknown means the host could not be reached or its process list could not be read: restore connectivity, and check that the credential’s escalation method allows running sh. versions_unreadable means the installed package list could not be read. delivery_unconfirmed means the host is idle but the command may still be queued, which is the case for a command sent through the agent: restart the agent broker, stop or restart the agent on the host, then have an administrator resolve it and confirm that it can no longer arrive. If an SSH host cannot be made to answer, check it directly and have an administrator resolve it. A command may have been cut off part way, so check the package manager on a host that failed this way (on Debian, dpkg --audit).
Reboot evidence is unknown. Under if_required the host is queued as unknown and no reboot is scheduled or sent. Install dnf-utils (or yum-utils) on an RPM host so needs-restarting exists, or restore connectivity or fix the credential’s escalation method. Then use Reconcile reboot queue on the record, or POST /patch/update-executions/{id}/reboots/reconcile.
Every update on a host is blocked because its repositories could not be established. Praxis reads where each pending update comes from during a package scan, and holds back an update it cannot trace in full. APT sources written as mirror+file: lists, which some Debian cloud images ship by default, cannot be traced. List the repository addresses directly in the host’s APT sources, run apt-get update, and scan the host again.
The reboot is marked failed although the host restarted. Verification collects the host’s facts and compares them with those collected just before the reboot. A host that had not restarted by the deadline, or a Verify reboots pressed before it had returned, records a failure. Check the host’s running kernel and uptime, then use Retry verification on the plan page.
Verification failed, was partial, or was unavailable. The command’s exit status did not match what the host reported afterward, or the host could not be read. Check the per-package results, look at the package manager log on the host, check whether it needs a reboot, run a package scan, and submit a new update for what is still pending. A host that could not be read after the command is recorded as failed because the update is unproven, not because it is known not to have happened.
The reboot queue says it is incomplete
The plan or execution detail page shows a Reboot queue incomplete warning,
and summary.reconciliation.action_required is true. The counts beside it are
not a complete account of which hosts still need a reboot, so do not read them
as “nothing outstanding”.
status: incompletemeans hosts finished patching without a queue row.status: failedmeans a reconcile pass itself failed;last_failurecarries the reason.
Re-run the reboot reconcile for that execution. A successful pass rebuilds the
queue and clears the marker. Until it does, dependent waves stay blocked with
the gate reason reboot_reconcile_failed.
The dashboard will not show a security count
It shows Not scanned, Scanning, Scan failed, or Partial scan instead of
a number. That is the intended behavior: a count, zero included, is only shown
once every host in scope has a completed security scan behind it.
| State | What to do |
|---|---|
Not scanned | Run a security scan. An ordinary package scan does not classify security updates, so it never moves this state. |
Scanning | Wait. A scan still marked running after 30 minutes stops counting as in flight on its own. |
Scan failed | Read the failure reason shown with it, fix the host, and rescan. |
Partial scan | Some hosts in scope are not covered, or a scan could not use part of its result. Any number shown is a floor (N+), not a total. Rescan the uncovered hosts. |
See security updates for how the states are derived.
A host will not patch, and it is not an error
Check the Linux support matrix. Inventory is broader than
servicing: zypper, pacman, and apk hosts appear in inventory but are not
serviced for package changes. That is a boundary, not a bug.
Also check whether the package is held on that host. Held packages are skipped by update jobs and still appear in inventory.
The agent will not come online
sudo systemctl status praxis-agenton the host, and its journal.- The agent dials out to the broker on 8443. Confirm the host can reach it, and that the broker is published.
- Confirm the certificate and key are in place under
/etc/praxis-agent/and thatconfig.jsonnames the right system ID. - From the control plane, the host should report
agent_status: activeandagent_liveness: online.
If enrollment itself failed, re-run it. Sending host_fingerprint makes
redemption idempotent, so a retry does not consume another use of the
activation token.
The terminal will not open on an agent host
Working as designed. Interactive sessions always use SSH, on every host
including agent-enrolled ones. The host needs SSH reachability and deployed
certificate trust. Setting a host’s transport preference to agent does not
move the terminal onto the agent. See transports.
A command is rejected
Two different gates, with different fixes:
- A validation rule rejected it before whitelist matching. These are hard bans on dangerous patterns. Check Operate > Validation Rules for the reason.
- No whitelist entry matched. Add an entry, or use an existing one. Commands that are rejected frequently are a signal the whitelist needs an entry, and Operate > Command Metrics shows which.
If it is waiting instead of rejected, it matched an entry that requires approval. Multi-level entries need several distinct approvers, and a single rejection short-circuits the whole request. Requests expire, and an expired request must be resubmitted.
A mirror will not serve
A mirror that shows as synced but reports a signing or upstream trust error is not safe to serve, and Praxis will not pretend otherwise.
- Unverified or expired upstream key: the sync fails closed. Repair the trust.
- Signing key not provisioned: the mirror can pull but cannot sign, so hosts will not trust it.
- Family mismatch: a channel can only bundle mirrors of the same
deborrpmfamily.
A host will not apply a content profile
A host subscribed to two profiles, directly and through a group, resolves to a conflict and refuses to apply rather than guessing. Remove the ambiguity so it resolves to a single effective profile. See mirrors and content.
An airgap bundle will not import
The offline side trusts a bundle only if a pinned public key verifies its signature, never the key bytes carried inside the bundle. After the exporter rotates its signing key, pin the new public key on the importing side before importing anything signed with it. Keep the old pin during the overlap; the importer accepts a bundle if any active pin verifies it.
An export with pinned snapshot selection can be refused with
historical_bytes_unavailable. Mirror bytes are live-only, so a pin to a run
that is no longer live cannot be reproduced byte-exact. Export latest,
re-pin to the current run, or use the earlier bundle as the archive.
Alerts are not arriving
Every dispatch records an attempt with status, response code, and next retry. Failures retry on a backoff and dead-letter after five attempts; dead-lettered rows show a retry control.
Check delivery history on the alert configuration before suspecting the destination. Use Test to fire a synthetic payload and confirm the URL and signing secret. If the configuration is scoped to a smart group, only events from members of that group dispatch at all.
Paid features are locked
A paid action without the entitlement returns HTTP 402 and shows as locked. Check Settings > License for the current edition, and rotate a licence if a key was rejected.
What to gather before asking for help
- The Praxis version and how you deployed it.
- The exact error, copied rather than described.
docker compose ... psand the relevant service log.- For a host problem: its transport, its credential’s escalation method, and whether other hosts with the same credential work.
- For an agent problem:
praxis-agent version --json, which carries the full commit SHA.
Then see support.