---
title: "Update- und Rollback-Fehler | Wantastic Docs"
description: "Behebe fehlgeschlagene Selbst-Updates, lies das Update-Log und kehre zur vorherigen Binärdatei zurück."
url: "https://wantastic.app/de/docs/errors-update"
category: "Troubleshooting"
reading_time: "5 Min."
---

# Update- und Rollback-Fehler

Behebe fehlgeschlagene Selbst-Updates, lies das Update-Log und kehre zur vorherigen Binärdatei zurück.

> **Outcome:** wantasticd version zeigt die erwartete Version und der Dienst ist Connected, oder du hast sicher zurückgerollt.

## Before you start

- Root oder Administrator.
- Das Update-Log in /tmp (wantasticd-update-*.log).

## So funktionieren Updates

- wantasticd prüft 1 Minute nach dem Start auf Updates, danach stündlich. Um sofort zu aktualisieren, führe sudo wantasticd update aus.
- Die alte Binärdatei wird als .previous aufbewahrt. Startet die neue Version nicht, wird die alte automatisch wiederhergestellt.
- Der Tunnel läuft weiter, wenn ein Update fehlschlägt. Die nächste Prüfung versucht es erneut.
- „No newer release available: current=… offered=…“ ist normal.

Neuestes Update-Log lesen:

```bash
ls -t /tmp/wantasticd-update-*.log | head -1 | xargs tail -n 50
```

## Was zu prüfen ist

1. Suche die Fehlerzeile im Dienst-Log und lies dann das darin genannte Update-Log.
2. Download-Fehler: Prüfe das Netzwerk. Versionsfehler: Prüfe die CPU und /tmp. Health-Fehler: Sende das Log an den Support.
3. Wenn das Gerät instabil ist, rolle manuell zurück.

*Fehlerhaft: automatischer Rollback: Das Update ist fehlgeschlagen, und die vorherige Version wurde automatisch wiederhergestellt.*

```
$ $ sudo wantasticd update
Error: updated service failed health verification; restoring previous binary
Self-update failed; agent remains active and will retry on the next scheduled check: update script failed: exit status 1 (log kept at /tmp/wantasticd-update-a1B2.log)
```

*Manueller Rollback (Linux): Stelle .previous wieder her und starte den Dienst neu.*

```
$ $ sudo mv /usr/local/bin/wantasticd.previous /usr/local/bin/wantasticd
$ $ sudo systemctl restart wantasticd
$ $ wantasticd status
Status      Connected
```

## Kurzübersicht

| Fehler | Einfachste Lösung |
| --- | --- |
| Self-update failed… / update script failed… | Das genannte Log lesen. |
| update attempt timed out after 7m0s | Download-Timeout erhöhen. |
| Error: download failed (HTTP N) | Erlaube HTTPS zu get.wantastic.app. |
| Error: downloaded binary does not report target version | Falsche CPU oder TMPDIR mit noexec. |
| Error: cannot back up / cannot write to <dir> | Als root ausführen; Speicherplatz freigeben. |
| Error: updated service failed health verification… | Bereits zurückgerollt; Log senden. |
| update-finish: … (Windows) | Siehe die Windows-Probleme unten. |

## Verify the result

- wantasticd version zeigt die erwartete Version.
- wantasticd status zeigt Connected.

## Common issues

### Update fehlgeschlagen, aber der Agent läuft noch.

```
Self-update failed; agent remains active and will retry on the next scheduled check: …
```

- **Where:** wantasticd-Logs
- **Likely cause:** Ein Update-Schritt ist fehlgeschlagen. Der Grund folgt nach dem Doppelpunkt.
- **Fix:** Suche den Grund in dieser Liste.

- **Verify:** Die nächste stündliche Prüfung gelingt.

### Update-Skript fehlgeschlagen.

```
update script failed: … (log kept at /tmp/wantasticd-update-XXXX.log)
```

- **Where:** wantasticd-Logs
- **Likely cause:** Das Update-Skript wurde mit einem Fehler beendet.
- **Fix:** Lies die darin genannte Logdatei.

Shell:

```bash
ls -t /tmp/wantasticd-update-*.log | head -1 | xargs tail -n 50
```

- **Verify:** Du siehst den Grund im Log.

### Zeitüberschreitung beim Update.

```
update attempt timed out after 7m0s (log kept at …)
```

- **Where:** wantasticd-Logs
- **Likely cause:** Die Verbindung ist langsam (LTE oder Satellit).
- **Fix:** Führe das Update manuell mit einem längeren Download-Timeout aus.

Shell:

```bash
sudo WANTASTIC_UPDATE_DOWNLOAD_TIMEOUT=900 wantasticd update
```

- **Verify:** Das Update wird abgeschlossen.

### Download fehlgeschlagen.

```
Error: download failed (HTTP N)
```

- **Where:** Update-Log
- **Likely cause:** Ein Proxy, eine Firewall oder DNS blockiert get.wantastic.app.
- **Fix:** Erlaube HTTPS zu get.wantastic.app.

Shell:

```bash
curl -I https://get.wantastic.app/latest
```

- **Verify:** Der Befehl zeigt HTTP 200.

### Kein Download-Tool auf dem Gerät.

```
Error: no downloader available (curl, wget or uclient-fetch)
```

- **Where:** Update-Log
- **Likely cause:** Das System-Image ist minimal.
- **Fix:** Installiere ein Download-Tool.

Shell:

```bash
opkg update && opkg install uclient-fetch libustream-mbedtls ca-bundle
```

- **Verify:** wantasticd update wird abgeschlossen.

### Neue Binärdatei läuft nicht.

```
Error: downloaded binary does not report target version
```

- **Where:** Update-Log
- **Likely cause:** Die CPU kann den Build nicht ausführen, oder TMPDIR ist mit noexec eingehängt.
- **Fix:** Aktualisiere manuell mit einem anderen temporären Ordner.

Shell:

```bash
sudo mkdir -p /var/tmp/wt && sudo TMPDIR=/var/tmp/wt wantasticd update
```

- **Verify:** wantasticd version zeigt die neue Version.

### Aktuelle Binärdatei kann nicht gesichert werden.

```
Error: cannot back up <bin>
```

- **Where:** Update-Log
- **Likely cause:** Der Datenträger ist voll oder schreibgeschützt.
- **Fix:** Gib Speicherplatz frei und aktualisiere erneut.

Shell:

```bash
df -h
sudo wantasticd update
```

- **Verify:** <bin>.previous existiert nach dem Update.

### Installationsordner nicht beschreibbar.

```
Error: cannot write to <dir> (check permissions)
```

- **Where:** Update-Log
- **Likely cause:** Das Update lief nicht als root, oder das Dateisystem ist schreibgeschützt.
- **Fix:** Führe das Update mit sudo aus.

Shell:

```bash
sudo wantasticd update
```

- **Verify:** Das Update wird abgeschlossen.

### Update bei benutzerdefiniertem Setup verweigert.

```
Error: no supported service manager found; refusing an unverifiable update
```

- **Where:** Update-Log
- **Likely cause:** wantasticd läuft nicht unter launchd, systemd, procd, OpenRC oder init.d.
- **Fix:** Installiere den Dienst mit der Schnellinstallation, oder aktualisiere manuell und führe mit --no-auto-update aus.

Shell:

```bash
curl -fsSL https://get.wantastic.app/install.sh | sudo sh
```

- **Verify:** wantasticd version zeigt die neue Version.

### Health Check nach dem Update fehlgeschlagen.

```
Error: updated service failed health verification; restoring previous binary
```

- **Where:** Update-Log
- **Likely cause:** Die neue Version ist nicht rechtzeitig korrekt gestartet.
- **Fix:** Nichts rückgängig zu machen; sie wurde automatisch zurückgerollt. Sende das Update-Log an hello@wantastic.app.

- **Verify:** wantasticd status zeigt Connected mit der alten Version.

### Entwicklungs-Build kann nicht aktualisieren.

```
Invalid update version: parse current version: version "dev" is not major.minor.patch
```

- **Where:** wantasticd update
- **Likely cause:** Du führst eine selbst gebaute Binärdatei aus.
- **Fix:** Installiere ein offizielles Release.

Shell:

```bash
curl -fsSL https://get.wantastic.app/install.sh | sudo sh
```

- **Verify:** wantasticd version zeigt vX.Y.Z+sha.

### Bereits auf dem neuesten Stand.

```
No newer release available: current=… offered=…
```

- **Where:** wantasticd update
- **Likely cause:** Das ist normal. Ältere Versionen werden nie installiert.
- **Fix:** Nichts zu tun.

- **Verify:** wantasticd version zeigt die aktuelle Version.

### Windows: Dienst nach Update fehlerhaft.

```
update-finish: <svc> unhealthy after update to <v>: …; restoring previous binary
```

- **Where:** Windows (update-finish)
- **Likely cause:** Die neue Version hat Running nicht erreicht.
- **Fix:** Sie wird automatisch zurückgerollt. Sende das Vordergrund-Log an den Support.

- **Verify:** sc.exe query wantasticd zeigt RUNNING.

### Windows: keine Sicherung zum Wiederherstellen.

```
update-finish: no backup at …
```

- **Where:** Windows (update-finish)
- **Likely cause:** wantasticd.exe.previous fehlte.
- **Fix:** Mit install.ps1 in PowerShell als Administrator neu installieren.

PowerShell (Admin):

```powershell
irm https://get.wantastic.app/install.ps1 | iex
```

- **Verify:** Der Dienst läuft.

### Windows: Rollback ebenfalls fehlgeschlagen.

```
update-finish: previous binary did not start either
```

- **Where:** Windows (update-finish)
- **Likely cause:** Das Problem liegt an der Konfiguration oder am System, nicht an der Binärdatei.
- **Fix:** Führe im Vordergrund aus, um den Fehler zu sehen (siehe macOS- und Windows-Fehler), behebe ihn und starte dann den Dienst.

PowerShell (Admin):

```powershell
sc.exe start wantasticd
```

- **Verify:** Der Dienst läuft.

### Windows: heruntergeladene Binärdatei defekt.

```
new binary does not run
```

- **Where:** Windows (update)
- **Likely cause:** Der Download ist beschädigt oder der Virenscanner hat ihn entfernt. „new binary reports 'x', want v“ und „wantasticd.exe not found in release archive“ hängen damit zusammen.
- **Fix:** Erlaube C:\Program Files\Wantastic in deinem Virenscanner und versuche es erneut.

PowerShell (Admin):

```powershell
& "C:\Program Files\Wantastic\wantasticd.exe" update
```

- **Verify:** wantasticd version zeigt die neue Version.

## Continue with

- [Troubleshooting: start here](https://wantastic.app/de/docs/troubleshooting): Fix most problems in 3 steps. If that does not work, find your exact error in the table and open the matching guide.
- [Update, roll back and uninstall](https://wantastic.app/de/docs/update-and-uninstall): Update or uninstall wantasticd with one line per OS. Also: how auto-update works, turning it off, rolling back to the previous binary, and purging all data.
- [wantasticd CLI reference and operations](https://wantastic.app/de/docs/wantasticd): The most used wantasticd commands first, then every command and flag, environment variables, config and state paths per OS, log lines, local access, exit node, and the claim flow (genkey / --wait-claim).
- [macOS and Windows errors](https://wantastic.app/de/docs/errors-macos-windows): launchd, Gatekeeper, tray, sc.exe and Windows service errors with the easiest fixes.
