OPENCLAW_ALLOW_OLDER_BINARY_DESTRUCTIVE_ACTIONS=1 openclaw gateway install --force
OPENCLAW_ALLOW_OLDER_BINARY_DESTRUCTIVE_ACTIONS=1 openclaw gateway restart
If the service still won’t stay up, it’s probably because service-mode startup also sees the newer meta.lastTouchedVersion. For a quick recovery, run it in the foreground with the same one-command override:
OPENCLAW_ALLOW_OLDER_BINARY_DESTRUCTIVE_ACTIONS=1 openclaw gateway --force
I’d avoid leaving OPENCLAW_ALLOW_OLDER_BINARY_DESTRUCTIVE_ACTIONS=1 permanently in your shell/service env — it’s meant as a seatbelt bypass for downgrade/recovery only.
Also: the 5.7 session context persistence issue is worth filing with the before/after openclaw status --all and a short repro: https://github.com/openclaw/openclaw/issues
Docs for this guard: https://docs.openclaw.ai/gateway/troubleshooting#split-brain-installs-and-newer-config-guard