mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-22 11:10:33 +00:00
fix(setup): make manual repair instructions actionable
Issue: When deployment type cannot be determined, error message referenced $PROXY_INSTALLER but deleted it immediately, making instructions unusable. Fix: Provide complete curl commands that users can copy-paste directly: curl -fsSL $PULSE_URL/api/install/install-sensor-proxy.sh | bash -s -- ... This ensures users have a working repair path even when auto-detection fails. Identified by Codex final review.
This commit is contained in:
parent
8f161de99a
commit
d38c00474e
1 changed files with 7 additions and 3 deletions
|
|
@ -4340,8 +4340,12 @@ if [ "$SKIP_TEMPERATURE_PROMPT" = true ]; then
|
|||
echo ""
|
||||
echo "⚠️ Cannot determine proxy deployment type (no CTID, not standalone)"
|
||||
echo " Manual repair required. Run one of:"
|
||||
echo " • For container: $PROXY_INSTALLER --ctid <CTID> --pulse-server %s"
|
||||
echo " • For standalone: $PROXY_INSTALLER --standalone --http-mode --pulse-server %s"
|
||||
echo ""
|
||||
echo " • For container:"
|
||||
echo " curl -fsSL %s/api/install/install-sensor-proxy.sh | bash -s -- --ctid <CTID> --pulse-server %s"
|
||||
echo ""
|
||||
echo " • For standalone:"
|
||||
echo " curl -fsSL %s/api/install/install-sensor-proxy.sh | bash -s -- --standalone --http-mode --pulse-server %s"
|
||||
echo ""
|
||||
echo " Keeping existing proxy configuration"
|
||||
rm -f "$PROXY_INSTALLER"
|
||||
|
|
@ -5050,7 +5054,7 @@ fi
|
|||
tokenName, tokenName, tokenName, tokenName, tokenName, tokenName,
|
||||
authToken, pulseURL, serverHost, tokenName, tokenName, storagePerms,
|
||||
sshKeys.ProxyPublicKey, sshKeys.SensorsPublicKey, minProxyReadyVersion,
|
||||
pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, authToken, pulseURL, authToken, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, tokenName)
|
||||
pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, authToken, pulseURL, authToken, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, tokenName)
|
||||
|
||||
} else { // PBS
|
||||
script = fmt.Sprintf(`#!/bin/bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue