Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix(sensor-proxy): prevent installer hang on control-plane sync

rcourtman5c6d1798a853
diff --git a/scripts/install-sensor-proxy.sh b/scripts/install-sensor-proxy.sh
index 829e4f9c3b..91e03449d8 100755
--- a/scripts/install-sensor-proxy.sh
+++ b/scripts/install-sensor-proxy.sh
@@ -3586,9 +3586,10 @@ EOF
systemctl enable --now pulse-sensor-proxy-selfheal.timer >/dev/null 2>&1 || true
if [[ -f "$PENDING_CONTROL_PLANE_FILE" ]]; then
if [[ "$QUIET" != true ]]; then
- print_info "Pending control-plane sync detected; triggering immediate retry..."
+ print_info "Pending control-plane sync detected; will retry in background..."
fi
- systemctl start pulse-sensor-proxy-selfheal.service >/dev/null 2>&1 || true
+ # Use --no-block to avoid hanging the installer if sync takes a long time
+ systemctl start --no-block pulse-sensor-proxy-selfheal.service >/dev/null 2>&1 || true
fi
fi