Fix common issues and resolve problems
Possible causes:
Solutions:
openclaw doctor to check for configuration issuesnode --versionlsof -i :18789 (macOS/Linux)~/.clawdbot/moltbot.jsonnpm install -g openclaw@latestPossible causes:
Solutions:
~/.clawdbot/credentials for stored credentialsopenclaw gateway --verbosePossible causes:
Solutions:
needsScreenRecording: true in tool callsPossible causes:
Solutions:
~/.clawdbot/moltbot.jsonopenclaw agent --message "test"Possible causes:
Solutions:
~/clawd/skills/Error message: "can't reach the openclaw browser control service. start (or restart) the openclaw gateway" or "chrome extension relay is running, but no tab is connected"
Possible causes:
Solutions:
browser.enabled: trueopenclaw gateway restartIssue: OpenClaw shows no output or doesn't respond to messages
Possible causes:
Solutions:
openclaw gateway statusopenclaw gateway restartopenclaw doctor --fixopenclaw channels listopenclaw gateway logsError message: "disconnected (1008): unauthorized: gateway token missing" or "gateway token missing (open a tokenized dashboard url or paste token in control ui settings)"
Possible causes:
Solutions:
openclaw gateway --token YOUR_TOKENError message: "gateway already running pid lock timeout"
Possible causes:
Solutions:
ps aux | grep openclaw (Linux/macOS)rm ~/.clawdbot/gateway.lockkillall openclaw (Linux/macOS)openclaw gateway restartRun openclaw doctor to perform comprehensive health checks:
openclaw doctor [--fix]
Tip: Use openclaw doctor --fix to automatically fix common issues like permission problems, missing directories, and configuration errors.
Enable verbose logging to diagnose issues:
openclaw gateway --verbose
Or set verboseLevel in your configuration file for persistent verbose output.
Log locations:
If the Gateway appears locked or won't start:
~/.clawdbot/gateway.lockrm ~/.clawdbot/gateway.lockIf Gateway is running as a background service:
launchctl list | grep clawdbotsystemctl --user status clawdbotjournalctl -u clawdbot (Linux) or check Console.app (macOS)systemctl --user restart clawdbot (Linux)On Linux, browser control may require additional setup:
sudo apt install chromium-browser (Debian/Ubuntu)If you're still experiencing issues:
openclaw doctor and review all output