> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.nexushosts.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Gateway stuck on restarting

When you're running ClawMagic sometimes you can be hit with the screen like below. When that happens, SSH into your VPS and run the following commands.

![](https://storage.crisp.chat/users/helpdesk/website/-/1/e/6/c/1e6c49e0d02dca00/image_1unl6s5.png)



Run these commands: 
```
  sudo systemctl stop clawmagic
  mv /opt/clawmagic/state/cron/jobs.json /opt/clawmagic/state/cron/jobs.json.bak
  sudo systemctl start clawmagic
```


This issue is caused by the ClawMagic CronJob running before the main ClawMagic service starts, preventing the daemon from starting correctly.