Troubleshooting Guide

OpenClaw Issues

"openclaw command not found"

Solutions:

  1. Check Node.js version:

    node --version

    Must be 22 or higher. If not, upgrade Node.js.

  2. Reinstall OpenClaw:

    curl -fsSL https://openclaw.ai/install.sh | bash
  3. Verify PATH includes openclaw:

    echo $PATH | grep openclaw
  4. Restart your shell:

    source ~/.bashrc   # Linux/macOS
    source ~/.zshrc    # macOS (if using Zsh)

"Control UI won't open"

Solutions:

  1. Check if gateway is running:

    openclaw gateway status
  2. Start it manually:

    openclaw gateway --port 18789
  3. Open http://127.0.0.1:18789/ in your browser

  4. If port 18789 is in use:

    openclaw gateway --port 18790

"Permission denied" errors

Solutions:

  1. Grant permissions:

  2. Run with sudo (not recommended):

  3. Check home directory permissions:


Docker Issues

"Docker image not found"

Solutions:

  1. Verify Docker is running:

  2. Check image name (case-sensitive):

  3. List available images:

  4. Pull the image:

"Cannot connect to Docker daemon"

Solutions:

  1. Start Docker:

    • macOS: Open Docker Desktop

    • Linux: sudo systemctl start docker

    • Windows: Launch Docker Desktop

  2. Check Docker status:

  3. Add user to docker group (Linux):

"Disk space error"

Solutions:

  1. Clean up unused images:

  2. Check available space:

  3. Free up disk space and retry


Lab Issues

"Lab output doesn't match the guide"

This is normal! Environments vary by OS, Docker version, library versions, etc.

What to do:

  1. Compare the structure of your output (same files, similar sizes)

  2. Check for error messages (those matter)

  3. Re-run the command if it failed

  4. Read the lab README.md for environment notes

  5. Check the lab GitHub issues for known issues

"Command not found inside lab"

Solutions:

  1. Verify you're inside the container:

  2. Update package manager:

  3. Install missing dependencies per lab instructions

"Files disappear after exiting container"

Solution: Use volume mount to persist files:


Network Issues

"Cannot reach OpenClaw gateway"

Solutions:

  1. Verify gateway is running and listening:

  2. Check firewall allows port 18789:

  3. Try a different port:


Frequently Asked Issues

Q: My lab runs but produces different output A: This is expected. Compare structure, check for errors, and verify prerequisites.

Q: Files are lost when I exit Docker A: You didn't use -v flag. Use: docker run -it --rm -v $(pwd):/work ...

Q: OpenClaw wizard keeps crashing A: Check ~/.openclaw/logs/ for error details. Try reinstalling.

Q: Discord integration not working A: Ensure OAuth token is valid. Re-authorize in Control UI.


Getting Help

If these solutions don't work:

  1. Check lab GitHub issues: https://github.com/lastcow/innoZverse-docs/issues

  2. Read the official OpenClaw Docsarrow-up-right

  3. Join the community: https://discord.com/invite/clawd

  4. Report a bug with details (OS, versions, error messages)


See Also:

Last updated