#Gateway wont start
1 messages Β· Page 1 of 1 (latest)
openclaw setup is supposed to write gateway.mode=local, so if the error stayed, my guess is one of two things:
gatewayis reading a different config file thansetupwrote, or- you're on an older version with a config-write bug.
Can you paste the output of these 3 commands first?
openclaw --version
openclaw config file
openclaw config get gateway.mode
If gateway.mode comes back empty/unset, force it manually:
openclaw config set gateway.mode local
openclaw config get gateway.mode
openclaw gateway start
If that still fails, paste the exact output from those commands and Iβll narrow it down.
Relevant docs:
- https://docs.openclaw.ai/gateway/troubleshooting
- https://docs.openclaw.ai/cli/config
- https://docs.openclaw.ai/cli/gateway
Small note, --allow-unconfigured is only a temporary bypass, it does not repair the config.
openclaw --version
openclaw config file
openclaw config get gateway.mode
OpenClaw 2026.4.14 (323493f)
π¦ OpenClaw 2026.4.14 (323493f) β iMessage green bubble energy, but for everyone.
~/.openclaw/openclaw.json
π¦ OpenClaw 2026.4.14 (323493f) β Your second brain, except this one actually remembers where you left things.
local
Nice, that helps a lot.
Since openclaw config get gateway.mode already says local, the problem is probably not the current CLI config. The next likely culprit is service/profile drift, meaning the background Gateway is reading a stale config or different state dir.
Can you run these and paste the output?
openclaw gateway status --deep
openclaw config validate
Also, which exact command is failing?
openclaw gateway
# or
openclaw gateway run
# or
openclaw gateway start
That distinction matters:
- If
openclaw gatewayworks, butopenclaw gateway startfails, it is almost certainly the managed service metadata. - If both fail, I want to see what
status --deepsays about the config path/service path.
If status --deep shows the CLI config and service config disagree, the docs-recommended repair is:
openclaw gateway install --force
openclaw gateway restart