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(setup): escape printf %s in Sprintf template to fix format verb count (#1297)
rcourtman7530b6625459
diff --git a/internal/api/config_handlers.go b/internal/api/config_handlers.goindex 775788d9d6..611026a84e 100644--- a/internal/api/config_handlers.go+++ b/internal/api/config_handlers.go@@ -4392,7 +4392,7 @@ if [ -n "$SSH_SENSORS_PUBLIC_KEY" ]; thenTMP_AUTH_KEYS="$(mktemp /tmp/.pulse-authorized-keys.XXXXXX 2>/dev/null)" || TMP_AUTH_KEYS=""if [ -n "$TMP_AUTH_KEYS" ] && [ -f "$TMP_AUTH_KEYS" ]; thengrep -vF "# pulse-" "$AUTH_KEYS" > "$TMP_AUTH_KEYS" 2>/dev/null || true- printf '%s\n' "$SSH_SENSORS_KEY_ENTRY" >> "$TMP_AUTH_KEYS"+ printf '%%s\n' "$SSH_SENSORS_KEY_ENTRY" >> "$TMP_AUTH_KEYS"chmod 600 "$TMP_AUTH_KEYS"if mv -f "$TMP_AUTH_KEYS" "$AUTH_KEYS" 2>/dev/null || cp -f "$TMP_AUTH_KEYS" "$AUTH_KEYS" 2>/dev/null; thenrm -f "$TMP_AUTH_KEYS" 2>/dev/null@@ -4405,7 +4405,7 @@ if [ -n "$SSH_SENSORS_PUBLIC_KEY" ]; thenecho " ⚠️ Failed to create temp file — cannot update authorized_keys"fielse- if printf '%s\n' "$SSH_SENSORS_KEY_ENTRY" >> "$AUTH_KEYS" 2>/dev/null; then+ if printf '%%s\n' "$SSH_SENSORS_KEY_ENTRY" >> "$AUTH_KEYS" 2>/dev/null; thenchmod 600 "$AUTH_KEYS"SENSORS_KEY_OK=trueelse