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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix: fallback agent download for legacy docker layout
rcourtmanc389c7625dcd
diff --git a/internal/api/router.go b/internal/api/router.goindex 0a188cbc86..96ea585126 100644--- a/internal/api/router.go+++ b/internal/api/router.go@@ -2716,12 +2716,13 @@ func (r *Router) handleDownloadAgent(w http.ResponseWriter, req *http.Request) {w.Header().Set("Expires", "0")archParam := strings.TrimSpace(req.URL.Query().Get("arch"))- searchPaths := make([]string, 0, 4)+ searchPaths := make([]string, 0, 6)if normalized := normalizeDockerAgentArch(archParam); normalized != "" {searchPaths = append(searchPaths,filepath.Join("/opt/pulse/bin", "pulse-docker-agent-"+normalized),filepath.Join("/opt/pulse", "pulse-docker-agent-"+normalized),+ filepath.Join("/app", "pulse-docker-agent-"+normalized), // legacy Docker image layout)}@@ -2729,6 +2730,7 @@ func (r *Router) handleDownloadAgent(w http.ResponseWriter, req *http.Request) {searchPaths = append(searchPaths,filepath.Join("/opt/pulse/bin", "pulse-docker-agent"),"/opt/pulse/pulse-docker-agent",+ filepath.Join("/app", "pulse-docker-agent"), // legacy Docker image layout)for _, candidate := range searchPaths {