Fix incorrect upgrade instructions for systemd/bare metal installs

The Settings page was telling systemd/bare metal users to run install.sh
for upgrades, which is wrong - install.sh is for fresh installations only
and does nothing if Pulse is already installed.

Changes:
- Updated upgrade instructions to mention built-in "Install Update" button
- Added correct manual upgrade steps (download tarball, stop service, extract, start)
- Removed misleading "run install.sh" instruction

This fixes a critical UX issue where users would run install.sh and think
nothing happened, when they should either:
1. Use the built-in automatic update feature (Install Update button)
2. Manually download and extract the new binary

Related files:
- frontend-modern/src/components/Settings/Settings.tsx:4052-4072
This commit is contained in:
rcourtman 2025-11-15 13:39:12 +00:00
parent 4fbb118072
commit b577a3d464

View file

@ -4056,11 +4056,17 @@ const Settings: Component<SettingsProps> = (props) => {
}
>
<div class="text-xs text-green-700 dark:text-green-300 space-y-1">
<p>Run the install script:</p>
<p>
Click the "Install Update" button below, or download and install manually:
</p>
<code class="block p-1 bg-green-200 dark:bg-green-800 rounded text-xs">
curl -fsSL
https://raw.githubusercontent.com/rcourtman/Pulse/main/install.sh
| bash
curl -LO https://github.com/rcourtman/Pulse/releases/download/{updateInfo()?.latestVersion}/pulse-{updateInfo()?.latestVersion}-linux-amd64.tar.gz
<br />
sudo systemctl stop pulse
<br />
sudo tar -xzf pulse-{updateInfo()?.latestVersion}-linux-amd64.tar.gz -C /usr/local/bin pulse
<br />
sudo systemctl start pulse
</code>
</div>
</Show>