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): remove pct pull fallback that causes PVE task errors

rcourtman5b7445f7589b
diff --git a/scripts/install-sensor-proxy.sh b/scripts/install-sensor-proxy.sh
index 1bd81a8fad..d571ff3f7e 100755
--- a/scripts/install-sensor-proxy.sh
+++ b/scripts/install-sensor-proxy.sh
@@ -1543,22 +1543,9 @@ sys.exit(0)
fi
fi
- if [[ "$DOWNLOAD_SUCCESS" != true ]] && [[ -n "$CTID" ]] && command -v pct >/dev/null 2>&1; then
- pull_targets=(
- "/opt/pulse/bin/${BINARY_NAME}"
- "/opt/pulse/bin/pulse-sensor-proxy"
- )
- for src in "${pull_targets[@]}"; do
- tmp_pull=$(mktemp)
- if pct pull "$CTID" "$src" "$tmp_pull" >/dev/null 2>&1; then
- mv "$tmp_pull" "$BINARY_PATH.tmp"
- print_info "Copied pulse-sensor-proxy binary from container $CTID ($src)"
- DOWNLOAD_SUCCESS=true
- break
- fi
- rm -f "$tmp_pull"
- done
- fi
+ # NOTE: Previous versions attempted pct pull from container paths like
+ # /opt/pulse/bin/pulse-sensor-proxy-linux-amd64, but these paths don't exist
+ # in Pulse containers. Removed to prevent spurious PVE task errors (#817).
if [[ "$DOWNLOAD_SUCCESS" != true ]]; then
print_error "Unable to download pulse-sensor-proxy binary."