#gateway will not install

1 messages ยท Page 1 of 1 (latest)

agile wyvern
#

โ—‡ Gateway service runtime
โ”‚ Node (recommended)
Error: systemctl is-enabled unavailable: Command failed: systemctl --user is-enabled openclaw-gateway.service
hanz@hanz-pc:~$

river hullBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> โœ… Mark Solution

karmic notchBOT
#

That error basically means: OpenClaw tried to manage the Linux systemd service (systemctl --user โ€ฆ), but your environment doesnโ€™t have a working systemd user manager (either no systemd at all, or no user bus/session).

Can you paste these (theyโ€™re the fastest to pinpoint which case it is):

openclaw --version
ps -p 1 -o comm=
systemctl --user status --no-pager 2>&1 | head -n 30

If your machine does use systemd (PID 1 = systemd)

Then the fix is usually one of:

  1. Service not installed yet
openclaw gateway install
#
systemctl --user daemon-reload
systemctl --user enable --now openclaw-gateway.service
  1. User services stop when you log out (common on servers/SSH)
sudo loginctl enable-linger "$USER"

(Then systemctl --user enable --now โ€ฆ again.)

If PID 1 is not systemd (WSL without systemd, Docker container, Alpine/OpenRC, etc.)

systemctl --user wonโ€™t work there. You can still run OpenClaw fine, just without the daemon:

openclaw gateway --port 18789
agile wyvern
#

hanz@hanz-pc:~$ openclaw --version
ps -p 1 -o comm=
systemctl --user status --no-pager 2>&1 | head -n 30
openclaw: Befehl nicht gefunden.
systemd
โ— hanz-pc
State: running
Units: 336 loaded (incl. loaded aliases)
Jobs: 0 queued
Failed: 0 units
Since: Thu 2026-03-05 16:17:55 CET; 36min ago
systemd: 255.4-1ubuntu8.12
CGroup: /user.slice/user-1000.slice/user@1000.service
โ”œโ”€app.slice
โ”‚ โ”œโ”€app-gnome-at\x2dspi\x2ddbus\x2dbus-2549.scope
โ”‚ โ”‚ โ”œโ”€2549 /usr/libexec/at-spi-bus-launcher --launch-immediately
โ”‚ โ”‚ โ”œโ”€2561 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/1000/at-spi/bus
โ”‚ โ”‚ โ””โ”€2610 /usr/libexec/at-spi2-registryd --use-gnome-session
โ”‚ โ”œโ”€app-gnome-org.gnome.Evolution\x2dalarm\x2dnotify-2699.scope
โ”‚ โ”‚ โ””โ”€2699 /usr/libexec/evolution-data-server/evolution-alarm-notify
โ”‚ โ”œโ”€app-gnome-org.gnome.SettingsDaemon.DiskUtilityNotify-2704.scope
โ”‚ โ”‚ โ””โ”€2704 /usr/libexec/gsd-disk-utility-notify
โ”‚ โ”œโ”€app-gnome-update\x2dnotifier-4822.scope
โ”‚ โ”‚ โ””โ”€4822 /usr/bin/update-notifier
โ”‚ โ”œโ”€app-gnome\x2dsession\x2dmanager.slice
โ”‚ โ”‚ โ””โ”€gnome-session-manager@ubuntu.service
โ”‚ โ”‚ โ””โ”€2489 /usr/libexec/gnome-session-binary --systemd-service --session=ubuntu
โ”‚ โ”œโ”€app-org.gnome.Terminal.slice
โ”‚ โ”‚ โ”œโ”€gnome-terminal-server.service
โ”‚ โ”‚ โ”‚ โ””โ”€5489 /usr/libexec/gnome-terminal-server
โ”‚ โ”‚ โ””โ”€vte-spawn-22420cab-eb67-4130-aabf-3af15811a2ac.scope
โ”‚ โ”‚ โ”œโ”€ 5497 bash
โ”‚ โ”‚ โ”œโ”€51298 systemctl --user status --no-pager
โ”‚ โ”‚ โ””โ”€51299 head -n 30
โ”‚ โ”œโ”€dconf.service
hanz@hanz-pc:~$

karmic notchBOT
#

Your systemctl --user is totally fine (itโ€™s running and responding), so this isnโ€™t a โ€œno systemdโ€ situation.

The real blocker in your pasted output is:

openclaw: Befehl nicht gefunden.

So the OpenClaw CLI simply isnโ€™t installed or itโ€™s installed but not on your PATH.

Fix (recommended)

Re-run the installer (it also handles PATH setup more reliably than manual npm globals):

curl -fsSL https://openclaw.ai/install.sh | bash

Then close + reopen your terminal and verify:

#
command -v openclaw
openclaw --version

After that, install/start the service:

openclaw onboard --install-daemon
# or: openclaw gateway install

Why you saw systemctl โ€ฆ is-enabled โ€ฆ unavailable

That message usually happens when the unit doesnโ€™t exist yet (not installed), so systemctl --user is-enabled openclaw-gateway.service exits nonโ€‘zero.

Once openclaw is actually installed and you run openclaw gateway install / onboard --install-daemon, that check should stop erroring.

#

If openclaw is still โ€œnot foundโ€ after reinstall: paste node -v, npm -v, and echo $PATH and weโ€™ll spot the PATH issue immediately.

agile wyvern
#

ich habe die installation gestartet und es hat bei gateway installation abgebrochen und dann diesen fehler ausgegeben wir angegeben

karmic notchBOT
#

Alles klar โ€” der wichtige Punkt ist: systemctl --user lรคuft bei dir, aber der Installer ist beim โ€œGateway/Daemon installierenโ€ ausgestiegen, weil er systemctl --user is-enabled openclaw-gateway.service als โ€œFehlerโ€ behandelt.

Das passiert typischerweise, wenn der Service noch gar nicht existiert (oder โ€œdisabledโ€ ist): systemctl is-enabled liefert dann einen Exit-Code โ‰  0 โ€“ das ist normal, aber wird hier offenbar als hard error angezeigt.

Quick workaround (damit du sofort weiterkommst)

  1. OpenClaw erst mal nur installieren (ohne Onboarding/Daemon):
curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard
  1. Terminal neu รถffnen (oder einmal source ~/.profile), dann prรผfen:
command -v openclaw
openclaw --version
  1. Gateway testweise im Vordergrund starten (zum Verifizieren):
#
openclaw gateway --port 18789

(Ctrl+C zum Beenden)

  1. Service dann manuell aktivieren:
openclaw gateway install
systemctl --user daemon-reload
systemctl --user enable --now openclaw-gateway.service
openclaw gateway status

Wenn Schritt 2 schon scheitert (openclaw immer noch โ€œnicht gefundenโ€)

Paste bitte:

#
ls -la ~/.local/bin/openclaw /usr/local/bin/openclaw 2>/dev/null
echo $PATH

Wenn das wirklich ein Installer-Bug ist (Abbruch nur wegen is-enabled Exit-Code), wรคre das ein Fall fรผr ein GitHub Issue โ€“ aber mit obigen Schritten solltest du erstmal sauber laufen.

agile wyvern
#

hanz@hanz-pc:~$ curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard

๐Ÿฆž OpenClaw Installer
WhatsApp automation without the "please accept our new privacy policy".

โœ“ Detected: linux

Install plan
OS: linux
Install method: npm
Requested version: latest
Onboarding: skipped

[1/3] Preparing environment
โœ“ Node.js v25.8.0 found
ยท Active Node.js: v25.8.0 (/home/linuxbrew/.linuxbrew/bin/node)
ยท Active npm: 11.11.0 (/home/linuxbrew/.linuxbrew/bin/npm)

[2/3] Installing OpenClaw
โœ“ Git already installed
ยท Installing OpenClaw v2026.3.2
โœ“ OpenClaw npm package installed
โœ“ OpenClaw installed

[3/3] Finalizing setup

! PATH missing npm global bin dir: /home/hanz/.npm-global/bin
This can make openclaw show as "command not found" in new terminals.
Fix (zsh: ~/.zshrc, bash: ~/.bashrc):
export PATH="/home/hanz/.npm-global/bin:$PATH"

๐Ÿฆž OpenClaw installed successfully (2026.3.2)!
Home sweet home. Don't worry, I won't rearrange the furniture.

ยท Skipping onboard (requested); run openclaw onboard later

FAQ: https://docs.openclaw.ai/start/faq
hanz@hanz-pc:~$ [200~command -v openclaw
[200~command: Befehl nicht gefunden.
hanz@hanz-pc:~$ openclaw --version~
openclaw: Befehl nicht gefunden.
hanz@hanz-pc:~$ openclaw gateway --port 18789
openclaw: Befehl nicht gefunden.
hanz@hanz-pc:~$

karmic notchBOT
#

Perfekt โ€” der Installer hatโ€™s jetzt wirklich installiert, aber genau das steht in der Ausgabe:

PATH missing npm global bin dir: /home/hanz/.npm-global/bin
โ†’ deshalb bleibt openclaw: Befehl nicht gefunden.

Sofort fix (nur fรผr dieses Terminal)

Kopier das einmal:

export PATH="$HOME/.npm-global/bin:$PATH"
command -v openclaw
openclaw --version

Falls openclaw dann immer noch nicht found ist, prรผf kurz ob das Binary da liegt:

#
ls -la ~/.npm-global/bin/openclaw

Dauerhaft fix (damitโ€™s nach Neustart auch passt)

In ~/.bashrc (bei bash) diese Zeile hinzufรผgen:

export PATH="$HOME/.npm-global/bin:$PATH"

Dann Terminal neu รถffnen (oder source ~/.bashrc).

Wenn openclaw --version klappt, kannst du weiter mit z.B.:

#
openclaw onboard --install-daemon

(und falls dann wieder was mit systemctl --user โ€ฆ kommt, paste die genaue Fehlermeldung โ€” jetzt sollten wir an die eigentliche Service-Installation ran kรถnnen).

agile wyvern
#

No
โ”‚
โ—‡ Set ELEVENLABS_API_KEY for sag?
โ”‚ No
โ”‚
โ—‡ Hooks โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ Hooks let you automate actions when agent commands are issued. โ”‚
โ”‚ Example: Save session context to memory when you issue /new or /reset. โ”‚
โ”‚ โ”‚
โ”‚ Learn more: https://docs.openclaw.ai/automation/hooks โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡ Enable hooks?
โ”‚ ๐Ÿ“ command-logger, ๐Ÿ’พ session-memory
โ”‚
โ—‡ Hooks Configured โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ Enabled 2 hooks: command-logger, session-memory โ”‚
โ”‚ โ”‚
โ”‚ You can manage hooks later with: โ”‚
โ”‚ openclaw hooks list โ”‚
โ”‚ openclaw hooks enable <name> โ”‚
โ”‚ openclaw hooks disable <name> โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
Config overwrite: /home/hanz/.openclaw/openclaw.json (sha256 ac100a9204ebdf95c0c0685c4337b583224dc83c5e0aa09e64c7a5d8d017bbdc -> d2c64f0e47bb03bbc9c35be3ad0717c6f0dfca439ca71807ae0f9a8c9e063f7e, backup=/home/hanz/.openclaw/openclaw.json.bak)
โ”‚
โ—‡ Gateway service runtime
โ”‚ Node (recommended)
Error: systemctl is-enabled unavailable: Command failed: systemctl --user is-enabled openclaw-gateway.service
hanz@hanz-pc:~$

karmic notchBOT
#

Das ist super hilfreich โ€” dein Onboarding ist durch, nur die systemd-User-Service-Erkennung/Installation stolpert genau an dem Punkt:

systemctl --user is-enabled openclaw-gateway.service

Wichtig: systemctl is-enabled liefert Exit-Code 1, wenn ein Service einfach nur disabled ist. Das ist normal, aber OpenClaw scheint das gerade als โ€œunavailableโ€ zu behandeln.

1) Bitte einmal den echten systemctl Output posten

systemctl --user is-enabled openclaw-gateway.service; echo "exit=$?"
  • Wenn da disabled steht โ†’ alles ok, Service ist nur noch nicht aktiviert.
  • Wenn da not-found steht โ†’ Unit-Datei wurde nicht geschrieben.

2) Workaround: Service manuell installieren + aktivieren

#
openclaw gateway install --force
systemctl --user daemon-reload
systemctl --user enable --now openclaw-gateway.service
systemctl --user status openclaw-gateway.service --no-pager -n 50
openclaw gateway status

3) Falls not-found: check ob die Unit-Datei existiert

ls -la ~/.config/systemd/user | grep -i openclaw || true

Wenn du mir Output von (1) + ggf. (3) gibst, kann ich dir sagen, ob das โ€œnur disabledโ€ ist oder ob gateway install die Unit gar nicht schreibt (das wรคre dann ein Bug).

waxen relic
#

้€™ๅ€‹ bug ๆ˜ฏๅฆๅทฒๅœจ 2026.3.7 ไธญไฟฎๆญฃ๏ผŸ