openclaw-lighthouse

openclaw update reports ERROR after version changes, then gateway restart fails with systemctl --user unavailable

Summary

A user upgraded OpenClaw from 2026.2.17 to 2026.2.22-2 with openclaw update.

The update output still reported Update Result: ERROR even though the version changed successfully. Right after that, openclaw gateway restart failed with:

Gateway service check failed: Error: systemctl --user unavailable: Failed to connect to bus: No medium found

This looks like two linked operational problems:

  1. updater result is confusing/possibly false-negative in global npm installs
  2. service restart command assumes a user-systemd bus that is not available in this runtime

Environment

Reproduction

  1. Confirm current version:
    • openclaw --version
  2. Run update:
    • openclaw update
  3. Confirm version again:
    • openclaw --version
  4. Try service restart:
    • openclaw gateway restart

Expected vs actual

Findings

  1. The update path likely used global npm (Reason: global update) and produced many deprecation warnings.
  2. Version changed successfully, so ERROR may be a false-negative or partial-failure classification.
  3. openclaw gateway restart is a service-manager action and requires supported init/service context.
  4. In root/container/no-user-bus environments, systemctl --user can fail with No medium found.

Mitigation / Workaround

  1. If gateway restart fails with missing user bus, run foreground mode directly:
    • openclaw gateway run
  2. If you need managed service restart, use an environment with supported service manager (systemd user service available).
  3. After update, verify final state with:
    • openclaw --version
    • openclaw gateway status
  4. Capture logs for diagnosis:
    • openclaw logs --follow

Risk / Impact

Next actions

References