Allmon3 Launchpad v1.8 Community Edition
Launchpad customisations by Roger Loxton-Gear, G7LMY.
Free public use, modification and redistribution subject to applicable upstream licences.
Provided AS IS, without warranty or liability to the extent permitted by law.
Not an official AllStarLink release. See README.txt for full terms and notices.

# Rollback: Allmon3 Launchpad

The safest rollback is to restore the backup taken immediately before installation. Run these steps on the Allmon3 server.

## Restore original files

1. Locate your backup:

```bash
sudo ls -lh /root/allmon3-*before-launchpad*.tar.gz
```

2. **Check the archive contents before extracting** and choose the appropriate backup:

```bash
sudo tar -tvzf /root/allmon3-full-before-launchpad-YYYYMMDD-HHMMSS.tar.gz | head
```

3. For the **full** backup created with `-C /usr/share allmon3`, restore with:

```bash
sudo tar -xzf /root/allmon3-full-before-launchpad-YYYYMMDD-HHMMSS.tar.gz -C /usr/share
```

This restores the archived Allmon3 tree, including the previous `index.html` and symlink layout. If your `custom.css` was linked to `/etc/allmon3/custom.css`, also restore its separately backed-up target file (`*.before-launchpad-*`) to the original path.

If you made the **smaller** backup using `-C /usr/share/allmon3`, extract it with:

```bash
sudo tar -xzf /root/allmon3-before-launchpad-YYYYMMDD-HHMMSS.tar.gz -C /usr/share/allmon3
```

**Caution:** The smaller backup follows symlinks. If the live `custom.css` is still a symlink, extracting may replace that symlink with a regular file instead of restoring the original link. Re-create the original link if needed, using the target recorded before installation.

4. Remove any added files **only if they did not exist before the installation**:

```bash
# Examples, only after checking your backup:
# sudo rm /usr/share/allmon3/css/launchpad-light.css
# sudo rm /usr/share/allmon3/js/theme-toggle.js
```

5. Hard-refresh the browser and confirm the original interface works. Static file restoration normally needs no Apache restart.

## If the site is unavailable

Confirm the static directory and Apache alias match your deployment. Do not delete `/etc/allmon3` or alter backend/node credentials to roll back a visual theme.
