Troubleshooting Pitfall Index
Full index of common pitfalls encountered in this homelab, grouped by subsystem. Each entry retains its original diagnostic detail and links to the full troubleshooting doc where available.
This file is the canonical reference for pitfalls relocated from AGENTS.md. Agents should consult
the subsystem-specific doc for full diagnosis and fix procedures.
Table of Contents
- Kubernetes & GitOps (18 entries)
- ArgoCD (7 entries)
- Monitoring & Observability (10 entries)
- Networking (12 entries)
- Storage & Backup (14 entries)
- Ansible & Infrastructure (2 entries)
- LLM Infrastructure (3 entries)
- Desktop & Home (18 entries)
- Applications (14 entries)
Kubernetes & GitOps
-
Forgetting
helm dependency buildafter updatingChart.yaml -
Missing Renovate hints causes images to not auto-update
-
Introducing CRDs without
--include-crdsin helm template -
Not waiting for webhooks (cert-manager, external-secrets) before applying dependent resources
-
Forgetting
Prune=falseon PVCs causes data loss on sync -
Kata-deploy 3.31.0+ requires containerd drop-in directory (
config-v3.toml.d) — seedocs/troubleshooting/kata-containerd-dropin.md -
A freshly joined node shows
Ready,SchedulingDisabledfor about a minute: thek3s-agentsystem-upgrade Plan hascordon: trueand selects every non-control-plane node. When the binary already matches, the job compares sha256, logsBinary already been replaced, exits 0, and the controller uncordons. Don't uncordon by hand -
Apps with init-container workarounds (JS patching, schema health checks) should log version info and fail loudly (
exit 1) on mismatch so Renovate bumps surface breakage immediately. Check init container logs after any version bump. See each app's deployment doc for specifics. -
Adding a node: never edit the hardcoded
hosts:lists inmetal/playbooks/install/prepare.yml(11-13, 18, 23, 30) orcluster.yml(28-31) — they are exactly the ZFS/GPU/backup paths a new node must skip, so a new node gets nosetuprole.make first-bootis unusable (forces root +--ask-pass) and unscopeable (it appends its own--limitlast). The node must resolve short names or the k3s agent cannot reachserver: https://prusik:6443— setprepare_dns_search_domainsif DHCP does not push thegrigrisearch domain. There is no local StorageClass by deliberate decision (asystem/local-path/chart was considered and dropped — a StorageClass advertises unbacked, unquota'd storage on a weak node). On a no-ZFS node any PVC withoutstorageClassNameinherits the defaultopenebs-zfspvand hangsPendingforever instead of failing; guarded byPersistentVolumeClaimPending/PersistentVolumeClaimLostPrometheusRules. Node-local exceptions usehostPathwithtype: Directory(Ansible-created paths inmetal/). Seedocs/user-guide/add-or-remove-nodes.mdandplanning/k8s-amd64-1-node-addition.md -
Zalando Postgres PVC recreate causes Patroni stale-DCS deadlock: Patroni DCS ConfigMaps (
<cluster>-config,<cluster>-leader) survive PVC deletion and carry the old cluster'sinitializemarker, so Patroni waits forever for a leader on a fresh empty data dir. Fix: delete the stale DCS ConfigMaps before restarting the pod. Seedocs/troubleshooting/zalando-patroni-stale-dcs-deadlock.md -
High pod restart counts don't always mean problems — check
Last State.Reason(exit 255 = node reboot, not app crash). Seedocs/troubleshooting/cluster-hygiene.md -
Zalando Postgres operator rejects hyphenated database names in the
databasesfield — create them manually withpsql. Seedocs/troubleshooting/radarr-sqlite-to-postgres.md -
app-template ≥ 5.2 runs
tplover string values (incl. initContainercommand), so a literal{{ ... }}invalues.yaml(e.g. asedpattern matching a JS i18n{{provider}}token) fails rendering withfunction "provider" not defined→ ArgoCDComparisonErrorblocks ALL syncs for that app. Localhelm templatecan miss it ifChart.lock/charts/(gitignored) are stale at an older app-template thanChart.yaml. Escape as{{ "{{x}}" }}or match around it. This silently broke readest for ~18 days. Seedocs/troubleshooting/app-template-values-tpl-evaluation.md -
topologySpreadConstraintswithoutmatchLabelKeys: [pod-template-hash]causes rolling updates to stall on multi-replica Deployments: the scheduler counts old+new ReplicaSet pods together, somaxSkew: 1+DoNotScheduleblocks new pod placement. Always addmatchLabelKeysfor Deployments withreplicas > 1or HPA. Skip for single-replica, StatefulSets (nopod-template-hash), and CRD-managed workloads. Seedocs/conventions/topology-spread-constraints.md -
k3s_kubelet_extra_argseviction-hard=...replaces kubelet's whole hard-eviction map, so the k3s defaults (nodefs.available/imagefs.available5%) vanish for any signal not listed. A host withnodefs.available<10%evicts at 90% used, not 95%. Check the live values withkubectl get --raw /api/v1/nodes/<node>/proxy/configz | jq .kubeletconfig.evictionHard. Seedocs/troubleshooting/ci-runner-amd64-disk-full.md -
Forgejo runner
container.optionsbind-mounts are silently dropped unless the sources are also incontainer.valid_volumes— the runner applies both allow-lists, and the chart defaultvalid_volumes: []rejects everything. Do NOT use**(too broad); allow-list exactly the sources the runner needs to pass through (/cache,/sccache-credentials). The runner log showsis not a valid volume, will be ignoredfor each rejected source. Secondary: thecargo-zigbuildimage lacksjqandcurl(sccache pin and S3 probe silently fail without them), and dev-profilecargo newbuilds are never sccache-cacheable (incremental compilation →requests_not_cacheable), so cache tests must setCARGO_INCREMENTAL=0. Seedocs/troubleshooting/forgejo-runner-valid-volumes.md -
CI runners at capacity 2 with a 12Gi runner limit OOM/evict when two heavy host-mode jobs overlap (one job peaks ~10.7Gi; two want ~17–20Gi). On z800 the cgroup thrash mimics a network outage: job logs stop mid-compile, tasks fail at identical timestamps, recovery shows
log file has been archived; sccache stats arriving after the failure prove the job stayed alive. Identical failure timestamps across runs = runner-level event, not job bugs. Seedocs/troubleshooting/ci-runners-memory-overcommit.md -
k3s system-upgrade Plans stay
Complete=False(JobsDeadlineExceeded) for two reasons: (1)rancher/k3s-upgraderefuses a target binary built in an earlier month than the installed one (Current build date ... is more recent than ..., no force flag) and a new minor's early patches are older builds, so target the newest patch of the next minor — Renovate gates k3s minors withallowedVersions(patch.4+), not release age; (2) the agent Plan needs a toleration for any node taint (dedicated=ci:NoSchedule) or its pod staysFailedScheduling.prusikstaysSchedulingDisableduntil the server Plan succeeds — don't uncordon by hand. Seedocs/troubleshooting/k3s-system-upgrade-build-date-check.md
ArgoCD
-
ArgoCD has
selfHeal: truewith real-time cluster watches —kubectl applywill be detected and reverted almost instantly. Always commit/push first, let ArgoCD sync, then verify. Seedocs/troubleshooting/argocd-gitops-workflow.md -
ArgoCD repo-server has a probe death-spiral with default chart probes (1s timeout) — the pod is killed during slow cold start before the metrics/health port (8084) binds, causing a restart loop that never converges. Fix: enable
startupProbe+ raisetimeoutSecondsto 5. Seedocs/troubleshooting/argocd-repo-server-probe-death-spiral.md -
ArgoCD
argo-cdchart >= 10.0 defaultsnetworkPolicy.create: true— keep itfalsebecause it interacts with Cilium's stale-datapath bug on rebooted nodes (kubelet probes get dropped). Seedocs/troubleshooting/argocd-repo-server-probe-death-spiral.md -
ArgoCD ≥ 3.5.4 overrides
HELM_CONFIG_HOMEduringkustomize build --enable-helm(GHSA-fw5c-w8rc-j7fx), so private OCI chart pulls go anonymous → 401 and apps stickSync=Unknown. Fix: setDOCKER_CONFIGon repo-server to the mounted registry dir. Check env after any ArgoCD version bump. Seedocs/troubleshooting/argocd-kustomize-helm-oci-auth.md -
Stopping a workload that Argo CD manages (e.g. Home Assistant for an outage test):
kubectl scaleand asyncPolicypatch are both reverted (ApplicationSet withselfHeal). Scaleargocd/argocd-repo-serverto 0 first, then the workload; restore the workload first, then the repo-server. Seedocs/troubleshooting/stop-home-assistant-under-argocd.md -
Provisioning hook Jobs in Helm-chart apps: defining an Argo CD hook disables all Helm hooks; hook-only edits never trigger a sync (hooks are excluded from comparison, so a fixed hook silently does not converge); a Job
activeDeadlineSecondsabovecontroller.sync.timeout.secondsreports "controller sync timeout" instead of the real failure; a0400Secret is unreadable by a nonroot hook pod. Seedocs/troubleshooting/argocd-helm-hook-provisioning.md -
A field removed from git persists on a server-side-applied CR while the Argo CD app stays
Synced: a staleargocd-controllerUpdateentry inmanagedFields(from before the SSA switch) still owns it, andClientSideApplyMigrationonly migrateskubectl-client-side-apply. CheckmanagedFields, then a one-time patch (or drop the stale entry); operator-generated objects (Ingress from Kanidm/Vaultspec.ingress) need the operator or a one-off cleanup. Seedocs/troubleshooting/argocd-ssa-stale-field-manager.md
Monitoring & Observability
-
Grafana dashboard sidecar only honors
grafana.grafana.com/dashboards.target-directory, notk8s-sidecar-target-directory— using the latter silently drops the dashboard at the root folder. Seedocs/troubleshooting/grafana-sidecar-folder-annotation.md -
Grafana datasource sidecar writes ConfigMap data keys as filenames — if two ConfigMaps use the same data key (e.g.,
datasource.yaml), they collide (last-writer-wins) and cause continuous reload churn. Use unique keys per ConfigMap (e.g.,loki-datasource.yaml,tempo-datasource.yaml). Seedocs/troubleshooting/grafana-datasource-sidecar-collision.md -
Grafana panels querying node-exporter metrics must collapse the DaemonSet's
podlabel withmax by (instance, ...)— otherwise every pod restart adds another phantom line over long time ranges, andsum(rate(...))panels silently inflate. Usemax, notsum/avg. Also verify each metric name actually exists: empty panels look identical to nonexistent metrics. Seedocs/troubleshooting/grafana-node-exporter-pod-churn-duplicates.md -
Grafana 13.1.1 strips the
urlfield from LokiderivedFieldsduring provisioning, even with$$escaping. Workaround: manually set the URL in the Grafana UI. Seedocs/troubleshooting/grafana-13-derivedfields-url-stripped.md -
Grafana MCP server deployment has multiple gotchas: Kaniop
KanidmServiceAccountrequiresidm_adminin theentryManagedBygroup andserviceAccountNamespaceSelectoron the Kanidm CR;mcp-grafanaimage tags lackvprefix, binary is at/app/mcp-grafana, uses-addressflag (not-port); StatefulSets need manual pod deletion after template changes. Seedocs/troubleshooting/grafana-mcp-hermes.md -
Vector
kubernetes_logsdefaults cause silent log loss:glob_minimum_cooldown_ms: 60000misses short-lived pods (<60s),oldest_first: truestarves new pods behind backlog,rotate_wait_secs: i64::MAXexhausts file handles on deleted pods, andmax_read_bytes: 2048is too slow to clear backlog. Loki sinks also need explicitbuffer.when_full: blockor events are silently dropped under backpressure. Tuned values: 5000 / false / 60 / 16384 / block. Seedocs/troubleshooting/vector-log-loss-and-starvation.md -
Single-binary Tempo (
tempo-1.24.4chart, v2.9.0):metrics_generator.traces_storage.pathmust never equalstorage.trace.local.pathwhenlocal_blocksprocessing is on — the generator's WAL writes<uuid>+<tenant>+<version>dirs (e.g.…+single-tenant+vParquet4, 60 chars) into the same tenant directory the blocklist poller scans, anduuid.Parsefails withinvalid UUID length: 60, aborting that poll. Compaction/retention can look healthy while the block index silently goes stale between the ~1-in-5 polls that succeed. Fixed by giving the generator its own path (/var/tempo/generator-traces) plus a Kustomize-patched init container to migrate the already-written WAL (the chart has noinitContainersvalues hook). Seedocs/troubleshooting/tempo-metrics-generator-wal-collision.md -
pyroscope.ebpfcannot profile Calypso runners and never will: they run under gVisor, so the container ID it matches on (read from/proc/*/cgroup) never corresponds to a host process. Discovery still keeps the target, sopyroscope_ebpf_active_targetsrising at runner start whilecalypso-runnerstays absent frompyroscope_ebpf_pprofs_totalis expected, not a bug. Runners are deliberately unprofiled — they execute untrusted, agent-generated code. Do not "fix" this by moving runners to runc. Seedocs/troubleshooting/profiling-collector-rollback.md -
A Loki gap on a single node during DiskPressure is not data loss in Loki: kubelet evicts
vector-agentalong with everything else and refuses to re-admit it until the pressure clears. Read the node's journal over SSH (journalctl --since/--until) for that window. Seedocs/troubleshooting/ci-runner-amd64-disk-full.md -
gpu-operator chart bumps can silently rename DCGM metrics: dcgm-exporter 4.9.0 added unit suffixes (
DCGM_FI_DEV_GPU_TEMP→DCGM_FI_DEV_GPU_TEMP_CELSIUS), singularizedXID_ERROR, and replaced the throttle bitmask withDCGM_EXP_CLOCK_EVENTS_COUNT(re-adding the old field crash-loops the exporter) — breaking alerts and dashboards whileup=1. After a bump, verify metric names against the rules. Seedocs/troubleshooting/dcgm-exporter-metric-renames.md
Networking
-
Repointing the pfSense external alias (then named
k8s_external_ingress, nowk8s_external_gateway) does not move open connections: pf keeps the redirect target of existing states (h2, SSH, webhooks stay on the old VIP), and a missed unbound host override stays on the old IP. Kill the states, count overrides per IP. Seedocs/troubleshooting/pfsense-alias-change-keeps-old-states.md -
Envoy Gateway: any listener, certificate or Security/ExtensionPolicy change replaces that listener's filter chain and closes its websockets, SSE and long downloads after the 60 s drain; HTTPRoute-only changes drain nothing. Batch such changes, avoid them during long transfers. See
docs/troubleshooting/envoy-gateway-listener-drain.md -
Envoy Gateway debugging: the proxy image is distroless, use
port-forwardto the admin port (config_dump,/stats,/clusters);NR/UAEX/DCresponse flags; OIDC cookie values and query-string API keys leak into proxy logs; Argo showsProgressingfor a label-selectedBackendTrafficPolicyand only refreshes on webhooks. Seedocs/troubleshooting/envoy-gateway-debugging.md -
Envoy Gateway OIDC: a browser silently drops a cookie over 4096 B. The
groupsscope made the encryptedoidc-id-tokencookie 5.6 KB: Envoy refreshed on every request, parallel requests reused the refresh token and assets failed with CORS errors after login. Never requestgroups; authorize on a per-app claim map (access). Seedocs/troubleshooting/envoy-oidc-id-token-cookie-size.md -
Armbian kernel 6.12 on Odroid HC4 breaks Cilium UDP BPF masquerading — hold kernel at 6.6 LTS (
24.11.1). Seedocs/troubleshooting/armbian-kernel-bpf-masquerade.md -
Cilium BPF datapath can go stale on a node — pod egress breaks while host network works. Can manifest as partial breakage (some connections work, others don't) — e.g. Vector buffer filling on one sink while another on the same pod is fine. Also triggered by node reboots (BPF link orphaning, upstream #46065); enabling NetworkPolicy turns the latent staleness into an active probe-failure outage. Fix: delete the Cilium pod. See
docs/troubleshooting/cilium-stale-bpf-egress.md -
Cilium LRP
skipRedirectFromBackendis broken in v1.19.4 — nodelocaldns withserviceMatcherneeds a corefile-watcher sidecar to forward directly to CoreDNS pod IPs, avoiding redirect loop.addressMatcherhas post-reboot bugs (PR #45522). Seedocs/troubleshooting/nodelocaldns-cilium-lrp.md -
tc-limiter hostPath mounts need
mountPropagation: HostToContainer— otherwise Cilium socket goes stale after restart and rate limiting silently stops working. Seedocs/troubleshooting/bandwidth-limiting.md -
Unattended-upgrades must blacklist NVIDIA packages — host-level driver upgrades conflict with the GPU Operator's containerized driver management, causing
Driver/library version mismatch. Fix:cd metal && ANSIBLE_EXTRA_ARGS="-t unattended-upgrades" make prepareSeedocs/troubleshooting/nvidia-driver-version-mismatch.md -
Never let needrestart restart
k3s.serviceorsystemd-networkdon nodes: needrestart < 3.9 re-flags k3s after every package (restart storm), and a networkd restart flushes Cilium's native-routing routes. Both are deferred viametal/(unattended-upgrades/networkdtags). Seedocs/troubleshooting/needrestart-k3s-restart-storm.md -
Office A Wi-Fi IoT devices (
fan-office-a,mini-switch-office-a) flap and fireBlackboxProbeFailed. Status 2026-11-23: fan onlimoneroat -80 dBm was kicked hourly (deauth reason 16, missed group rekey), locked tocerezoin the UniFi controller: partly better, still short drops. Mini: the radio died minutes after power-on on either AP and ESPHome version with a healthy heap; the full-RF-calibration-on-every-boot test firmware left it silent (no frames on either AP), andapi: reboot_timeout: 2minbelowap_timeouthad killed the fallback hotspot, so it needs a serial reflash. Keep both reboot timeouts aboveap_timeoutand noRF_PRE_INIThooks without serial access. UniFi events carry no disconnect reason (the v2 system log has connect/disconnect history) and AP logs are RAM-only (copy them within ~1 h and BEFORE rebooting an AP). Never commit AP BSSIDs. Seedocs/troubleshooting/office-iot-wifi-flapping.md -
Debugging a Wi-Fi client on the UniFi network: start with the Prometheus blackbox view (sum
changes(probe_success)bytarget, 30 s sampling, ESPHome probes are TCP 6053 so a hung API looks like lost Wi-Fi), then the controller (/api/s/default/..., no disconnect reason in events), then the AP logs overssh <ap>(kick reason, group-rekey failure, deauth codes 3/16/2; RAM-only, copy them before an AP reboot;cerezoneeds legacy SSH algorithms from~/.ssh/config). One change at a time, no channel/TX-power change without a scan, verify dBm vs rssi. Prometheus has no AP metrics. Seedocs/troubleshooting/unifi-wifi-client-debugging.md
Storage & Backup
-
prusik's L2ARC looks broken (34-39% hit ratio, serves 1.4% of reads) but is load-bearing — avg hit size is 17-28KB, i.e. Jellyfin metadata/thumbnails/SQLite, not video. Hit ratio is misleading because it only covers ARC misses. The real defect is
l2arc_noprefetch=0wasting 41% of the device on one-shot media prefetch. Fix that; do NOT remove the cache vdev. Seedocs/troubleshooting/prusik-l2arc-ineffective.md -
prusik storage is latency-bound, not throughput-bound, and the root cause is RAM, not disks: container limits sum to 210 GiB (requests 44.7 GiB) on 62 GiB, forcing
zfs_arc_max=5GBagainst a 12-14GB hot set;MemAvailablebottoms out at 1.97 GiB and 60% of the ARC is metadata. Free RAM (move CI off-node) and raise ARC before buying SSDs — RAM beats SSD by ~1000x. Notek8s-amd64-1has only 16 GiB, andci-runner-0peaks at 17.4 GiB / 7.68 cores, so CI cannot move there until it gets 32 GiB. A SLOG/ZIL will NOT help (Postgres runssynchronous_commit=off). Forgejo web latency isgit-upload-packreading git objects, not Postgres. Backup is label-driven (backup/retain,backup), so a PVC recreated without labels is silently never backed up. Seedocs/conventions/prusik-fast-storage-tier.md -
prusik NVMe kernel names (
nvme0n1/nvme1n1) flip across reboots. Always identify disks by model/serial or/dev/disk/by-idvia anode_disk_infojoin. Seedocs/troubleshooting/prusik-etcd-swap-thrash.md -
openebs-zfspv/fast-zfspvusereclaimPolicy: Retain— deleting a PV issues no CSI DeleteVolume, so the ZFS dataset and itsZFSVolumeCR both survive with no ownerReference to GC them. AuditingReleasedPVs therefore reports a clean cluster while the space still leaks; the real signal is aZFSVolumeCR with no matching PV. 89 volumes / 139.6 GiB accumulated over ~9 months this way. Usescripts/zfs-orphan-audit.sh(dry-run by default) and theZFSVolumeOrphanedalert. Do not flip the policy toDelete— Retain is the only backstop against an ArgoCD prune destroying a database. Seedocs/troubleshooting/cluster-hygiene.md -
openebs-zfspvwithfstype: zfs+fsGroupcauses slow pod startup (recursive chown on every mount).fsGroupChangePolicy: OnRootMismatchdoesn't help — kubelet resets setgid bit. If the app manages its own file ownership (runs as volume owner or has init chown), removefsGroupentirely. Seedocs/troubleshooting/openebs-zfspv-slow-startup-fsgroup.md -
Removing
fsGroupleaves a non-root container with no write access to a freshly provisioned PVC: a new ZFS dataset mountsroot:root 0755, kubelet creates missingsubPathdirs root-owned, andsupplementalGroupschanges no ownership. Symptom ismkdir <path>: permission deniedwith a healthy, polling pod and nothing in the container log. Migrating offemptyDir(which kubelet creates 0777) is not a like-for-like swap — it needs an explicit ownership plan. Fix with a root init container on the volume root, not a subPath. Seedocs/troubleshooting/ci-runner-workspace-permission-denied.md -
OpenEBS ZFS 2.11.x
zfs send | nccan deadlock ifncexits early; killingzfs sendfirst risks marking a truncated volume backupDone. Chart is on 2.11.1 withzfsPlugin.imagepinned toghcr.io/linkvt/zfs-driver:runpipe-773(PR #777 fix) pending verification. If the fix fails, revert chart to 2.10.1 and remove the image override. Seedocs/troubleshooting/velero-zfs-stream-pipeline-deadlock.md -
OpenEBS ZFS 2.11.2
zfs send | nc -w 3uses netcat's 3s idle timeout: when the receiver pauses during S3 multipart upload,ncexits 0,zfs sendgets SIGPIPE (exit 141), and the velero plugin uploads a truncated object while loggingsuccessfully uploaded object. Every scheduled backup since 2026-10-13 isPartiallyFailed. Fix: fork image withZFS_NETCAT_TIMEOUTenv var (default 300s). Do NOT downgrade to 2.10.1 (masks the bug) or lowermultiPartChunkSize(breaks large fulls). Seedocs/troubleshooting/velero-truncated-zfs-backups.md -
Unattended-upgrades can restart k3s during backup windows, causing
PartiallyFailedVelero backups. Use a broad maintenance window (Mon + Wed–Sun 08:00–18:00) instead of blacklisting systemd packages. Seedocs/troubleshooting/velero-backup-failures.md -
Memory pressure (e.g., CI builds) can crash k3s via etcd timeout, leaving Velero backups stuck
InProgresswith orphaned ZFSBackup CRs. Pod restart is the safe first boundary, but residual CR/S3/ZFS state must be verified. Seedocs/troubleshooting/velero-2026-09-25-oom-etcd-outage.md -
Quarterly backups are
zfspv-incrchains (one full + incrementals): restorability requires the whole chain — replay full-then-incrementals in order; an incremental alone fails atzfs recv. Deleting a chain head orphans its retained children, so prune parents and children together, and audit bucket objects, not just the CR graph. The "clean" 10-06 backups still ran 2.10.1 — checkkube_pod_container_infoat the backup start time, not the current image, when attributing versions. Seedocs/troubleshooting/velero-2026-09-26-stuck-backup-recovery.md -
ci-runner-amd64 fills k8s-amd64-1's root disk via DinD, not the workspace: calypso leaves ~7 GiB images per commit, and
docker image prune --filter until=measures image creation time, so fresh builds are never "old enough" (0 B reclaimed at 89%, node-wide eviction a minute later). The runner's nativeworkdir_cleanup_ageGC only covers per-job scratch dirs. Seedocs/troubleshooting/ci-runner-amd64-disk-full.md -
The
sccacheMinIO bucket (hard quota, 14-day lifecycle at the time) filled in ~3.5 days at ~12-14 GiB/day; from then MinIO rejected PUTs (14% 4xx) while CI jobs showed 0L1 (s3) writesand 0 errors, because write policyl0silently drops failed secondary writes. Checkdu -sb /export/sccachein the minio pod and the PutObject 4xx rate, not sccache errors. Seedocs/troubleshooting/sccache-s3-bucket-full-silent.md -
sccache hashes the name and value of every
CARGO_*env var into every Rust cache key (set vs unset counts). A customCARGO_SCOPEthat differed per PR made affected-mode PR jobs miss main's entries (64.7% vs 94.5% hits), and the desktop's differentCARGO_*env gave 0 S3 hits in 34.6k lookups. Never name custom CI env varsCARGO_*. Seedocs/troubleshooting/sccache-cargo-env-cache-keys.md
Ansible & Infrastructure
-
Galaxy roles under
metal/roles/are gitignored — never patch them, wrap them in a repo role and override viainclude_roleparams (staticroles:params lose to the inner role'sinclude_vars). Ubuntu 26.04 nodes also needansible-core>=2.20,ansible_become_exe: /usr/bin/sudo.ws(sudo-rs rejects-H) and chrony, since thentppackage is gone. Seedocs/troubleshooting/ansible-ubuntu-2604-compat.md -
Scoped
metal/runs (--limit) break on templates that read another host's gathered facts — the control plane is in no play anddelegate_todoes not gather delegate facts, sohostvars[x].ansible_hostnamedies withobject of type 'HostVarsVars' has no attribute .... Use the inventory name instead. The second symptom is silent: a play that fails discards its pending handlers, and the next run sees an unchanged config file so the daemon never reloads. Seedocs/troubleshooting/ansible-limit-cross-host-facts.md
LLM Infrastructure
-
Hermes instance config overwrite: when deploying a new Hermes instance, never copy
config.yaml,memories/, orskills/from another instance — this overwrites the target's unique identity. Only copyauth.jsonif needed. Recovery requires ZFS snapshot rollback. Seedocs/troubleshooting/hermes-config-overwrite-recovery.md -
Hermes standalone tools and their configuration must live under the
/opt/dataPVC; installs in the container root filesystem or/rootdisappear on pod recreation. Forfj, use a persistent XDG data wrapper. Seedocs/troubleshooting/hermes-persistent-cli-tools.md -
Hermes auth failures (401 errors) after config edits: manual
config.yamledits drop required fields,auth.jsonmay have emptybase_url, andstate.dbcaches stale credentials. Fix: copy working config from another instance, ensurebase_urlis set in auth.json, deletestate.db, and delete the pod (don't just pkill). Seedocs/troubleshooting/hermes-authentication-credential-issues.md
Desktop & Home
-
home-operations/home-assistantuses a venv at/config/.venvwith--system-site-packages. System packages are read-only; install user packages with/config/.venv/bin/uv pip install. Seedocs/troubleshooting/home-assistant-python-packages.md -
home-operations/home-assistant:2026.7.1ships with aiohttp 3.14.1 (system) which removeddecode_textparameter, breaking WebSocket API. Fix: installaiohttp==3.14.0in venv. Seedocs/troubleshooting/home-assistant-aiohttp-incompatibility.md -
Home Assistant 2026.x removed the light mired API (only
color_temp_kelvin) and raises on an unsupportedcolor_mode, so outdated custom light integrations silently ignore temperature or never turn on. localtuya is HACS-installed frompando85/localtuyamaster: deploy via HACS websocket + restart, never by copying into the pod. Agents use the HA API with a login-flow token (pass web/hass.grigri.cloud), no browser needed. Never change thermostat/fan settings for a live test without the user asking for it — they verify heating behaviour themselves. Seedocs/troubleshooting/home-assistant-localtuya.mdanddocs/troubleshooting/home-assistant-api-hacs-deploy.md -
ESIOS API (
api.esios.ree.es) returns ZIP archives withContent-Type: text/htmlinstead of JSON for/archives/70/download_json, breaking thepvpc_updatedintegration. Workaround: patchpvpc_data.pyto handle ZIP format. Seedocs/troubleshooting/pvpc-updated-esios-api-zip-response.md -
Negative PVPC prices are normal with high solar generation. AppDaemon climate/DHW control used to reject them with a bare
ValueError(emptyError getting prices:log), halting aerotherm scheduling. Apps now accept negative prices and use a fallback schedule when price fetching fails. Seedocs/troubleshooting/appdaemon-pvpc-negative-prices.md -
Gen1 Shelly (
shellyem-main) with CoIoT enabled but an empty peer only multicasts to224.0.1.187:5683, which nothing forwards to the HA pod (no IGMP proxy, no route to10.0.0.0/8, no UDP 5683 Service). HA silently falls back to CoAP polling at2.2 × update_period(33 s) and raises a permanent error-levelpush_update_*repair. Tell-tale: entity updates at exactly 2.2× the device period. Fix is unicast CoIoT to a Cilium LB VIP — and note the IoT VLAN blocks device-initiated UDP (opt6 catch-all hasflags S/SA= TCP-only), plus never use HA's "Configure CoIoT" repair button (it would write the unreachable pod IP onto the device). MQTT is an alternative here (0.37 s on transients) — an early "MQTT reboot-loops this device" conclusion was traced to CoIoT being disabled while HA retried setup, not to MQTT. Seedocs/troubleshooting/home-assistant-shelly-coiot-push.mdandplanning/shelly-em-mqtt-implementation.md -
Never disable CoIoT on a Gen1 Shelly that HA owns. With
coiot.enabled: falsethe firmware stops serving/cit/*: HTTPGET /cit/dhangs (no 404) and CoAP on UDP 5683 goes silent. HA'sBlockDevice.initialize()requires/cit/d, so the next HA restart drops every entity of that config entry intosetup_retrywith "Device communication error occurred for …" — while the device keeps answering/shelly,/settingsand/statusnormally, which misleads the diagnosis. An already-initialized HA is unaffected (it polls/statusover REST), so the breakage stays latent for hours or days. Fix:POST /settings/advanced?coiot_enable=true&coiot_update_period=15&coiot_peer=then/reboot— notePOST /settings/coiotwithenabled=trueis silently ignored on fw 1.14.0 — followed by thehomeassistant.reload_config_entryservice (the websocket commandconfig_entries/reloaddoes not exist). Cost of the 2026-10-26 incident: ~48 min of grid telemetry. Second face: while HA retries, those requests hang inside the device, pinning its HTTP slots and ~8 KB of a 51 KB heap; with an MQTT client also running, the firmware faults into a reboot loop every 1–5 min that reads exactly like an MQTT bug and is not one. Re-enabling CoIoT stops both failures. Seedocs/troubleshooting/shelly-gen1-coiot-disabled-breaks-ha-setup.md -
qBittorrent with HostPath volumes to HDDs saturates disks at ~240 IOPS, causing latency spikes in other workloads (Forgejo, etc.). Fix: run qBittorrent with
ionice -c 3(idle I/O priority) and increase startup probe timeout. Seedocs/troubleshooting/qbittorrent-hdd-io-saturation.md -
Renaming an HA entity moves its recorder history with it — so handing a canonical
entity_idto another platform by "rename the old one away, rename the new one in" silently leaves the canonical ID with zero history (blank dashboards, a broken Parquet archive, no error). The recorder migratesstates_meta/statistics_metain place on any registry rename (action == "update"+old_entity_id), but ignores removals. Correct sequence: deploy the new entity under a temporary ID and verify it, remove the old registry entry, promote the new one onto the canonical ID (the collision guard then refuses to migrate, which is what preserves history), reload the old config entry and disable the suffixed entity it recreates — found byunique_id, never by an assumed_2. TheCannot rename statistic_id ... already existsERROR lines are the guard working; their absence means history moved. Also: a disabled entity still reserves its ID, so it must be removed, not disabled, before promotion. Seedocs/troubleshooting/home-assistant-entity-id-handover.md -
The localtuya thermostats'
hvac_actionDP 36 follows the heat/cool mode, not the demand (openall cool season,closeall heat season, verified over 60 days ofprometheus-long-termhistory), so they showedidlewhile rooms sat below target. Not a mapping bug — the firmware does not report relay demand. Fix: the reworkedheuristic_actioninpando85/localtuya876b229(half-step hysteresis, cool/auto, off), enabled per climate entity through the options flow — which reloads the whole localtuya entry. Seedocs/troubleshooting/home-assistant-localtuya.md -
Kivi weather:
HassGetWeatherandGetLiveContextonly see weather entities exposed to Assist (newweather.*entities are not exposed by default), so "¿Qué tiempo hace?" gets "no tengo acceso". Source is the core AEMET integration (weather.aemet); forecasts come from thescript.tiempo_previsiontool. A script whose response dict holds an undefined value (a missing forecast key read asf.key) fails with "expected a dictionary, but got": use f.get('key'). Built-in responses can be overridden from a custom sentences file with only aresponses:key (used to say "grados" instead of "°C"). Seedocs/troubleshooting/home-assistant-voice-weather.md -
Kivi electricity prices and appliance timing:
script.electricidad_precioreadssensor.esios_pvpcand does the arithmetic itself. The small agent mixes up result fields, so appliance questions return only a ready-to-readresumen. Full-hour start candidates (a window ending seconds after the last known price was dropped). Expose new tools after the last restart and checkcore.entity_registry(an exposure was lost in a restart). Wait for a restart by comparing the pod'sstartTimewith the value before the push. History REST queries needend_time. Seedocs/troubleshooting/home-assistant-voice-electricity-prices.md -
Kivi follow-up listening is a punctuation heuristic: HA sets
continue_conversationonly when the assistant reply ends in?(or;/?), and the satellite re-opens the mic without a wake word only when that flag is set. An imperative clarification ("Dime qué prefieres") or a question followed by an option list ending in.both close the mic. Live workaround (2026-12-03): fold the options into the question so it ends in?; the fast model can still slip, re-wake. Deterministic custom-agent design:docs/voice-assistant/followup-continuation-design.md. Related: a spoken "Unexpected tool argument response: Expecting ',' delimiter" is the fast model emitting malformed tool-call JSON (the gateway forwards arguments verbatim); retry. Seedocs/troubleshooting/home-assistant-voice-followup-question-mark.md -
Lovelace dashboards are UI-storage (
/config/.storage/lovelace.*), not git, and break silently when an entity is renamed (the Climate dashboard pointed at non-existentsensor.heishamon_*for months). Edit them over the websocket API (lovelace/config/save; the default dashboard isurl_path: null) with an admin token, back up first, validate entities withget_states, and refuse to save if the live config changed. Shelly EM channel 2 is circuit 2 (aerotherm + appliances), not the heat pump;hass_*history older than 10 days is only inprometheus-long-term. Seedocs/troubleshooting/home-assistant-dashboards.md -
Omnibattery
backup_modewith the grid present means the battery's backup-port load is abovenumber.venus_backup_offgrid_threshold: Omnibattery excludes the battery from PD control and skips all power writes, so the last command keeps running even with the allow switches off (2026-11-11: ~8 h of charging, then discharging, at the 50 W setting). The threshold is a configuration knob and must stay above the servers' load: 500 W, never 50 W (upstream ffunes/Omnibattery#660, by design). Seedocs/troubleshooting/home-assistant-omnibattery.md -
Any
apps/home-assistant/config/**or pod-spec change restarts HA, and theschedulerintegration re-executes the time slot in progress at startup unless it recorded the shutdown time, which needs a clean stop (the pod hadterminationGracePeriodSeconds: 1, now 60 s). Prefer point entries over time ranges for schedules of devices with physical side effects (the bedroom cover re-opened twice on 2026-11-18). Seedocs/troubleshooting/home-assistant-restarts.md -
Heat-pump telemetry dead but the process and MQTT TCP look alive: GoHeishaMon on
cz-taw1b.iot.grigri(the CZ-TAW1B module, not aheishamonhost) hung on its PL2303 USB-serial read for ~4 days (2026-11-26 ~08:30 to 2026-12-01). Decisive signs:/proc/<pid>/statutimenot advancing and no livepanasonic_heat_pump/#payload (retainedLWT Offline), even withESTABLISHEDMQTT. HA kept the frozen values "available" (noexpire_after) for ~68 h, so nothing checked them. Recover with/etc/init.d/goheishamon restartorreboot(a wedged PL2303 survives a restart). Now alerted byBatteryOptimizerHeatPumpTelemetryStale. Seedocs/troubleshooting/goheishamon-hang-climate-telemetry.md -
ESPHome adoption of the hassmic Echo Dot: right after the config entry is created HA may log
Connection requires encryption/Connection reset by peerand fail to add the assist_satellite entity — the noise-key exchange settles during adoption and the manager recovers on retry. Verify with the entity registry (config_entry_id, notentry_id) and the live pfSense state before resetting the device'sapi_key. Also: HA 2026.11 moved config flows from websocket to REST (POST /api/config/config_entries/flow). Seedocs/hardware/echo-dot.mdanddocs/troubleshooting/home-assistant-api-hacs-deploy.md
Applications
-
Apps with Supabase dependencies (auth schema, GoTrue, PostgREST) can use Zalando Postgres + init container for bootstrap SQL. Don't deploy separate Supabase Postgres container unless the app requires Supabase-specific extensions not in the Spilo image. See
docs/deployment/readest.mdanddocs/conventions/deploying-new-apps.md -
Supabase apps on Zalando Postgres: the
db-migrateinit container automates supporting schema/role setup, but upstreamschema.sqlneeds GoTrue'sauthschema (auth.users,auth.uid()) — on a fresh database start GoTrue before the client. Seedocs/deployment/readest.md -
Apps with upstream SQL installed through
docker-entrypoint-initdb.dneed a Zalando-compatible init-container bootstrap. For versioned SQL, vendor at the app image tag, regenerate via Renovate, review before merge, and guard image/SQL version in CI and at startup. Readest uses a migration ledger; Firecrawl replays an idempotent snapshot. Seedocs/conventions/deploying-new-apps.md. -
Changing
spec.resourceson a single-instance (numberOfInstances: 1) ZalandopostgresqlCR forces a master-pod recreate; the StatefulSet reuses the same pod name, the operator's deletion wait times out, and it latchesstatus: UpdateFailed/ ArgoCDDegradedeven though the pod is healthy and the change applied. Fix:kubectl -n postgres-operator rollout restart deploy/postgres-operator. Seedocs/troubleshooting/zalando-single-instance-updatefailed.md -
GoTrue's CORS allow-list omits the
apikeyheader that supabase-js sends on every request. Web clients are same-origin (no preflight), but cross-origin Tauri/mobile WebViews fail silently at preflight and session establishment dies ("go to login"). Fix:GOTRUE_CORS_ALLOWED_HEADERS: apikey. Android login also needsreadest://auth-callbackinGOTRUE_URI_ALLOW_LISTand an nginx provider rewrite that preservesredirect_to. Seedocs/troubleshooting/readest-android-oauth.md -
Firecrawl's
nuqqueue schema is NOT created by the app — upstream provisions it via a custom Postgres image (docker-entrypoint-initdb.d). On Zalando/Spilo nobody runs it, so an idempotentnuq-schema-initinit container appliesfiles/nuq.sql. On version bump, Renovate runsapps/firecrawl/hack/update-nuq-sql.shautomatically; pre-commit and deploy-time guards verify sync.cron.database_nameis a restart-required GUC — delete the postgres pod once after setting it. Seedocs/troubleshooting/firecrawl-selfhost-deployment.md -
vault-operator chart template doesn't support
failureThresholdin probe config — onlytimeoutSeconds,periodSeconds,successThreshold,initialDelaySecondsare rendered. Seedocs/troubleshooting/vault-operator-probe-timeout.md -
Kaniop
KanidmBackupSchedule.spec.scheduleis immutable — changing schedule requires delete/recreate. Discovery controller runs every 5 min and creates CRs for ALL S3 manifests (1000 limit). Retention only deletes CRs, not orphaned S3 data. To clean up: delete schedule, delete CRs, clean S3 withmc rm --recursive --force --versions, then recreate schedule. Seedocs/troubleshooting/kaniop-backup-system.md -
Kanidm supports neither dynamic client registration (DCR) nor client-id metadata documents (CIMD). Every OAuth client must be pre-registered in git via
KanidmOAuth2Clientand itsclient_idsupplied to the client out of band; a native MCP client that falls through CIMD and DCR to nothing fails with "expecting a client_id". The authorization-server metadata document is the source of truth. Seedocs/troubleshooting/kanidm-no-dcr-mcp-client-id.md -
opencode MCP servers (
mcp.grigri.cloud) go toneeds_authafter a day idle, with oauth refresh failinginvalid_grant: Kanidm's default refresh-token expiry is 16 h of non-use. Fix:kanidm.oauth2Client.refreshTokenExpiry(Kaniopspec.refreshTokenExpiry, set to 31536000 = 1 year). The consent "Proceed" page cannot be removed for a public localhost client. Seedocs/troubleshooting/mcp-gateway-oauth-reauth.md -
Kanidm restore requires
KanidmRestoreCR with matchingtargetRef.uid, pinnedrestoreImage, and safety backup (or break-glass annotations). Restore job permission bug (#1005) causes failures. Seedocs/troubleshooting/kanidm-restore-procedure.md -
Stump v0.1.5+ migration
m20260519_192218_reading_sessions_v2can fail mid-way, leaving legacy tables. Restore from snapshot and complete migration manually. Seedocs/troubleshooting/stump-migration-failure.md -
Firecrawl egress NetworkPolicies (
0b16b31b9) produced kubelet probe timeouts onapi/worker/nuqacross two nodes within ~12 s of attach (selected endpoints' BPF reloaded 1 s after the apply), whilebrowserstayedReady; reverted (8fff4f224) and the sameapiprocess recovered readiness without a restart. Root cause UNKNOWN and it stays unknown: the 2026-11-09 probe matrix measured egress-only policy sets as clean (cases C, D — Ready, 0 restarts), so nothing reproduced explains an egress-only failure, andbrowserstaying Ready with the same anchors is still unexplained. Denied counters read0but are cumulative and unattributable, so they prove nothing either way; app logs prove neither handler responsiveness nor packet location. What the same matrices did settle is the kubelet-probe mechanism for the two later incidents (gateway9049af3bf, grafana-mcp838031375): any policy set carrying an ingress rule on anhttpGet/tcpSocket-probed pod denies the probe (native NetworkPolicy and CNP alike), and whileenable-host-firewall: falsethe probe source matches onlyworld—host,remote-node,clusterand anyfromCIDR(including the exact /32 of the probe source) all fail. Both explanations published earlier here ("cannot name the node on ingress", then "pod→node response dropped by enforced egress") are falsified; the same-node A/B dial's direction was right, its reasoning was not. Safe shape: dedicated health port fromfromEntities: [world], app/metrics ports fromfromEndpoints, egresstoEntities: [cluster](keepclusteroff the health port). Rule:docs/conventions/cilium.md; full record with the matrix tables and the retracted hypotheses:docs/troubleshooting/mcp-firecrawl-egress-regression.md. The live SSRF check never ran. Re-land only with deny/CT/capture evidence, a single-workload canary, and the probe shape proven on this cluster before the policy attaches. -
Music Assistant (hostNetwork on prusik): Open Subsonic setup wants
baseURLwithout port (separateportfield); track sync aborts wholesale on Navidrome's virtual "[Unknown Album]" (untagged files,getAlbumerror 70) — search/playback still work, fix the tags or wait for an upstreamreport_skipped_sync_itemfix. Cross-VLAN Sendspin players need the provider's Manual IP addresses for discovery as<ip>:28928for hassmic Echos (bare IP means the wrong default port 8928); auto-pairing needs MA'shassprovider (HA 2026.11 + MA ≥ 2.10.9). AirPlay/ DLNA have no manual-IP option: TVs on another VLAN need pfSense mDNS reflection first. Headless HA adoption: POST{"code": <MA long-lived token>}to the flow's externalauthstep. Commissioning record and pass paths:docs/deployment/home-assistant-voice-multiroom.md