---
title: "Installer-Fehler (install.sh und install.ps1) | Wantastic Docs"
description: "Jede Meldung, die die Wantastic-Installer beim Abbruch ausgeben, ihre Bedeutung und die einfachste Lösung."
url: "https://wantastic.app/de/docs/errors-installer"
category: "Troubleshooting"
reading_time: "6 Min."
---

# Installer-Fehler (install.sh und install.ps1)

Jede Meldung, die die Wantastic-Installer beim Abbruch ausgeben, ihre Bedeutung und die einfachste Lösung.

> **Outcome:** Der Installer endet mit „Done. wantasticd <version> is installed and running.“ und das Gerät ist zugeordnet.

## Before you start

- sudo unter Linux und macOS, eine Root-Shell unter OpenWrt und Alpine oder PowerShell als Administrator unter Windows.

## Bevor du beginnst

- Eine Zeile, die mit „Error:“ beginnt, bricht den Installer ab. Eine Zeile, die mit „Warning:“ beginnt, nicht.
- Den Installer erneut auszuführen ist gefahrlos. Er behält deine Konfiguration und die alte Binärdatei als .previous.
- Die meisten Fehler behebst du, indem du die Schnellinstallation mit sudo genau wie unten gezeigt ausführst.

Linux und macOS:

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

OpenWrt und Alpine (als root):

```bash
wget -qO- https://get.wantastic.app/install.sh | sh; wantasticd genkey
```

## Was zu prüfen ist

1. Berechtigungsfehler („not writable“, „needs root“): Setze sudo vor sh.
2. Download-Fehler („HTTP …“, „wget failed“, „latest version“): Prüfe DNS, HTTPS und die Uhrzeit.
3. Dienstfehler am Ende: Führe genkey aus, ordne das Gerät zu und starte dann den Dienst neu.

*Fehlerhaft: kein sudo: Ohne sudo kann der Installer nicht in /usr/local/bin schreiben.*

```
$ $ curl -fsSL https://get.wantastic.app/install.sh | sh
Platform: linux/amd64
Error: /usr/local/bin is not writable, but / is already read-write. Run this installer as root.
```

*Behoben: sudo vor sh, dann genkey: Ordne das Gerät über die Claim URL oder den QR-Code zu, drücke Ctrl+C und starte dann neu.*

```
$ $ curl -fsSL https://get.wantastic.app/install.sh | sudo sh; sudo wantasticd genkey
Done. wantasticd v1.0.54+377f3c0 is installed and running.
Claim URL: https://console.wantastic.app/#desktop?claim_public_key=Vd3hK1oQ…&wantastic_server=https://console.wantastic.app
Device claimed. Configuration saved to /etc/wantastic/config.conf
$ $ sudo systemctl restart wantasticd
```

## Kurzübersicht

| Fehler | Einfachste Lösung |
| --- | --- |
| Unsupported OS: X | Verwende unter Windows install.ps1. |
| Unsupported architecture: X | Installiere manuell aus einem passenden Tarball. |
| Error: on macOS the installer needs root. | Setze sudo vor sh. |
| Error: <dir> is not writable… | Setze sudo vor sh oder führe als root aus. |
| Error: could not remount <mount> read-write… | Als root ausführen; gesperrte Firmware braucht einen beschreibbaren Pfad. |
| Error: <dir> is still not writable after remounting <mount> | Flash-Speicher freigeben. |
| Error: curl or wget required | Installiere curl oder wget. |
| HTTP <code> downloading <url> / wget failed: <url> | DNS, CA-Bundle, Uhrzeit oder Proxy korrigieren. |
| Error: could not determine latest version | Zugriff auf get.wantastic.app prüfen. |
| Error: invalid release version: X | Am Captive Portal anmelden oder den Proxy umgehen. |
| Error: binary not found in archive | Platz in /tmp freigeben und erneut versuchen. |
| Error: downloaded binary does not report target version V | Falscher CPU-Build oder /tmp mit noexec. |
| Skipping login… / … is empty / service did not start | genkey ausführen, zuordnen, Dienst neu starten. |
| Error: OpenRC service was not enabled | rc-update add wantasticd default. |
| Bootstrap failed: 5: Input/output error | launchctl bootout, dann erneut ausführen. |

## Verify the result

- Der Installer gibt „Done. wantasticd <version> is installed and running.“ aus.
- genkey gibt „Device claimed“ aus, nachdem du auf Claim Device geklickt hast.
- wantasticd status zeigt nach dem Neustart Connected.

## Common issues

### Installer verweigert die Ausführung unter Windows.

```
Unsupported OS: X
```

- **Where:** install.sh
- **Likely cause:** install.sh unterstützt nur Linux und macOS.
- **Fix:** Nutze stattdessen install.ps1: PowerShell als Administrator öffnen und diese Zeile einfügen.

PowerShell (Admin):

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

- **Verify:** Der Installer meldet, dass der Dienst installiert ist und als Windows-Dienst läuft.

### Architektur nicht erkannt.

```
Unsupported architecture: X
Download manually from https://get.wantastic.app
```

- **Where:** install.sh
- **Likely cause:** Für den CPU-Typ (zum Beispiel ppc64, s390x oder loong64) gibt es keinen automatischen Build.
- **Fix:** Lade den passenden Tarball herunter, installiere ihn und ordne das Gerät dann mit genkey zu.

Shell:

```bash
TAG=$(curl -fsSL https://get.wantastic.app/latest | cut -d+ -f1)
curl -fsSLO https://get.wantastic.app/$TAG/wantasticd-linux-<arch>.tar.gz
tar -xzf wantasticd-linux-<arch>.tar.gz
sudo install -m 755 wantasticd /usr/local/bin/
sudo wantasticd genkey
```

- **Verify:** genkey gibt „Device claimed“ aus.

### macOS-Installation bricht sofort ab.

```
Error: on macOS the installer needs root.
```

- **Where:** install.sh (macOS)
- **Likely cause:** Der Installer wurde nicht mit sudo ausgeführt.
- **Fix:** Führe die Schnellinstallation mit sudo vor sh aus und ordne dann das Gerät zu.

1. Führe den Befehl aus.
2. Öffne die Claim URL, melde dich an und klicke auf Claim Device.
3. Drücke nach „Device claimed“ Ctrl+C.
4. Führe aus: sudo launchctl kickstart -k system/com.wantastic.wantasticd

Terminal:

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

- **Verify:** wantasticd status zeigt Connected.

### Installationsverzeichnis nicht beschreibbar.

```
Error: <dir> is not writable. Run this installer as root.
```

- **Where:** install.sh
- **Likely cause:** Der Installer lief nicht als root.
- **Fix:** Führe die Schnellinstallation mit sudo aus (unter OpenWrt und Alpine als root anmelden).

Shell:

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

- **Verify:** Der Installer gibt „Done.“ aus und genkey zeigt eine Claim URL.

### Linux-Einzeiler schlägt fehl, obwohl das Dateisystem in Ordnung ist.

```
Error: <dir> is not writable, but <mount> is already read-write. Run this installer as root.
```

- **Where:** install.sh
- **Likely cause:** sudo stand vor curl oder fehlte, daher lief sh als dein Benutzer.
- **Fix:** Setze sudo vor sh, nicht vor curl.

Shell:

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

- **Verify:** Der Installer gibt „Done.“ aus.

### Installer kann ein schreibgeschütztes Dateisystem nicht beschreibbar machen.

```
Error: could not remount <mount> read-write. Run as root or unlock the filesystem.
```

- **Where:** install.sh (Embedded)
- **Likely cause:** Die Firmware ist schreibgeschützt oder gesperrt, oder du bist nicht root.
- **Fix:** Führe als root aus. Bleibt die Firmware schreibgeschützt, installiere die Binärdatei manuell in einen beschreibbaren Ordner und setze WANTASTIC_CONFIG_DIR.

- **Verify:** wantasticd version läuft.

### Remount hat funktioniert, aber der Installer kann trotzdem nicht schreiben.

```
Error: <dir> is still not writable after remounting <mount>
```

- **Where:** install.sh
- **Likely cause:** Der Flash-Speicher oder die Partition ist voll.
- **Fix:** Gib etwa 15 MB frei und führe den Installer erneut aus.

Shell:

```bash
df -h
df -h /overlay
```

- **Verify:** Der Installer gibt „Done.“ aus.

### Warnung zur Wiederherstellung von Read-only am Ende.

```
Warning: could not remount <mount> read-only
```

- **Where:** install.sh
- **Likely cause:** Der Installer hat das Dateisystem beschreibbar gemacht und konnte es nicht zurückschalten. Die Installation selbst hat funktioniert.
- **Fix:** Starte bei Gelegenheit neu.

- **Verify:** mount zeigt das Dateisystem nach dem Neustart als ro.

### Installer findet den Mount nicht.

```
Error: could not determine the mount containing <dir>
```

- **Where:** install.sh
- **Likely cause:** Das Gerät hat eine ungewöhnliche Mount-Struktur.
- **Fix:** Installiere die Binärdatei manuell in einen beschreibbaren Ordner im PATH und führe dann genkey aus.

- **Verify:** wantasticd version funktioniert.

### Kein Download-Tool.

```
Error: curl or wget required
```

- **Where:** install.sh
- **Likely cause:** Das System-Image enthält weder curl noch wget.
- **Fix:** Installiere eines davon und führe dann die Schnellinstallation erneut aus.

Shell:

```bash
apt-get install -y curl                          # Debian/Ubuntu
apk add curl ca-certificates                     # Alpine
opkg update && opkg install wget-ssl ca-bundle   # OpenWrt
```

- **Verify:** curl --version oder wget --version funktioniert.

### Download schlägt mit einem HTTP-Code fehl.

```
HTTP <code> downloading <url>
```

- **Where:** install.sh
- **Likely cause:** DNS, HTTPS (fehlendes CA-Bundle oder falsche Uhrzeit), ein Proxy oder eine Firewall blockiert den Download.
- **Fix:** Prüfe DNS, Uhrzeit und HTTPS mit diesen Befehlen.

Shell:

```bash
nslookup get.wantastic.app
date -u
curl -v https://get.wantastic.app/latest
```

- **Verify:** Der letzte Befehl gibt eine Version wie v1.0.54+377f3c0 aus.

### wget-Download schlägt unter OpenWrt oder BusyBox fehl.

```
wget failed: <url>
```

- **Where:** install.sh
- **Likely cause:** wget hat keine HTTPS-Unterstützung, das CA-Bundle fehlt, oder die Uhrzeit ist falsch.
- **Fix:** Installiere HTTPS-Unterstützung und stelle die Uhrzeit ein.

Shell:

```bash
opkg update && opkg install wget-ssl ca-bundle
ntpd -q -p pool.ntp.org
```

- **Verify:** wget -qO- https://get.wantastic.app/latest gibt eine Version aus.

### Neueste Version wird nicht gefunden.

```
Error: could not determine latest version
```

- **Where:** install.sh (install.ps1: „Could not determine latest version.“)
- **Likely cause:** Das Gerät erreicht https://get.wantastic.app/latest nicht.
- **Fix:** Prüfe DNS, HTTPS und den Proxy und versuche es dann erneut.

Shell:

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

- **Verify:** Eine Versionszeichenkette wird ausgegeben.

### Version sieht aus wie eine Webseite.

```
Error: invalid release version: X
```

- **Where:** install.sh (install.ps1: „Invalid release version: X“)
- **Likely cause:** Ein Captive Portal oder Proxy hat statt der Version eine Webseite zurückgegeben.
- **Fix:** Melde dich am Captive Portal an oder lass get.wantastic.app den Proxy umgehen.

- **Verify:** curl -fsSL https://get.wantastic.app/latest gibt nur eine Version aus.

### Archiv enthält keine Binärdatei.

```
Error: binary not found in archive
```

- **Where:** install.sh (install.ps1: „wantasticd.exe not found in archive.“)
- **Likely cause:** Der Download wurde abgebrochen, oft weil /tmp voll ist.
- **Fix:** Gib Platz in /tmp frei und führe den Installer erneut aus.

Shell:

```bash
df -h /tmp
```

- **Verify:** Der Installer gibt „wantasticd <version> installed.“ aus.

### Binärdatei läuft nach dem Download nicht.

```
Error: downloaded binary does not report target version V
Reported: …
```

- **Where:** install.sh
- **Likely cause:** /tmp ist mit noexec eingehängt, oder die CPU kann den Build nicht ausführen (ARMv6 Pi Zero/Pi 1, MIPS ohne FPU).
- **Fix:** Verwende einen anderen temporären Ordner. Verwende auf ARMv6 oder MIPS ohne FPU stattdessen die WireGuard-Konfiguration.

Shell:

```bash
sudo mkdir -p /var/tmp/wt && curl -fsSL https://get.wantastic.app/install.sh | sudo TMPDIR=/var/tmp/wt sh; sudo wantasticd genkey
```

- **Verify:** wantasticd version gibt die Zielversion aus.

### Installer hat bei einer Neuinstallation den Login übersprungen.

```
Config already exists at <cfg> — skipping login.
```

- **Where:** install.sh
- **Likely cause:** Das ist normal. Der Installer überschreibt nie eine vorhandene Konfiguration.
- **Fix:** Unternimm nichts, um das Gerät zu behalten. Um es als neues Gerät zu registrieren, entferne die Konfiguration und ordne es mit einem neuen Schlüssel erneut zu.

Shell:

```bash
sudo rm /etc/wantastic/config.conf
sudo wantasticd genkey --force
# after "Device claimed": press Ctrl+C, then:
sudo systemctl restart wantasticd
```

- **Verify:** genkey gibt „Device claimed“ aus.

### Login-Schritt während der Installation fehlgeschlagen.

```
Login failed — <cfg> is empty. Edit it and re-run: wantasticd login
```

- **Where:** install.sh
- **Likely cause:** Das Token wurde abgelehnt oder die Konsole war nicht erreichbar. Der Grund steht über dieser Zeile.
- **Fix:** Lass das Token weg und ordne das Gerät mit genkey zu.

Shell:

```bash
sudo wantasticd genkey
# after "Device claimed": press Ctrl+C, then:
sudo systemctl restart wantasticd
```

- **Verify:** wantasticd status zeigt Connected.

### Installer lief ohne Zugangsdaten.

```
Skipping login. Run 'wantasticd login' to authenticate.
```

- **Where:** install.sh
- **Likely cause:** Das ist bei der Schnellinstallation normal. Das Gerät muss noch zugeordnet werden.
- **Fix:** Führe genkey aus, ordne das Gerät zu, drücke Ctrl+C und starte dann den Dienst neu.

Shell:

```bash
sudo wantasticd genkey
# after "Device claimed": press Ctrl+C, then:
sudo systemctl restart wantasticd
```

- **Verify:** wantasticd status zeigt Connected.

### Beide Server-Flags übergeben.

```
Warning: both --server and --portal-url were provided; using --portal-url.
```

- **Where:** install.sh
- **Likely cause:** Die beiden Flags widersprechen sich.
- **Fix:** Übergib nur eines: --portal-url für ein gültiges Zertifikat oder --server für ein selbstsigniertes Zertifikat.

- **Verify:** Die Warnung ist beim nächsten Lauf verschwunden.

### systemd-Schritt schlägt fehl.

```
Error: systemd service did not start
```

- **Where:** install.sh
- **Likely cause:** Das Gerät ist noch nicht zugeordnet, daher ist die Konfiguration leer. Das ist vor der Zuordnung zu erwarten.
- **Fix:** Führe genkey aus, ordne das Gerät zu, drücke Ctrl+C und starte dann den Dienst neu.

Shell:

```bash
sudo wantasticd genkey
# after "Device claimed": press Ctrl+C, then:
sudo systemctl restart wantasticd
```

- **Verify:** systemctl is-active wantasticd gibt active aus.

### systemd-Unit nicht aktiviert.

```
Error: systemd service was not enabled
```

- **Where:** install.sh
- **Likely cause:** Die Unit ist maskiert oder /etc ist schreibgeschützt.
- **Fix:** Hebe die Maskierung auf und aktiviere den Dienst.

Shell:

```bash
sudo systemctl unmask wantasticd
sudo systemctl enable --now wantasticd
```

- **Verify:** systemctl is-enabled wantasticd gibt enabled aus.

### Container als systemd erkannt.

```
System has not been booted with systemd as init system
```

- **Where:** systemctl (in Containern)
- **Likely cause:** Der Container hat systemd-Dateien, führt systemd aber nicht aus.
- **Fix:** Führe wantasticd im Vordergrund als Container-Befehl aus, mit /dev/net/tun und NET_ADMIN.

Shell:

```bash
wantasticd connect --config /etc/wantastic/config.conf
```

- **Verify:** wantasticd status zeigt im Container Connected.

### OpenWrt-procd-Schritt schlägt fehl.

```
Error: procd service did not become healthy
```

- **Where:** install.sh (OpenWrt)
- **Likely cause:** Das Gerät ist noch nicht zugeordnet, oder kmod-tun fehlt.
- **Fix:** Installiere kmod-tun, ordne das Gerät mit genkey zu und starte dann den Dienst neu.

Shell (root):

```bash
opkg update && opkg install kmod-tun
wantasticd genkey
# after "Device claimed": press Ctrl+C, then:
/etc/init.d/wantasticd restart
```

- **Verify:** wantasticd status zeigt Connected.

### procd-Skript fehlt.

```
Error: procd service script was not installed
```

- **Where:** install.sh (OpenWrt)
- **Likely cause:** /etc/init.d ist nicht beschreibbar, weil der Flash-Speicher voll oder schreibgeschützt ist.
- **Fix:** Gib Flash-Speicher frei und führe die Schnellinstallation erneut aus.

Shell (root):

```bash
df -h /overlay
wget -qO- https://get.wantastic.app/install.sh | sh; wantasticd genkey
```

- **Verify:** /etc/init.d/wantasticd existiert.

### Alpine-Dienst nicht aktiviert.

```
Error: OpenRC service was not enabled
```

- **Where:** install.sh (Alpine)
- **Likely cause:** rc-update ist fehlgeschlagen.
- **Fix:** Aktiviere und starte den Dienst manuell.

Shell (root):

```bash
rc-update add wantasticd default
rc-service wantasticd start
```

- **Verify:** rc-service wantasticd status zeigt started.

### Kein unterstütztes Init-System.

```
Unknown init system — start manually: wantasticd connect --config <cfg>
```

- **Where:** install.sh
- **Likely cause:** Der Installer hat weder systemd, procd, OpenRC, SysV noch /etc/init.d gefunden.
- **Fix:** Füge den ausgegebenen Befehl zu deiner Startmethode hinzu, zum Beispiel rc.local.

- **Verify:** wantasticd status zeigt nach einem Neustart Connected.

### macOS-Installer meldet, dass der Dienst nicht weiterläuft (bevor das Gerät zugeordnet ist).

```
Error: wantasticd did not stay running. Last log lines:
```

- **Where:** install.sh (macOS)
- **Likely cause:** Vor der Zuordnung ist die Konfiguration leer, daher kann der Dienst noch nicht starten. Bei einer Neuinstallation ist das zu erwarten.
- **Fix:** Ignoriere die Meldung. Führe genkey aus, ordne das Gerät zu, drücke Ctrl+C und starte dann den Dienst neu.

Terminal:

```bash
sudo wantasticd genkey
# after "Device claimed": press Ctrl+C, then:
sudo launchctl kickstart -k system/com.wantastic.wantasticd
```

- **Verify:** sudo launchctl print system/com.wantastic.wantasticd zeigt state = running.

### plist-Prüfung fehlgeschlagen.

```
Error: invalid <plist>
```

- **Where:** install.sh (macOS)
- **Likely cause:** Die erzeugte LaunchDaemon-Datei ist beschädigt.
- **Fix:** Deinstalliere und führe dann die Schnellinstallation erneut aus.

Terminal:

```bash
curl -fsSL https://get.wantastic.app/install.sh | sudo sh -s -- --uninstall
curl -fsSL https://get.wantastic.app/install.sh | sudo sh; sudo wantasticd genkey
```

- **Verify:** Der Installer gibt „Service registered with launchd and running“ aus.

### Signaturwarnung unter macOS.

```
Warning: could not ad-hoc sign <bin>
```

- **Where:** install.sh (macOS)
- **Likely cause:** Das codesign-Tool fehlt oder ist fehlgeschlagen.
- **Fix:** Signiere die Binärdatei manuell.

Terminal:

```bash
xcode-select --install
sudo codesign -f -s - /usr/local/bin/wantasticd
```

- **Verify:** codesign -dv /usr/local/bin/wantasticd zeigt Signature=adhoc.

### launchctl-Fehler bei einer Neuinstallation unter macOS.

```
Bootstrap failed: 5: Input/output error
```

- **Where:** launchctl (macOS)
- **Likely cause:** Der alte Dienst war noch beim Beenden.
- **Fix:** Entferne den alten Dienst und führe dann die Schnellinstallation erneut aus.

Terminal:

```bash
sudo launchctl bootout system/com.wantastic.wantasticd
curl -fsSL https://get.wantastic.app/install.sh | sudo sh; sudo wantasticd genkey
```

- **Verify:** Der Installer gibt „Done.“ aus.

## 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.
- [Choose your install method](https://wantastic.app/de/docs/install-overview): Find your device in one table and copy one command. Most devices install in 2 minutes: install, scan a QR code, click Claim Device.
- [Manual tarball install](https://wantastic.app/de/docs/install-manual): Install wantasticd by hand from the release archive on any Linux CPU (including ppc64, s390x and loong64), claim it with genkey, and add your own service.
- [Login, token and claim errors](https://wantastic.app/de/docs/errors-login-claim): Fix claim problems (genkey, QR code, Claim Device), "Login failed: …" messages and token errors.
- [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.
- [OpenWrt and embedded device errors](https://wantastic.app/de/docs/errors-openwrt-embedded): kmod-tun, read-only flash, procd, full flash, wrong clocks and BusyBox issues on routers and modules.
