Skip to content

OpenClaw gateway stopped after an update

A new version of OpenClaw may require migrating its databases before it can serve an AI space. The gateway then refuses to start : the openclaw-gateway unit stays in a failed state, with no restart loop, and the ServiceDown alert is triggered.

On the space host :

Fenêtre de terminal
systemctl status openclaw-gateway # status=78/CONFIG
journalctl -u openclaw-gateway -n 30

The journal indicates the command to run, usually openclaw doctor --fix.

  1. Stop the gateway

    Fenêtre de terminal
    sudo systemctl stop openclaw-gateway
  2. Repair

    Fenêtre de terminal
    openclaw doctor --fix --non-interactive

    doctor backs up each database (*.pre-startup-migration-*.bak) before migrating it.

  3. Restart

    Fenêtre de terminal
    sudo systemctl reset-failed openclaw-gateway
    sudo systemctl start openclaw-gateway