XO Docs

Restart the Gateway

Restart the OpenClaw gateway using the dashboard button or the terminal.

Two ways to restart your OpenClaw gateway — the dashboard button (fastest) or the terminal command (gives you logs).

Restart from Dashboard

  1. Open your project on beta.xo.builders and select your agent from the sidebar.

Select your agent

  1. Open the Launch tab.

Open the Launch tab

  1. Click OpenClaw Restart.

Click OpenClaw Restart

  1. Wait for the OpenClaw gateway restarted confirmation.

Gateway restart confirmed

The gateway is now restarting. Wait a minute before opening the gateway again.

Restart from Terminal

  1. Open the Launch tab on your project.

Open the Launch tab

  1. Under Agent Connections, click code-server to open the browser-based VS Code.

Click code-server

  1. Open the terminal with Ctrl + backtick

Open terminal

  1. Run the restart command:
./xo-cowork-api/openclaw.sh restart

Run restart command

  1. Check the output for any errors

Gateway output

  1. Check openclaw-gateway.log for detailed logs if needed

Gateway log file

The terminal method is better for debugging — you can see errors in real time and check log files.

On this page