Reeve Docs

Docs / Operations

Troubleshooting

Find the symptom that matches what you are looking at. Option names and defaults are in Configuration. Two habits save the most time: read the blocked-egress log whenever an integration "silently does nothing", and read /health/details, not readiness — most degradation is deliberately invisible to the readiness probe. Short answers to recurring questions, and problems seen while building images or plugins, are in the FAQ.

Starting up and staying up

Symptom Cause What to do
The process exits with code 75 A boot-time crash, or the start-up watchdog timed out Configure the orchestrator to restart on a non-zero exit. Repeated failures engage safe mode for that replica only
The backend container exits at once, before any Reeve log line, and may print that the current CPU is missing baseline instruction sets The processor is below the .NET 11 minimum (x86-64-v2: SSE4.2 and POPCNT) Run the backend on another machine; no setting works around it. See Processor for how to check one
The backend starts much more slowly on one machine than on another, or the start-up watchdog exits 75 there only The processor is below the ReadyToRun target (x86-64-v3 on x64, LSE on arm64), so start-up compiles the host and framework code just in time Raise Bootstrap:MaxStartupSeconds; see Processor
Startup migration fails, or PostgreSQL is unreachable during boot Migration or key-bootstrap errors are recorded as boot failures and the process exits with code 75; the recorded reason carries the database error (a refused connection names the endpoint), without exposing the password Restore database connectivity or resolve the migration error, then restart
The process exits with code 76 and [window] Refusing to start names a replica, its version and its state The start-up window check: another replica holds a lease on a build outside this build's window, so a mixed fleet is refused before anything migrates. Not a boot failure, so it never engages safe mode If that replica is draining, nothing: the restart policy retries and the replica is admitted once its lease has ended (LeaseTtl, 30 s). Otherwise stop the replica it names and take the full stop. On the chart, scale the backend to 0 first. The reason is in the replica's bootstrap.replica_boot_state row and on the Cluster tab (Refused), and the Warning alert cluster.start_refused stays open while refusals continue
The process exits with code 78 and [managed] Refusing to start names a setting or a file The deployment's own configuration is refused: an invalid Managed: section, a Managed:Directory that is missing or holds a file that is not a JSON object, or an active object storage provider with no definition under Managed:ObjectStorage. Not a boot failure, so it never engages safe mode, and a restart does not cure it Correct the setting or the file the line names, then restart. A half-written file at start is refused the same way, so restart once the files are complete
The instance comes up with no plugins, no repository sync and no automations Safe mode engaged after two consecutive failed boots, or the safe-mode flag is set A safe-mode replica is not ready and refuses everything but the recovery surface. With a healthy peer, sign in there as an administrator, disable the offending plugin on the Cluster tab of System status and restart. A single replica on Kubernetes is reached as in a single replica in safe mode. The health endpoint answers 503 and reports the reason to a home.manage caller. There is no runtime toggle. If no administrator can sign in, see getting the bootstrap administrator back
The backend refuses to start, saying the Docker workload provider runs on a single backend instance Coordination:Clustered is true while the orchestrator settings select Docker, or while workloads are still managed on Docker (the message says which) Run one backend (Coordination:Clustered unset or false; on Helm replicaCount=1) with the Docker socket mounted (on Compose, docker-compose.docker-workloads.yml). To cluster afterwards, switch each Healthy or Degraded Docker workload to Manual, uninstall the rest, wait for torn-down rows to finish, then set the workload provider to Automatic. Saving Automatic or Manual while workloads remain on Docker answers 409 listing them. The reason is only in the container log and the boot-state row, and each refused start counts as a failed boot, so restart once more if the first good start comes up in safe mode
The backend refuses to start, naming Redis:ConnectionString No Redis endpoint is configured. There is no implicit localhost:6379 outside Development and E2E Set Redis:ConnectionString (Redis__ConnectionString in the environment); the chart sets it when one of its Redis modes is enabled
The backend refuses to start because the Redis PING still failed after Redis:StartupWaitSeconds, or at once with RedisConnectionException: It was not possible to connect Redis is unreachable at start-up for longer than the wait (90 s by default), or the connection string lacks abortConnect=false Make Redis reachable from the backend and restart. Add abortConnect=false to a connection string of your own; the chart and the Compose files set it. Each refused start counts as a failed boot, so an outage spanning two restarts brings the replica up in safe mode: restart it again to leave safe mode
The backend logs Postgres could not be reached … Retrying at start-up, then exits 75 with Boot failed, not counted toward safe mode Postgres did not accept a connection within Database:StartupWaitSeconds (90 s by default): it is down, still recovering, or the host or port in ConnectionStrings:PrimaryDatabase is wrong Make Postgres reachable from the backend. These exits are not counted, so they never bring a replica up in safe mode. A wrong password, a TLS failure and a missing database are not waited for: they fail the database steps at once, and are not counted either
A backend pod stays in Init and the wait-for-redis container logs waiting for redis at … Redis does not answer PING with PONG: it is down or unreachable, or the reply names the cause (WRONGPASS/NOAUTH for a wrong or missing password, Connection refused, a DNS error) Fix what the reply names. The pod starts on its own once Redis answers; no restart and no boot failure is counted
The host refuses to start, naming a proxy pub/sub error A Redis connection string routed through twemproxy or envoyproxy cannot serve pub/sub, which the cluster bus requires Connect the backend directly to Redis, not through a proxy that does not support pub/sub
A replica hangs at start-up saying the initialiser lock is held Another replica is applying schema and seeds Wait. It retries, and the loser runs the idempotent initialiser afterwards
Sign-in is refused with a forced password change The bootstrap administrator's initial credential is flagged must-change Complete the change; it issues a short-lived single-purpose token, not a session
A from-nothing Compose boot cannot initialise the database, while a long-lived volume works fine The database image refuses a volume mounted directly at the data root Point the data directory at a subdirectory of the mount
Compose refuses to adopt the shared workload network on upgrade The network was created by the workload provider, not by Compose Stop the workloads, remove that network once, and let the next bring-up recreate it
Chart render fails naming a secret A production-critical secret is missing or still holds a shipped placeholder Supply it through an existing-secret reference before doing anything else
Requests start returning 429 with a retry hint The global concurrency limiter is shedding load — 80 in flight, no queue Size it around four times the database pool. Health and metrics endpoints are exempt, so probes keep answering, and open sockets and live streams do not count
Every workload provider call fails with "cannot reach API server" A default-deny egress policy with no rule for the API server Enable the Kubernetes provider in the chart, which adds the rule. For a remote cluster on a non-standard port, add the policy by hand
A heap dump shows a third of the managed heap in reflection metadata, one DynamicILGenerator alive per DynamicMethod Framework caches that live as long as the process — EF Core property accessors and compiled queries, reflection-invoke stubs, container resolvers — and a DynamicMethod never releases its IL generator Nothing. The count saturates once the process is warm and does not grow with traffic. The generator side is a few MiB, under one percent of resident memory

Exit codes and start-up budgets

Exit Meaning
75 A boot failure. It is written to the replica's boot-failure streak first; after Bootstrap:AutoEngageThreshold (2) consecutive failures the next boot is safe mode. The start-up watchdog also exits 75 when the host has not reached ApplicationStarted within Bootstrap:MaxStartupSeconds (60 s) of running time; the Redis start-up wait and the cluster library's start do not count against it. Bootstrap:WatchdogEnabled=false turns the watchdog off
76 A refusal by the cluster window check (see the table above). Not a boot failure; it never counts toward safe mode
78 A refusal of the deployment's own configuration at start: an invalid managed section, an unreadable or unparsable Managed:Directory, or an object storage provider that has no definition or has moved. No restart cures it until the file or setting is corrected, so it is not a boot failure and never counts toward safe mode
0 A clean stop, and also a race at shutdown or a faulted background service after the host started
other An operator command (--migrate-only, --cluster-floor, --cluster-skip, the compilation sweep) keeps its own codes

Only one replica may apply migrations at a time. With Database:Startup:RunMigrationsOnStartup=true on every replica of a cluster they collide on DDL and on the seed (a 23505 primary-key race) and crash-loop: let one replica or the migration Job migrate. A replica that migrates nothing still checks its cluster window, raises the floor and requires the workflow schema at the library head before it serves. The migration Job and the compilation sweep never join the cluster.

Readiness covers PostgreSQL, safe mode and the replica's cluster state (a fenced or not yet admitted replica fails it). The read-replica health check is tagged degraded, not ready, because services that may read from a replica fall back to the primary. /health/details answers in full only to an administrator's session or token, and /health/ready tells whether a 503 is the replica's start-up phase or safe mode.

A single replica in safe mode on Kubernetes

A safe-mode replica fails /health/ready, so the backend Service has no endpoint while it is the only replica. The frontend pod still serves the page, but its /api calls answer 502: the page shows the sign-in form and sign-in fails with a gateway error, and the Cluster tab is unreachable. Check with kubectl logs (the log names safe mode and its reason) and kubectl get pods (running, not ready). Three exits:

  • Port-forward to the pod's API. kubectl port-forward pod/<backend-pod> 8080 ignores readiness, so the API is reachable and the page is not. Sign in with POST /api/auth/login (body {"userName": ..., "password": ...}) and keep the session cookie (curl -c jar -b jar). List and switch plugins with GET /api/admin/recovery/plugins and POST /api/admin/recovery/plugins/{id}/toggle, then POST /api/admin/recovery/restart with the body {"confirm": true} (without it the answer is 400). The restart resets the failure count and stops the pod. Every other route answers 503 replica_not_serving.
  • Delete the pod. The replacement boots normally if the failure count was reset, which a safe-mode boot does once it has started.
  • Wait, with the Helm chart's default startup probe only. That probe checks /health/ready and never passes in safe mode, so the kubelet restarts the container after about 7 minutes (10 s plus 41 probes of 10 s) into a normal boot. If the fault is still there it fails twice (exit 75, growing back-off) and the next boot is safe mode again. With a manifest of your own whose startup probe is /health/live, with startupProbe.enabled=false or with another path there is no reset: the pod stays unready until you delete it or restart it through the port-forward.

With the --safe-mode flag every restart is safe mode again; unset it first. Docker Compose has no probe and no reset: docker restart the container, or call the exempt recovery endpoints.

Running several replicas

Symptom Cause What to do
Every real-time connection dies with an unknown-connection error, and updates stop application-wide A client that negotiates before it opens the socket — a stock SignalR client, or an outdated companion app — behind a balancer that sent its negotiate and transport calls to different pods. The connection id exists only on the pod that issued it Update the client. Until every client is updated, keep cookie-based session affinity on the ingress
Real-time updates never start and the browser reports that the hub WebSocket failed The route to the backend drops the WebSocket upgrade on /hubs. Clients open the socket directly and never fall back to long polling Forward Upgrade and Connection on the hub path, as the shipped frontend nginx does
Sessions drop at a fixed interval A reverse-proxy read or idle timeout shorter than the heartbeat Raise the read timeout above the heartbeat interval
Brute-force protection allows several times the configured attempts Replicas count under different RateLimiting:KeyPrefix values or against different Redis instances Give every replica the same prefix and the same Redis
A save takes up to a minute and then says not every server has confirmed it The write answered 202 write_unconfirmed: a replica crashed and its lease had not run out, or its applier stalled and had not fenced yet. The write is committed Find the replica: reeve_cluster_fences_total by trigger, and the pods that restarted. Later saves are quick once it has fenced or its lease has expired
A backend never starts listening and its pod or container restarts again and again (it exits with code 75 after Hosting__StartupTimeoutSeconds, 300 s by default), or a replica that rejoined after a fence stays out of rotation with readiness loading.failed A configuration type's full load keeps failing there; the Error log names the type and the first entry it could not apply When no replica has applied that entry, open a skip (--cluster-skip, see running multiple replicas). When others have, the fix is a release. Safe mode does not help
Every replica logs that an acknowledged write may be lost on a failover The cluster library's synchronous-replication check: the database has a standby and synchronous_standby_names is empty or synchronous_commit is local or off. It is a warning in the log and the replication status section; readiness is not affected Make the standby synchronous; see PostgreSQL with a standby
A host just added to the egress allowlist is still refused, but only sometimes The replica may not have applied the egress generation yet Check reconciliation status and retry after it applies
Users signed in through an identity provider are signed out at random The provider answered invalid_grant for the token the session held: the refresh token was revoked, or a replica crashed in the milliseconds between the provider issuing a new one and storing it Check the provider's session list for the account. Parallel requests do not cause this: the refresh is single-flighted across replicas, and a refusal is only acted on while the session still holds the refused token
The plugin reload dialog reports success, but some requests still see the old build The dialog reloads one replica and then polls whichever replica answers Roll the deployment to converge plugin code on every replica
A paused debugger run vanishes The replica executing it stopped; a paused run lives in that replica's memory, even though steps and resumes reach it from any replica Start the run again
Commands from a non-owning replica take noticeably longer They are written as durable rows and the owning replica delivers them on its local socket Expected; delivery is reliable but the latency is real. A serialised radio makes it worse
A plugin works on one replica and not another Reload, hot-registration and the three install markers — Requires restart, Rejected and Backend too old — are per-replica Roll the deployment to converge plugin code globally
Creating an instance straight after installing a plugin answers 503 The request reached a replica still applying the install from the plugin_type generation. Usually the artifact is slow to arrive: the replica tries again with a longer bound each time, until it has the type. A warning in its log names the reason when it cannot Retry after the Retry-After interval. If the replica keeps refusing and its log says why, fix that; a restart also brings it level
A configuration wizard answers 503 "not loaded on this replica yet", or keeps retrying a step The replica running the flow has not loaded its plugin type within Plugins:TypeCatchUpTimeout. The flow is kept, and the web application retries the step on its own Wait; if it persists, restart the replica whose log carries the warning that the type "was not loaded on this replica"
A newly installed plugin reads Requires restart The committed version is not active on the replica that served the install, and a restart could load it Restart that replica. The response and the instance badge carry the reason the activation gave
A newly installed plugin reads Rejected The replica refused the artifact's registration for a reason the next boot refuses again, and the reason names the check Install a different version, or remove the conflict it names. Restarting repeats the refusal
A newly installed plugin reads Backend too old The version declares a minimum host version above the one this backend runs Upgrade the backend. The comparison is re-run on the next boot, so a restart changes nothing
A native plugin reads Requires restart after an install that loaded its instance Its workflow blocks, triggers or alert subscribers are not the ones loaded: the installed version declares them, or the booted version's are still registered. Blocks and alert subscribers are swapped live unless one changed shape, is no longer exported or could not be built, or an instance reload or start failed Restart that replica. The badge's reason ends with (blocks after restart: …) or (alert subscribers after restart: …), or names the failed call, and the replica's log reads blocks not swapped: …. A plugin that exports only blocks has no badge, so read each replica's log
A WASM instance reads Faulted after an install that reported success The installed version's own code refused to start it, or its configuration lacks a field that version requires and gives no default for; the health message names which Fix the configuration or grant it names, or install another version. The replica retries the start on its own, and a restart does the same
A shared-subscription setting makes state worse Sharding costs retained-on-reconnect delivery and buys nothing below two replicas Leave it off unless you really run several replicas of that instance
Two replicas of a broker integration reconnect endlessly Two connections share one client identifier; the broker disconnects the older Make the client identifier replica-unique

Devices

Symptom Cause What to do
A device stopped responding to the app but still shows a reading Its active source is degraded or offline while its last reading persists. An online source is presented as degraded once it has not been heard from within the freshness threshold Check the integration's health. Presence-reporting device types are judged against their own longer threshold
A control the device clearly supports is not rendered The capability is absent from that instance's availability descriptor By design. The fix belongs in the driver's descriptor, never in the interface
A command is refused with a range or token error Per-instance bounds and the instance's narrowed token set are enforced on the server, not only in the interface The driver's declared domain is the contract
A slider loses its bounds, or a per-instance range disappears A driver-declared minimum, maximum or step fell outside the catalogue's canonical range and was dropped whole rather than mislabelled Convert the range to the canonical unit inside the driver
A reading is orders of magnitude wrong, and the control changes shape The driver emitted a vendor-scale value under a canonical unit label — millivolts, centi-degrees, a vendor energy scale Conversion belongs in the driver. No client ever converts
A cumulative meter reads far too high Duplicate samples at an identical instant, summed by a delta-based measurement Equal-instant repeats are skipped. If it persists, the driver is re-reporting under a frozen or non-advancing clock
A meter reads zero forever Its unit string is outside the recognised set and cannot be normalised Energy normalises to kilowatt-hours and volume to cubic metres; anything else raises an unsupported-conversion flag
A device shows a stale type and its new controls refuse to work It was classified from an incomplete first read — typically a sleepy device whose initial read timed out Single-source devices re-type on rediscovery. A merged device must be detached first
A device renamed itself after a plugin update Nobody had renamed it, so it follows its primary source's reported name Rename the device to pin its name
A device keeps a wrong name its plugin has since corrected It was pinned at upgrade because its name matched no primary reported name — or a user renamed it Rename it once; a pinned name never follows again
A device source renames itself to the vendor's own name after an upgrade Reported names are refreshed on every discovery sweep; your name is a separate sticky override Rename the source to pin it
Two gangs of a multi-gang socket both show the same label Vendors label gangs identically Name each gang. The positional ordinal disappears once the labels differ
Merging two devices lost scenes, access grants, helpers, cloud exposure and history The merged-away device row is removed and every table keyed to it cascades Merge into the device that carries the configuration, and re-create what was attached to the other
Removing one source removed the whole device It was the last remaining source; a device with zero sources is not representable The confirmation dialog and the response both say which will happen
A device reported by two integrations becomes uncontrollable after detaching one The ownership index dropped the device when the first source detached instead of the last If a device is unreachable by identifier while it still exists, this is the shape of it
The same physical device appears twice Two sources hear it — two proxies, or a radio and a network proxy Attach both sources to one logical device. Never de-duplicate on signal strength inside a driver
A device refuses to delete, or a plugin instance refuses to uninstall It is the source of a utility meter, the only restricting reference to a device Remove the meter first
A device page briefly shows an old value after a command The client cache key did not travel with the command target A control that commands a source but invalidates the logical device's cache refreshes nothing while appearing to succeed
A scene action stops firing after an upgrade A stored capability-kind ordinal now decodes as a different kind, and the consistency check refuses the mismatched action It fails closed — no wrong command is sent. Re-capture the affected scene actions
A device stops responding to commands after its identity changed Some device identities are re-keyed on rediscovery, orphaning every reference Prefer the stable protocol identifier the vendor supplies over anything derived from a name
An automation fires from an old reading A state report arrived claiming a timestamp newer than it is Out-of-order reports are otherwise suppressed from the real-time and feed paths for exactly this reason
The same device keeps reappearing as a new discovery candidate Most phones and wearables rotate their Bluetooth address every quarter hour and cannot be resolved without bonding Dismiss them, or bond through the plugin's pairing flow. A stable identifier dismisses once and stays dismissed
Discovery finds nothing on a clustered deployment Multicast does not traverse a pod network Use the per-node discovery workload, run the backend on the host network on a single node, or disable the multicast service types and configure instances by hand
Discovery finds devices but the list looks empty The list defaults to candidates claimed by an installed plugin Switch to the unfiltered view; the empty state offers the switch

Device model changes

A plugin update or a firmware change can make a device declare different channels or capabilities than the ones your scenes, automations and workflows were built on. Reeve never refuses such a change. It scans what refers to the device and records a finding on each object that no longer resolves; the alerts below summarise those findings.

A finding entry shows the name of the object it sits on, linked to that object's editor, then a message naming the device and the thing that changed. A channel is written with its number and, when there is one, its label: Channel 3 (Kitchen light) of device 'Hallway' is no longer declared. The number is the one the plugin assigned and keeps for the channel's lifetime, not its position in a list. Findings are listed on the device page, on the object's own form and, for a workflow, in the panel over the editor canvas.

Symptom Cause What to do
device.dependencies_broken: "{n} objects refer to features '{device}' no longer has" The device's descriptor dropped a channel, capability or button that those objects use Open the device page and follow each finding's link. Point the scene action, trigger or workflow block at a target the device still declares and save. For a utility meter, choose a metric the device still reports, or set the meter's unit to the one the finding names. The scan then clears the finding, and an automation the change switched off resumes once its last blocking error clears; otherwise enable it
The same alert names a device as replaced The device reported a different device type, so Reeve retired it and made a new device. References stay on the retired device until someone edits them Re-point each linked object at the new device named in the alert. The retired device can be removed once nothing refers to it
A finding is a warning, not an error A source of the device has not described itself yet, so the target may still exist, or the target is a channel label with no channel Nothing is switched off. The warning settles when the source reports again. A channel label whose channel is gone is only display, so it changes nothing at run time
An automation is disabled and says a device it uses changed One of its triggers or bound inputs became an error finding The notice under the reason and the alert name the device and the missing capability or channel; read the findings in its form. Repair them, or wait for the plugin to declare the target again; the automation resumes when no error is left
A scene runs but skips an action The action's target is gone. The rest of the scene still runs and the activation result lists the skipped action with its code Edit the scene from the finding's link and re-capture or remove the action
A workflow finding does not open a block The canvas shows an unpublished draft and the block the finding names is not in it, or it sits on a canvas the editor cannot open Findings are raised on the published version. Publish the draft, or repair the block in the version the finding names
device.exposure_changed: "'{device}' changed {n} Matter endpoints" A structural change removed, re-identified or made read-only a channel of a device that is bridged to Matter, or a re-home or collapse gave a bridged device new endpoints, or a collapse into a bridged device retired the bridged devices it replaced, and the bridge rebuilt its endpoints Nothing in Reeve can repair this. Re-add the device in Google Home or Apple Home and re-create the routines that used the changed endpoints; room and name are not carried over
device.rehomed: "'{device}' reported a different device type and moved to '{replacement}'" The source reported a different type, so it moved to a new device. Telemetry history, channel labels and critical keys do not move Check the new device, re-apply its channel labels and critical flags, and re-point objects that still refer to the old device. For a retired device, utility meters and dashboard tiles still point at it and have to be re-pointed by hand
A finding still shows after the fix The object was saved but the scan has not finished, or another reference to the same device remains on the object Reload the device page. A scan runs after every save; if a finding stays, the entry's message names the remaining channel or capability

Removed devices

Removing a device (or uninstalling the plugin instance that owned it, or merging it into another) does not delete or empty what refers to it. A scene keeps its actions, an automation its triggers, inputs and workflow blocks, and a dashboard its widgets, and each shows what it lost. An automation that uses a removed device is stopped, so it does not fail on every trigger. The same holds for a removed helper. A retired device is covered under device model changes.

Device ids are never reused. Re-pairing a device, or reinstalling the plugin after deleting its instance, creates new devices with new ids, and merging a device into another removes the merged one. A merge points the merged device's automation triggers and bound inputs at the device it was merged into; nothing else re-points the old references (workflow blocks, scenes, dashboards), so each listed reference has to be pointed at the new device by hand.

Where it shows:

  • Scenes. The card says "1 action on a removed device" (or "N actions on removed devices"), in Basic mode too. The editor shows each such action as "Removed device" with a Remove action button. Saving the scene keeps an action you did not remove, but a new action must name a device that exists. Activation skips the action with the reason DeviceNotFound (the message reads "Device '<id>' was not found.") and runs the rest.
  • Automations. An enabled automation that uses a removed device in a bound input or a block of its published workflow, or whose triggers can no longer fire because of one, is stopped. It is disabled with "Disabled because a device it uses was removed" and a detail such as "Device 'Oven plug' was removed.", and one automation.disabled alert is raised. The stop happens within a minute of the removal and when a trigger fires, before the run starts. An automation that starts on any one trigger and loses one of several keeps running on the others. An automation you had switched off stays off. The card shows "References a removed device or helper" and says whether triggers, inputs or workflow blocks are affected, and the form lists each place. While a removed device stops it, the notice offers no Enable.
  • Dashboards. Every widget that names a removed device or helper shows a warning strip under its title, with no id: "Device removed", "Helper removed", "1 series on a removed device", "Camera device removed", or "Bound device removed" for a custom widget. In edit mode the strip offers Remove widget, and a banner above the dashboard counts the removed devices and helpers. A chart, statistics table or camera learns of a removal only when the dashboards are fetched again. Device and helper widgets show it as soon as they next read the device.
  • System status. A stopped automation carries its automation.disabled alert and no other. The Automations & devices tab carries one Warning alert per other affected object: automation.references_missing, scene.references_missing, and dashboard.references_missing for a shared dashboard (a personal dashboard shows only its banner). The maintenance pass raises and clears them about once a minute, so an alert clears on its own within a minute after the last missing reference is removed or re-pointed.
Symptom Cause What to do
automation.disabled: "Automation '{name}' was disabled: Device '{device}' was removed" The automation was running and a bound input or workflow block names a device that was removed, or its triggers can no longer fire without it (by deleting it, uninstalling or removing its plugin instance, merging it away, or purging a retired device) Open the automation from the alert. Point each listed trigger or input at a current device, or remove it; for a workflow block, edit and publish the workflow. Then enable the automation. A merge already re-pointed its triggers and inputs
automation.references_missing: "Automation '{name}': places naming removed devices or helpers: {n}" A trigger, a bound input or a block of the automation's published workflow names a device or helper that was removed Open the automation from the alert. Point each listed trigger or input at a current device, or remove it; for a workflow block, edit and publish the workflow
scene.references_missing: "Scene '{name}': actions on removed devices: {n}" (seen only by users who can see the scene) The scene's actions name a removed device Edit the scene, remove the actions marked "Removed device", and add actions for the replacement device
device.kept_for_meters: "'{device}' was removed by its plugin and is kept, unavailable, because utility meters read from it" The plugin reported the device gone, but a utility meter reads from it, so Reeve kept the device and its history. It shows as offline, the Utility meters page marks the meter "Source unavailable", and the meter gets no new readings Open the meter and point it at another device, or delete it, then delete the device. To bring the device back, have the plugin report it again. The alert clears within a minute of either
dashboard.references_missing: "Shared dashboard '{name}': widgets on removed devices or helpers: {n}" Widgets name a removed device or helper Edit the dashboard and remove or reconfigure the widgets whose warning strip names a removed device or helper
The log shows a warning such as Workflow {id} for trigger {id} failed at node {node}: ... Re-point or remove the reference in the automation. A run reached a block whose device or helper was removed. It is logged as one warning line with no stack trace; any other run failure stays an error Fix the reference the line names, as for automation.references_missing. A sub-workflow's blocks, a wired or expression target and a raw vendor-property block are not listed on the automation ahead of time, so this log line and the run's history are where they show. A custom widget's data binding is not counted by the banner or the alert either; the widget shows "Bound device removed"
A scene activation says "Scene partly activated — 1 device removed" (Basic) or "Scene partly activated — 1 of 3 actions skipped (1 device removed)", or "Scene not activated" when every action is on a removed device The scene still holds actions on a removed device; activation skips them with DeviceNotFound As for scene.references_missing
A demo scene, automation or shared dashboard was rebuilt by a reseed Seeding demo content again rebuilds a demo object that refers to a removed device or helper, keeping its id: a scene's actions, a dashboard's definition, or an automation's triggers and input bindings. A demo object is one the seed created under its fixed demo id. Any other object with a demo name is never touched, and neither is a demo object with no missing reference Nothing. Your own edits to a rebuilt object are lost, and it binds demo helpers and scenes by name. A rebuilt demo automation that was stopped for a removed device is enabled again once nothing it names is missing. To have an older demo object rebuilt, delete it and seed demo content again

Integrations and protocols

Matter bridge symptoms are in the Matter bridge guide.

Symptom Cause What to do
An MQTT integration cannot connect on a fresh install Reeve ships no broker, and the instance names none or one that refuses its credentials Run a broker and enter its host, port and credentials in the plugin instance's settings. Sidecar adapters on the session plane need none and must not be given any
A deliberately stopped integration leaves a stale "online" behind The broker's will only fires on an ungraceful disconnect The integration must re-publish its retained offline message before disconnecting cleanly
A queued command actuates minutes late Message expiry is a newer-protocol feature, silently ignored on the older one Negotiate the newer protocol version. State, availability and discovery publishes must never carry an expiry — they have to persist
A protocol health check passes while every publish is rejected Opening a socket proves nothing about the protocol Check a real connect-and-acknowledge exchange instead
Protocol discovery silently finds nothing on a segmented network Multicast does not propagate there Use the plugin's static host and port list, or seed candidates from a controller-backed source that knows every client across every segment
A device that worked on one subnet stops working across a routed LAN Broadcast discovery does not cross subnets; addressing the device directly does Prefer direct addressing where the vendor protocol offers both
A push-based device socket looks healthy forever while nothing arrives A dead socket that never returns end-of-file Declare it dead after a small multiple of the keepalive interval and reconnect with backoff and jitter

Plugins

Symptom Cause What to do
A plugin installs successfully and never starts The loaded factory's plugin type identifier differs from the manifest's, or the artifact is not a real managed assembly Read the instance error and the identity-mismatch audit entry. The publisher must fix the manifest or the build
A plugin disappears after a restart or a pod replacement Installed artifacts live on per-replica storage and a fresh replica starts empty Boot self-heal restores every installed artifact, reading the cluster's stored copy in object storage before the plugin's source. An unreachable source only costs a plugin when there is no usable object either — including an installation record that carries no digest. When neither can produce it the plugin stays absent, fail-open, until one of them can
A newly published plugin never appears in the marketplace An index refresh returned unchanged, or one bad entry failed the whole materialisation pass Re-pointing an index keeps the old validator and can produce a false unchanged
Every release of a repository suddenly reports verification failed The wrong public key is pinned Verify a real release offline before pinning. The signed payload is the manifest's artifact hash, not the release row's stored digest — checking the wrong one fails for every release and looks exactly like a wrong key
A previously verified plugin drops to unsigned after a key change Setting or clearing a key immediately revalidates that repository's installed instances Deliberate. A stale verified status would make the next update look like a dropped signature
A plugin update stops with a conflict and a list of changes An anomaly was detected between the installed version and the candidate Review each item, then re-call the install with the acknowledgements. The server re-verifies everything before writing
An auto-updating plugin is stuck on an old version The subscription parked on an anomaly Approve or reject it. Rejecting advances the baseline so the same version is not re-proposed
An install is refused outright A required permission was withheld in the submitted grant, or signature enforcement is on and the release did not verify Grant the required code, or fix the signature
A plugin refuses to load after a host upgrade Its declared compatibility range excludes the running host The audit entry names the range. Either the publisher ships a compatible release, or switch enforcement to warn temporarily
A freshly published version of a plugin refuses to install on a host that runs an older version of it Its build re-derived the minimum host version from a newer SDK Upgrade the host, or the publisher pins the older SDK
A sandboxed module is skipped at install or boot Its declared interface version is outside the supported window Rebuild against a supported SDK. The rejection is clean and logged rather than a mystery failure later
A plugin's outbound calls fail with a denial The target host is outside the granted allowlist Widen the grant within what the manifest requested. The denial also raises a repair issue and appears on the egress dashboard
A plugin cannot reach a service on the local network or in the cluster The address is always closed to plugins (loopback, link-local, carrier-grade NAT, multicast), or Plugins:Egress:LanOnlyThroughOwnerAddresses is on and the host is a fixed manifest name An always-closed address opens only through an exact IpAddress entry of the egress allowlist. Under the tightening, type the address into the instance's configuration or add the host as a PrivateHost entry of the egress allowlist. A LAN address is otherwise open for any granted host
A plugin's MQTT connection to a broker typed into its settings never connects, and the log shows Blocked egress The broker resolves to an always-closed address, such as localhost; or Plugins:Egress:LanOnlyThroughOwnerAddresses is on and the broker is on the LAN Enter a broker the plugin can reach, on a LAN or public address. Under the tightening add the broker host as a PrivateHost entry of the egress allowlist; an always-closed address opens only through an exact IpAddress entry of the egress allowlist
A plugin's MQTT publish fails at once with "no MQTT broker configured for this instance." The plugin instance leaves its broker empty; Reeve runs no broker of its own Enter the operator's broker in the plugin instance's settings
A plugin instance cannot reach the address typed into its settings The field its config host token reads is empty or invalid (the instance shows the config_host_invalid repair issue), the plugin's grant lacks the token because a release adding it waits for approval, the field holds a secret reference whose secret changed since the instance started, or the address is always closed to plugins, such as localhost Enter a URL, host name or IP with an optional port, approve the held update, or restart the instance after rotating the secret. An always-closed address opens only through an exact IpAddress entry of the egress allowlist. GET /api/plugins/instances/{id} returns the resolved hosts as configHosts. See config host tokens
Saving a plugin instance answers plugin_config_field_invalid A field a config host token reads holds a value that is not an address in the field's form (a URL, or a host with an optional port) Correct the named field
A plugin's setup wizard ends with "the plugin filled in ... with an address you did not enter" The plugin's config flow put an address into a field its config host token reads without asking the owner for it in a field of the same name Nothing is saved. Report it to the plugin's publisher; the flow must ask for the address
An auto-updating plugin's update waits with "Asks for new network hosts" (hosts_changed) The release requests a network host the installed release did not, for example a field-based address in place of any host Review the hosts and approve or reject. Approving grants only the new hosts
An auto-updating plugin's update waits with "Device types need your choice" (device_types_need_choice) and Approve is disabled The installed release names its device types, none of them is granted, and the new release asks for every device type, where an empty grant means all of them; or the installed release's manifest cannot be read Update the plugin manually and choose its device types. In the first case, granting one of the installed release's types on its permissions page also lets the next pass apply the update
One-click unblock refuses A plugin-host refusal is fixed by granting the host to that plugin, not by an operator allowlist entry Scheme, embedded-credential and name-resolution refusals cannot be fixed by allowlisting at all
A repository sync fails citing a rate limit The anonymous upstream quota is exhausted Configure a token for that provider, or wait. Manual sync also refuses more than ten triggers per hour per user
Devices go unavailable for a few seconds after a reload Every device owned by the reloading instance is offline from stop until restart Expected. The confirmation lists the affected devices and requires acknowledgement
An "update available" badge will not clear It compares the on-disk artifact hash against the loaded one It clears after a successful reload. For a sidecar-bearing update it clears when the update reaches its terminal phase, possibly after the dialog was closed
The install button is disabled, or the server answers 403 Browsing the marketplace and installing from it are separate permissions Grant integration management
A stored configuration value appears unredacted in a diagnostics bundle The key is not in the plugin's current declared schema — an older version stored it and a newer one removed the field Scrub it through a configuration change; do not rely on the bundle alone
A secret leaks in a diagnostics bundle despite redaction Redaction is key-based; a secret embedded inside a free-text value is not caught Plugins must not put secrets in free text
A plugin issue comes back after being acknowledged An acknowledgement covers the occurrence it was given on; the alert returns when it resolves and is raised again Fix the underlying condition, or silence the alert from the System status Alerts tab to keep it quiet
Re-installing a plugin asks for permissions again Uninstalling the type drops its grant and recorded consent, and so does removing the last instance of a type with no installation record (one bundled with the image) Deliberate: a hijacked plugin cannot reuse an old grant. Deleting the last instance of an installed type keeps both
An instance added from Integrations never gets workload rows, and the log says consent does not cover it The add-instance form sends no deployment parameters, so the instance resolves the author's defaults — for Matter hostNetwork — while the install recorded consent for the posture the wizard chose Create the instance through the install wizard's Deploy step, which sends the parameters; the add-instance form does not collect them
Devices and their history are gone after a plugin was removed The removal was an instance delete: every source of those devices belonged to that instance, so the aggregates were hard-deleted. Uninstalling the type takes nothing — it cascades nothing and is refused while any instance exists Devices with a second source only lost that source. Restore from backup if the history mattered. No removal keeps them: an uninstall needs zero instances, and reaching zero is what deletes the devices only this plugin sourced
Deleting a plugin instance answers 409, saying some of its workload instances did not reach Terminating A workload row could not be moved to Terminating, and deleting the instance would orphan it: the teardown faulted, an operator-owned row's credential could not be revoked, or the row's write lost a race three times in a row The delete retries the teardown up to three times first. The instance is then disabled and marked Deleting, and no replica starts it again: enabling, updating and reloading it answer 409, and the plugin list offers only Delete. Retry the delete, which continues the teardown. If it keeps refusing, look for the workload library's "Failed to begin uninstall of workload instance" error for each blocked row
A workload stays in Terminating and its teardown never finishes (the provider is gone, or the runtime cannot be reached) The platform deletes the row only after the provider confirms the runtime is gone, and it keeps retrying. When the provider can never answer, the .stuck Repairs issue is raised after Workloads:Repairs:StuckWarningAfterSeconds (15 minutes by default) On the plugin's Deployment page choose Forget workload (it needs the integration-management permission and the workload operations switch on). The platform then stops tracking the workload, deletes its record and revokes its credentials once, calls no provider, and audits workloads.forget. Remove the leftover runtime and volumes yourself (containers carry the label dev.reeve-iot.workload-instance, pods reeve-iot.dev/workload-instance). It is refused with 409 for a row that is not stuck in Terminating and while the plugin has an update in progress (POST /api/workloads/{id}/forget)

Plugin storage at boot

  • On a replica with per-replica plugin storage a fresh pod boots with an empty install root. Before the WASM scan and the on-disk scan, start-up re-pulls the installed custom-plugin set into it. This is fail-open: it never aborts start-up, and a WASM module that fails to load is skipped. Disable a plugin that breaks the boot from the Cluster tab of a healthy replica, or through the recovery endpoints, before the next boot.
  • A plugin type found in a separate install root without an installation record is refused at boot and its version directories are deleted, so nothing is loaded on a guess. The image's own plugin directory is exempt.
  • A reporter logs install-root plugin directories that have no installation record, and never deletes them: an absent record can mean an uninstall, an older install, a developer drop or a plane whose tables the pass does not read. It looks only at the install root, and not at all when the install root is also the image's plugin root. When the installation records cannot be read it names nothing, and the boot fails rather than guess which version is installed.
  • A plugin instance whose start fails has its fault recorded by the plugin manager and shown on the instance; a replica that never serves starts no instance.

Workloads and sidecars

Symptom Cause What to do
A workload sits waiting for an adapter session forever One of: no connection attempt at all, a transport failure, a bad token, an instance-identifier mismatch, or connected but no handshake Read the last connection outcome in the diagnostics panel; it names which. No attempt at all means a wrong gateway URL, blocked egress, or a container that is not running
The effective workload provider reads Manual, or Docker workloads stop converging and report the daemon unreachable The Compose files in use do not include the Docker workloads overlay, so the backend has no Docker socket. Automatic then resolves to Manual, and a workload already deployed on Docker stays bound to a daemon the backend can no longer reach To keep workloads on Docker, set DOCKER_GID and add docker-compose.docker-workloads.yml (COMPOSE_FILE in .env keeps it in every later command); see the Docker socket. To leave Docker, add the overlay long enough to switch each Docker workload to Manual or reinstall it on Kubernetes and to set the provider to Automatic or Manual, then drop it
A Docker workload passed install preflight but never opens a session The Docker preflight checks the gateway URL without dialling it: set, parseable, ws or wss, and not a loopback or wildcard host unless the sidecar uses the host network. A well-formed URL the shared workload network cannot route to passes Read the last connection outcome as in the row above. From a container on the same network, connect to the gateway's host and port; if that fails, point the Docker gateway URL under Integrations → Workloads at an address that network can reach
A workload's sidecar is never created and it sits awaiting consent The plugin's grant does not carry the deployment permission Re-grant it, or the publisher must declare it. A manifest declaring no permissions parks its workload forever
Adapter pods run but never reach healthy in a default-deny cluster Sidecar pods carry labels no existing policy anticipates, so their one egress to the backend is denied Add a policy selecting the installation or instance label, allowing the backend port plus name resolution. Host-network adapters egress from the node and are not covered by pod-selector rules
Install fails preflight on a privileged adapter The namespace enforces a restrictive pod-security level Permit privileged pods in that namespace, or grant the equivalent security context
An adapter comes up degraded with a permission or host error A declared host prerequisite is missing — a daemon, a kernel module, a stable serial link The state message names the requirement. Satisfy it on the node
The install fails before scheduling with an architecture error The selected node's architecture does not match the image's declared platforms Deliberately an error, not a warning, so a mismatched image fails before it crash-loops
A workload that is clearly working reads as permanently unhealthy under a network attachment Its health listener is bound to the attachment address, which the node cannot reach Bind to all interfaces or to the primary interface. Under an attachment, readiness means container-running plus service-endpoint membership
A pod hangs in container-creating with no explanation, or an attachment vanished Check, in order: the per-node address daemon, the other CNI plugins the attachment chains on that node, and whether the attachment object still exists under exactly that name in the workloads namespace Attachment state is not polled, so a deleted network keeps working for a running pod and fails only at the next apply. Trigger a reconcile after fixing it
A rebuilt node breaks attachments that worked before Hand-installed CNI plugin binaries are lost on a rebuild from a base image Reinstall them. The attachment definition must also live in the workloads namespace, or it is invisible exactly like a missing one
A pinned volume is stuck pending after the radio node died A topology-bound storage class binds the volume to the node it first landed on, and it can never move Relocate does not move or recreate a volume. Delete the stuck claim yourself, then relocate the workload if it should move: the reconciler creates a claim deleted by hand again, empty, on its next pass (the volume reads "Claim missing" until then), and a redeploy does it at once. Restore the data into it if you have a copy. Back critical volumes with a class that survives node loss
A workload reads Degraded with "Deploy stalled for over 10 min" and its pod waits on an unbound claim The claim was created with a StorageClass the cluster cannot provision (or none, with no default marked). A claim's class cannot be changed For a volume whose manifest names no StorageClass, set an existing one under Integrations → Workloads, then Redeploy: the apply deletes the unbound claim and creates it with that class. A volume whose manifest names its own class ignores that default, so create that class on the cluster. A bound claim and a claim adopted from a restore are never replaced; an adopted claim binds once its class exists
A relocate plan warns that a volume stays on its node The volume's PersistentVolume is bound to a node the new selector excludes. Relocate never deletes or moves a volume, so it only reports it The workload will not start on the new node until you move that data there yourself
A private registry pull fails on the Docker provider No matching registry credential, or one aimed at a plain-HTTP host Configure a credential whose host pattern matches. Credentials only ever attach to encrypted registries; the pull is refused rather than leaking them in the clear
A workload is stuck in a rollback that cannot complete The previous image digest is no longer pullable, or the old specification cannot be re-rendered Retry once the digest is available, or force forward and accept the newer running specification as desired
Workloads are running after a database rebuild but the product does not know them A fresh install writes a new installation identifier and the retained volumes carry the old one Adopt from the previous installation; it verifies ownership evidence, relabels the claim and binds it to the new instance
A retained volume never appears in the adoption offer A live instance still claims it Such volumes are never offered. Confirm nothing still holds it
Adoption refuses instead of creating the volume Adopted claims must exist or fail; no path provisions a fresh empty one Confirm the volume is really there. Only one instance may own a retained name
Repeated scale-up and scale-down accrues orphaned per-replica volumes Per-pod claims default to retain on scale-down Reap them by hand
A workload works on a single host and is unreachable in a cluster It declares no ports, so no service object was created — while its name still resolves fine Declare the port in the manifest
A parameter edit, a token rotation or a workload command is refused An update is in flight on that instance The response names it. This closes the mid-update mutation races
A settings save restarts more adapters than expected Reconciler-initiated rollouts are staggered one workload at a time with health checks between The confirmation says how many will restart

Workload rows without a plugin instance

The orphaned-workload sweep removes workload rows whose plugin instance is gone; the workloads schema has no foreign key back to plugin instances, so nothing else notices one. It runs on the leader only, every Workloads:OrphanSweep:Interval (5 minutes), and tears a row down only when it sees the same row on two consecutive passes, so an orphan survives about two intervals and a restore caught mid-flight is not mistaken for a leak. When more than Workloads:OrphanSweep:MaxOrphansPerPass (5) rows qualify in one pass, it reports them and acts on none: a leak produces one row, and a fleet of orphans means a half-restored or wrong database. A refused pass forgets what it saw. A leadership hand-off costs one more pass. Set Workloads:OrphanSweep:Enabled=false to be told instead.

Uninstalling a plugin type keeps its workload volumes; the uninstall dialog says where the retained data lives. A retained volume is bound again at install through an existingClaim.<volumeId> restore binding. Uninstalling a type is cluster-wide and is refused while any instance of it exists; the dialog names the blocking instances.

The deployment summary in the marketplace lists every privilege the consent catalogue can itemise from the declarations alone. It is informational and never gates an install. A network slot counts as reaching an operator-supplied network and needs approval; an empty pod patch is shown as declared but without effect and does not raise the privilege flag.

Cameras

Media plane symptoms (MediaMTX, the remux, switched-off transports, STUN) are in the media plane guide.

Symptom Cause What to do
A camera tile says too many people are watching The per-camera viewer budget is full Close another viewer or raise the budget. That surface falls back to snapshot polling meanwhile. Any surface holding a slot can reach it — both dashboard widgets, an expanded room row, the Basic drawer, the detail page, the embed; a collapsed device-list or room tile takes none
A stream fails and the interface cannot say why A video element reports the same format error for the viewer limit, a dead workload and a corrupt stream The preview probes the transport once and branches on the real status. Never read the element's own error as a diagnosis
A camera stays unavailable after the workload recovers The verdict has to be re-probed The preview retries with escalating backoff and prefers the snapshot route, which shares the camera's fate but costs no viewer slot. This holds for a device-list or room tile too: its verdict is deliberately not frozen, because nothing else could ever clear it
A snapshot fails while the stream works The workload image has no decoder, and a single frame from a compressed source is a transcode Use an image that carries one. The dashboard and embed keep the full ladder and survive it; a device-list or room tile rests on the snapshot alone and shows a message instead of a picture
A camera tile on a device list or in a room shows one frozen picture A compact tile takes a single still and never opens a session, so nothing refreshes it Working as designed. Open the camera for live video. A tile of a camera that publishes no snapshot has no picture at all and says so
A camera tile shows a message where the picture was, but the detail page plays fine Either the still failed — which says nothing about the stream — or the device reports a closed shutter or livestream privacy on, and a tile must not keep a frame taken before that Both are correct. The tile probes its own way back, and the message clears when the state does
A camera is unplugged and the device still reads idle and online A restreamer always lists a configured producer, so an unreachable camera and a healthy unwatched one look identical to it Only a source that pulls frames whether or not anyone is watching can tell them apart — which is what a recorder is for
A recorder-backed camera says unavailable while the device stays online The recorder is up and answering but the camera delivers no frames No restart needed; the state returns by itself when the source comes back
A picture works but no motion or detections ever arrive The broker permission was not granted The plugin logs a warning and stays healthy by design
A camera tile stays blank on an encrypted deployment The browser fetches that address under the application's own content policy, which permits images from the same origin and encrypted sources only Serve the camera under the same origin, or use a device-mode tile. Backend acceptance of a plain-HTTP address proves nothing about the browser
A camera negotiates with a controller and never shows a picture Inbound traffic on the pinned media port is filtered on that node Open it
A camera is exposed but no tile appears in the controller That controller does not implement Matter cameras Nothing is broken; a controller that does not understand the endpoint ignores it
Turning motion detection off is refused while object detection is on The recorder forbids the combination and gives no reply to wait for The command fails locally with that reason rather than reporting success on a setting that will not change
A motion-sensitivity change appears to do nothing The value fell outside the accepted range Values are clamped before publishing. Higher means less sensitive — the vendor's own scale is published unchanged
An external recorder reports a camera as not configured The configured name must be the recorder's own camera key, not its friendly label Use the key
An external recorder's broker connection times out with encryption on The broker uses a private certificate authority; validation runs against the system trust store and there is no per-connection authority field A known gap, logged explicitly
Detections appear that no camera produced The managed recorder's per-instance broker listens anonymously on the workload network, so anything co-resident can publish forged detections Treat the workload network as trusted
A managed recorder starts and then dies at the first frame Shared memory below what it computes as its minimum for the configured detection resolution Raise it
Camera media fails only on the Docker provider The backend must join the workloads' shared network — this is the first traffic that flows from backend to workload A backend running outside that topology has no configuration that reaches a workload
A camera sheet on a phone keeps a viewer slot after it is closed The embedded view was not navigated away on teardown A sheet reused across devices spends slots nobody is watching, and the third such sheet locks the household out of its own camera

Automations, scenes and blueprints

Symptom Cause What to do
The automation runs, the log says success, and nothing happened It was saved as a draft, and the automation executed the older published version Publish. The unpublished-changes banner names the version automations actually run
The automation binding form offers no inputs to bind The parameters were declared in a draft; the form reads the published version Publish first
A device write fails saying a value is required The wired value never arrived and no static value was configured Declare the parameter, publish, then bind it on the automation
An input value silently becomes empty An edge maps a source output that no longer exists The dangling wire is skipped so configuration still applies. Fix or delete the mapping, which the editor flags
A workflow refuses to compile with expression-unknown-namespace on ${device.…} or ${deviceRaw.…} Those namespaces exist only in helper expressions; a workflow does not register them Read state with a device-property block and reference that node's output
A time-of-day condition fires hours off The expression used the coordinated-time fields instead of the local ones Use the local variants; they resolve against the household time zone
A node fails with expression-runtime-error and category value-absent A read the compile accepted did not resolve in this run: an earlier node on the canvas that this run skipped, an absent helper, or a trigger payload key read inside a sub-canvas Read the value where it is present, or give it a default with ??
Inside a branch, a reference to an earlier top-level node refuses to compile with expression-out-of-scope A node reads only the nodes that run before it on its own canvas; the sub-canvas is seeded only with the branching node's own inputs Expected. Carry the value in deliberately
A temperature typed with a decimal comma drives the device a hundred-fold too high Permissive number parsing reads the comma as a thousands separator Type the decimal point
Iterating a collection runs the body once per character A string was wired where a collection was expected, and strings are enumerable Guard for strings explicitly
Filtering a collection always returns nothing, with no error The items are dictionary-shaped and the filter reflects only over object properties Expected shape mismatch, not a fault
A room-scoped automation actuates the whole home The room or device-type filter was unresolvable A block computing a target set fails closed when its input is present but unresolvable. Fix the filter rather than retrying
Saving is blocked with "multiple entry points" or "not reachable" A node has no incoming connection, or a subgraph is disconnected Wire it deliberately; nothing is auto-connected
Saving is blocked because an input receives values from several parents Two edges map the same target input Choose one. The other was dead anyway
Repeated triggers produce no second run, or cancel the first The workflow's concurrency mode Single skips, restart supersedes, queued enqueues until full, parallel runs to the permit count. Overflow behaviour decides whether the excess is dropped, logged or raised
A direct run returns a conflict The concurrency budget is exhausted and overflow is set to error The body names the workflow, the mode and the reason
A suspended run never resumes and never times out For a trigger wait, the referenced trigger belongs to a disabled automation or a broken plugin. For a helper-only wait, the named helper does not exist Check the suspension row and the active-suspensions gauge
A resumed run behaves as though it were the old graph It is. Runs are pinned to the version tree current when they started Edits reach only new runs
A run fails naming an unavailable pinned version The pinned version, or a sub-workflow that was unpublished when the run started, is gone Publish the child and re-run. There is deliberately no fallback
Runs pile up in a running state, or a sleeping run never wakes The resume owner never acquired its lock Check the path to the primary database. A replica that is not serving (starting, fenced or draining) is refused the lock and skips the Single run. Only an acquire that throws on a serving replica, such as a database error, runs the workflow without a lock — duplicate firing is preferred over silence, and it is the signal to fix the database
An expression wait polls a device every few seconds for hours It references a raw device value; even a constant expression polls Wrap the condition in a helper. That is the one lever over polling cadence
An automation never fires, and System status shows automation.trigger_unarmed: "Automation '{name}': triggers that cannot be armed: {n} ({reasons})" The trigger host could not arm the named triggers for at least 30 seconds and two syncs: their type is not installed, or their start threw or took longer than five seconds Reinstall or repair the plugin that provides the type, or point the trigger at another type. For a failed start, the backend log of the trigger-host replica names the error. The alert clears at the next sync after the trigger arms
A sun-triggered automation never fires, and System status shows home.location_missing: "Automations with a sun trigger: {n}" The home has no location, so a sun trigger has no firing time. A trigger never fires, so there is no run record; each trigger logs one warning when it starts waiting and one line when it resumes Set the home location under Home settings, or Managed:Home:Latitude and Longitude when the deployment manages the home. The alert clears within a minute
A helper expression is rejected on save with a cycle It transitively depends on itself The returned path names the loop
Helpers vanish when a device is removed Attached helpers cascade with their logical device References then resolve to empty with one log warning; nothing is auto-disabled
The helpers page is reachable but every request is forbidden A navigation check using the automation permission while the interface enforces the helper one Grant the helper permission
A webhook returns 429 More than 5 requests in 10 seconds to one webhook id. The budget is cluster-wide, so adding replicas does not raise it Slow the sender, or split it across several webhook ids
A webhook, a repository sync or any signed-in request returns 503 with Retry-After, on any replica count, and the backend logs "Redis is unreachable" warnings Redis is unreachable; the session store and every named rate limit live there and fail closed, each request first waiting out the Redis client's timeout. Every Redis connection failure or timeout that reaches the API answers 503 Restore Redis. The same outage also stops sign-in
A webhook returns not-found Unknown identifier, inactive trigger, or wrong secret — all three answer identically so identifiers cannot be enumerated A missing or wrong secret is a backend log warning naming the id and source address; a refused call never appears in the invocation history
A webhook fires the automation but the payload is nowhere By design. The body is stored for inspection and replay only, never mapped into input ports Pass values through automation parameters instead
A scene tile reports success whether the scene fully applied, partly skipped or failed The tile discarded the activation result Scene activation is partial by design. The scenes page reports the skipped list correctly
A blueprint installation flips to a binding error and its automation is disabled A bound device or room no longer resolves The response names the offending input and the missing entity. Repair rebinds and re-renders
An installed blueprint's automation contains literal placeholder text An input with a declared default was left unbound; defaults are never merged into bindings Bind it explicitly
A blueprint cannot be installed and is marked tampered The fetched file did not match its declared checksum It stays listed for diagnostics only
The blueprint catalogue silently empties with no operator action A sync swapped in an unpopulated staging set The swap keys on an explicit changed flag, and an unresolvable upstream fails closed leaving the live catalogue untouched
Deleting a blueprint repository, or a blueprint-installed automation, returns a conflict Installation records still reference it Remove the installation first
An automation refuses to delete An automation binds it, a blueprint installation references it, or a run is still pending, running, sleeping or waiting Unbind, uninstall, or wait for the run to finish
Estimated utility cost differs from the invoice Sampling gaps, counter resets, rounding, billing-day alignment, unmetered devices and provider surcharges all diverge Expected. It estimates; it does not reproduce a bill
The dashboard shows only part of the home's consumption No whole-home main meter is configured, so no unassigned figure is invented A partial-scope banner appears. Configure a main meter

Signing in, permissions and network access

Symptom Cause What to do
Every federated user is suddenly an ordinary household member The roles claim name is wrong, or the claim carries values naming no role here. Role sync is authoritative and falls back to least privilege Read the role-sync audit entry: it distinguishes an empty claim from a non-matching one and records what the provider actually sent
A federated sign-in is refused, asking an administrator to attach the identity The matched account has a password, or the e-mail already belongs to an account Attach the identity from that user's detail page rather than relaxing the linking settings
Two accounts appear for one person The identity arrived with a subject matching no link and no authoritative e-mail matching an account, so it was auto-provisioned. A provider username never selects an existing account Auto-provisioning refuses to create a second account on an e-mail already in use. Resolve the duplicate and attach the link by hand
A user shows a new role but can do nothing until the next sign-in Roles were loaded without their permissions, so an empty permission set was written into the stored session Sign out and back in
Sign-in answers 429 "Too many failed sign-in attempts from this address" The source address made Auth:Lockout:MaxAttempts (five) failed sign-ins inside its window (fifteen minutes). The account itself is not locked Wait for the Retry-After time, sign in from another address, or clear the address
The authenticator code at sign-in answers 429 "Too many wrong authenticator codes for this account" The account got Auth:Lockout:MaxAttempts (five) wrong authenticator codes inside its window (fifteen minutes), from any address. Backup codes and passkeys are not affected Sign in with a backup code or a passkey, or wait for the Retry-After time. If the user did not type those codes, someone has the password: set a new one
Every user gets that 429 at once after a few wrong passwords from anyone The backend counts the proxy's address for every client, because forwarded headers are off or the proxy is not in the trusted lists. The log warns "X-Forwarded-For from {peer} was ignored" Enable forwarded headers for the proxy's network, then clear the proxy's address
Every user gets that 429 at once, and the log has no "X-Forwarded-For ... was ignored" warning The header was applied, but the entry ForwardLimit hops from the right is the same proxy for every client: a hop in front of the ingress is not counted, or a TCP proxy without PROXY protocol replaced the client's address Read the blocked address in the auth.login.blocked audit entry or the "Password sign-ins from {address} are blocked" log line. If it is one of your proxies, load balancers or nodes, count every hop in ForwardLimit, trust each one, and pass the client through TCP proxies with PROXY protocol. Then clear that address
A second-factor screen says the attempt was refused and will not accept more codes Five wrong attempts destroy the challenge; challenges also expire after five minutes Repeat primary sign-in
Passkeys stop working for everyone after a domain change The relying-party identifier is part of the credential Protocol behaviour, not a defect. Everyone re-enrols
Passkeys refuse with "not configured" No relying-party configuration The server answers 503 for that method rather than pretending it is available. Set the relying-party identifier
A tls.certificate_rejected alert names a host and an issuer The host's trust refused that server certificate: its issuer is neither a system root nor in Tls__TrustedCaCertificates (or the secret provider's CaBundle), or the name does not match Add the issuing CA to Tls__TrustedCaCertificates and restart, or fix the certificate if the name is wrong. A name mismatch is never accepted by the list. The alert text gives the reason. The next accepted handshake to that host resolves the alert on any replica; acknowledge it to close it. One that stays active means the host is still refused, or has not been contacted since
An egress.denied alert stays open The subject's next call to that host and port has not yet been allowed, or a call was allowed before the denial was flushed (the flush window, 2 seconds). When another replica raised the alert, this replica learns of it at its next 30-second refresh and needs a further allowed call after that. Clears still queued when the backend stops are dropped, so a restart can leave an alert open until the next allowed call Fix the allowlist or the plugin grant it names; the next allowed call clears it, or acknowledge it
An integration silently reaches nothing A private or loopback target is refused at connect time Read the blocked-egress log. A core client needs the host on the operator allowlist; for a plugin see network egress
A denied audit export downloads as a file Attachment headers are written before the permission check, so the refusal body arrives as a downloadable file A mid-stream failure also leaves a truncated response that looks complete
A plugin update sits parked instead of installing The release newly marks a permission required that the grant withholds, or the signing key changed, or the signature was dropped Unattended paths park rather than refuse. Review and approve
A user keeps receiving real-time device updates after losing access Subscriptions are access-filtered at subscribe time and not re-checked on broadcast Access changes take effect on the subscriber's next reconnect
A page is reachable but every request on it is forbidden A navigation check using a different permission from the one the interface enforces Grant the permission the endpoint actually requires
Disabling the bootstrap administrator, or removing its Administrator role, answers 409 built_in_administrator It is the break-glass account, the one administrator safe mode can always admit, so it has to stay usable. When it is also the last administrator, this refusal is the one returned Deliberate. Keep its password and second factor somewhere safe. Linking it to your provider does not turn its password off; with "use roles from the identity provider" on, role sync keeps its Administrator role whatever the claim says

Getting the bootstrap administrator back

The bootstrap administrator is the account flagged built-in and named by BootstrapAdmin:UserName (default admin). Neither the API nor OIDC role sync can disable it or take its Administrator role away. Every run of the database initializer also:

  • creates the account if no flagged account has the configured name, unless an ordinary account already has that name, which it leaves alone and reports in the log;
  • creates its password from BootstrapAdmin:InitialPassword, flagged must-change, if it has none;
  • gives the account the Administrator role back.

It never changes the account's status: a built-in administrator that is already disabled stays disabled until someone re-enables it (see Disabled below).

Replacing or renaming the break-glass account. Neither demoting nor disabling it has a direct path, and a non-flagged administrator cannot manage or delete it at all, so moving off the default admin name takes a sequence:

  1. Change BootstrapAdmin:UserName to the new name.
  2. Run the initializer (see below). It finds no flagged account with that name and creates a second one, flagged, with its own password from BootstrapAdmin:InitialPassword.
  3. Sign in as the new account — it can manage the old one, because a flagged account can always manage another user.
  4. Delete the old account from the users page. Deleting it is refused only if it is the last active administrator, which it no longer is once the new one exists.

Once there are two flagged accounts, the "Disabled" recovery SQL below re-enables both — it matches on "IsBuiltInAdministrator" alone, not on a single row.

Where the initializer runs. It runs at every start where Database:Startup:RunMigrationsOnStartup is true. That is the default, and it is how Compose runs. The Helm chart defaults databaseMigration.runMigrationsOnStartup to false, and then the initializer runs only in the migrate-only Job. That Job runs on helm upgrade or an Argo CD sync, so restarting a pod does not run it. Running the backend image once with --migrate-only, with the same configuration but its own REPLICA_ID (not a live replica's), does the same.

Disabled. Re-enable it offline, then sign in. No restart is needed.

UPDATE auth.users SET "Status" = 1 WHERE "IsBuiltInAdministrator";

Your address is blocked (429). Wrong passwords block the address they are counted as, never the account, so nobody can lock the bootstrap administrator out; anyone sending them blocks only that address. It is the sender's own only when the proxy chain is counted and trusted (see the rows above); otherwise it is a shared proxy's, and the block refuses everyone behind it. Wait out the window (Retry-After gives the seconds left), sign in from another address, or delete the address's count from Redis:

redis-cli DEL ratelimit:login-failures:203.0.113.7
redis-cli DEL 'ratelimit:login-failures:2001:db8:1:2::/64'

ratelimit is RateLimiting:KeyPrefix, and an IPv6 address is counted as its /64. A restart clears nothing: the count lives in Redis until its window ends. Auth:Lockout:Enabled=false turns the lock off altogether; the per-address auth rate limit (RateLimiting:Auth:*) still applies.

Password lost. Delete the credential row, then run the initializer. It creates a new password from BootstrapAdmin:InitialPassword, so make sure you know the value that is configured now. The next sign-in forces a password change.

DELETE FROM auth.local_credentials
WHERE "UserId" IN (SELECT "Id" FROM auth.users WHERE "IsBuiltInAdministrator");

Second factor lost. Delete the account's second-factor rows. No restart is needed; the next password sign-in asks for no second factor.

DELETE FROM auth.user_totp_enrollments    WHERE "UserId" IN (SELECT "Id" FROM auth.users WHERE "IsBuiltInAdministrator");
DELETE FROM auth.user_webauthn_credentials WHERE "UserId" IN (SELECT "Id" FROM auth.users WHERE "IsBuiltInAdministrator");
DELETE FROM auth.user_backup_codes        WHERE "UserId" IN (SELECT "Id" FROM auth.users WHERE "IsBuiltInAdministrator");

If BootstrapAdmin:UserName was ever changed, more than one account carries the flag. Add AND "NormalizedUserName" = upper('<the configured name>') to each subquery.

Alerts and notifications

The Delivery box on System status, Alerts tab, shows how many sinks are selected, the threshold and the time of the last failed delivery. The outbox behind it is core.alert_delivery_outbox; its rows carry state (Pending, Sent, Failed, Skipped, Superseded), attempts, next_attempt_at_utc and last_error. To list the recent failures:

SELECT id, sink_instance_id, severity, attempts, completed_at_utc, last_error
FROM core.alert_delivery_outbox WHERE state = 'Failed' ORDER BY completed_at_utc DESC LIMIT 20;
Symptom Cause What to do
The box reads "Off" and nothing is sent No sink is selected, or the stored selection could not be read Select a sink and save. A box that fails to load shows a retry, not "Off"
An alert was raised and nothing arrived The alert was under the threshold, was suppressed when raised, was already open and unchanged (a repeat of an open alert is not sent), or was raised before delivery was turned on Check the threshold and the alert's snooze or silence. It is sent when it rises or comes back after resolving
Rows stay Pending The sink is failing and waiting for its next attempt (30 s, 2 min, 10 min, 30 min), or no replica owns the alert-delivery kind Read last_error and next_attempt_at_utc; check which replica lists the kind in its held unit kinds
Rows are Failed with a "not running" error The sink instance is stopped, disabled or not loaded on the replica that owns the alert-delivery kind Start the instance. A Failed row is not retried; the alert is sent again only when it rises or comes back after resolving
Rows are Skipped The alert was removed, the sink was deselected, or a snooze or silence covered the alert before the send Nothing; the row records why it did not go out
A notification arrived twice The replica sending it lost the lease or stopped before recording the result Nothing; delivery is at least once

Data, history and backup

Symptom Cause What to do
Restore pre-flight rejects a good backup The dry run refuses a backup that does not end with pg_dump's completion line, has no \connect line (not taken with the backup script), or needs a TimescaleDB version the target server does not provide Read the error. For a version refusal, restore on an image that provides the backup's version, then upgrade. To prove a backup restores, use the verification script, which restores into a temporary database, checks row counts, then drops it
A dry run did the real thing, or refused to run at all The two scripts have inverse defaults: the release-rollback script is dry-run by default, the restore script performs a real restore by default Read the help text before each run
Restore fails with "already exists" partway through An earlier restore aborted mid-flight Drop the target database explicitly and re-run. The archive's create-and-clean preamble expects to start from nothing
Restored objects are owned by the wrong role The backup is taken without owners and privileges, so everything belongs to whoever ran the restore Restore as the application's own role, or reassign ownership afterwards
The backup file is enormous Telemetry history dominates Shorten raw retention, or delete old telemetry rows and vacuum, then re-take the backup
Disk grows without bound on a history table Several history tables ship with no retention policy at all Add one. Remember the application settings do not enforce retention — the database job does
Audit queries are slow and cleanup spikes processor use Retention is a bulk delete on a regular table, so it bloats rather than dropping chunks Reindex and vacuum, and shorten retention to what you actually need
The hourly aggregate is empty after provisioning The one-off refresh that walks the raw history did not run Read the raw retention from the database (SELECT config->>'drop_after' FROM timescaledb_information.jobs WHERE proc_name = 'policy_retention' AND hypertable_name = 'device_telemetry') and run CALL refresh_continuous_aggregate('telemetry.device_telemetry_hourly', now() - INTERVAL '89 days', NULL) once, starting a day inside that retention (89 days for the default 90). Never pass NULL as the start on an instance that holds history: it deletes buckets older than raw retention for every device
The aggregate disagrees with the raw table The refresh policy deliberately excludes the most recent hour Compare the two over the identical window, excluding the last hour from both
A metric never appears in the hourly aggregate The aggregate filters to rows with a numeric value; text and boolean metrics are excluded by design Query the raw table for that metric
Long-range statistics come back empty for spread, median or percentiles Wide windows read the hourly aggregate, which cannot recompute them from buckets Narrow the window so the query routes to raw rows
The aggregate refresh job keeps failing A long-running insert holds the chunk lock past the job's runtime budget Raise the job's maximum runtime, or reduce the refresh cadence
An object storage migration stays at one step and writes keep failing as migrating The owner of object-storage-migration is stuck on the source or the target, for example an S3 endpoint that stopped answering Choose Abort migration on the Object storage page (POST api/admin/storage/migration/abort, permission home.manage; refused while HostOperations is switched off and while replicas run different builds). The migration turns failed, writes resume on the current provider and the abort is audited. Fix the provider, then switch again

Web and phone clients

Symptom Cause What to do
A working light or blind shows "Unavailable" on the home screen Its last reading is over 24 hours old, its source reports not-online, or it lost its source binding Check the integration on the operator surface. The control returns as soon as the device reports again
A tile has no on/off control although the device is controllable It has multiple gangs, or its only controllable number declares no range Open the drawer, where the full control lives
A device opens saying it has no controls to show Its type has no dedicated control, and raw property writing is deliberately absent from the resident surface Operate it from the operator surface
A room shows only a heading and a "show all" button The household exceeded the tile-mount budget for one screen Tap it. Nothing is lost, only unmounted
The Basic/Advanced toggle is not visible The account holds no permission-restricted advanced destination and no in-page advanced capability It is not a setting; it requires a permission grant
Switching to Basic navigates away from the page being viewed That destination has no place in Basic Re-open it by address, or switch back
A favourite star is greyed out, or a tap does nothing Preferences have not loaded, or another favourites or preference write is in flight Wait a moment and retry. The list is replaced wholesale, so writes are serialised
The whole application returns to the login page mid-session An unauthorised response tore down the session and every cached query Sign in again; nothing local is corrupt
Every visible tile refetches after a network blip The real-time connection reconnected and re-validated the visible devices Expected
A command fails with "the device is not responding" A timeout or gateway failure. The command may or may not have been applied The wording deliberately does not claim either way
The phone reads "stale" and geofence automations fire late or not at all Location sharing is off, background location was never granted for all the time, or the foreground-service notification was dismissed by killing the app Re-enable sharing and grant background location from the system settings page
The phone appears to sign the user out without ever showing a fingerprint prompt A biometric prompt that could not be shown was read as a failed unlock A prompt that did not run leaves the lock screen with Unlock and keeps the session. Only a lockout after wrong fingerprints signs out
The system device-controls panel shows "sign in" to a signed-in user A surface decided before the persisted session was rehydrated, or a probe latched on an offline failure Open the app once. A correctly built surface rehydrates on a cold bind
The app never appears in the system's device-controls picker The service's bind permission is wrong, or the service is filtered out The system reporting a service count of zero is the tell
A launcher shortcut opens the app and does nothing The intent extra key drifted from what the app reads, or a dialog was pushed onto a dying window Check the extra key first. The app rebuilding from the splash screen on a shortcut tap is expected
A home-screen widget is permanently empty The widget's view service is exported wrongly, or the user has no favourites set Set favourites. An empty grid and a service that never bound look identical
Widget timestamps read hours old, or in the future A timestamp rendered in coordinated time rather than the phone's zone Convert at the widget's own callers
A brightness or temperature control opens at zero and applying it drives the device to its minimum The sheet's preview state was not seeded from the device's current value A client fix; do not work around it by re-reading
Tapping a critical device does nothing the first time The first tap arms the confirmation; the second dispatches Closing the notification shade disarms a quick-settings tile, so one tap can never run a scene
Correct credentials, no error message, and the user stays on the sign-in screen The client's response type drifted from the endpoint, so the session was silently never saved Update the app
The app refuses to talk to a locally hosted server Cleartext traffic is refused for the whole app, with no exceptions, or the server's certificate comes from a CA the phone does not trust Put encryption in front of the server. There is no development shortcut. For a private CA, install its root on the phone as a user CA certificate; a self-signed certificate installs only when it is marked as a CA (basic constraints CA:TRUE); the app trusts user-installed CAs beside the system ones
Pairing a device offers nothing The account lacks the onboarding permission, or the platform's own commissioning module is absent or still downloading Grant the permission, or wait — a fresh device can take hours to fetch the module
A device paired into the phone's own ecosystem later refuses to join more Most devices accept about five administrators The limit and its eviction behaviour are vendor-specific
On a fresh install, sun triggers never fire and phones never report anyone at home The home has no location yet, so sun times and the distance to home are not computed; System status shows home.location_missing while sun triggers wait Set the home location during setup or under Home settings