NoBreakAdsBlogMCP Create an account

How to recover OpenBot or Hermes Agent after a VPS restart

After the VPS restarts, open a known file, test the channel and find the last confirmed job before resuming reports.

Document who runs the service, where state persists and which test proves recovery. OpenBot documents a persistent Docker volume. The Hermes Docker guide explains how to mount data for each installation. A systemd restart policy can recover the process. Once it comes back, verify access to the model provider and messaging channel. OpenBot VPS · Hermes Docker · systemd service options

Step by step

Record how the service starts and where it stores data

Use a test VPS with a working OpenBot or Hermes install. Preserve the service definition and a compatible backup of the full data volume. Record how it starts.

OpenBot Compose: sudo docker compose ps
Hermes Docker: docker inspect hermes --format '{{range .Mounts}}{{println .Source .Destination}}{{end}}'

What to check · The service, data volume and harmless marker are identifiable. For Hermes Docker, confirm /opt/data.

If it goes wrong

If you only have workspace files or find a shared state volume, fix the backup and prove recovery on the test host before rebooting.

Check process recovery

After an approved test reboot, confirm the same deployment and data volume return. Use the command appropriate to the installation.

OpenBot: sudo docker compose exec openbot openbot status
Hermes: docker logs --tail 50 hermes
Custom unit: systemctl is-enabled name.service && systemctl status name.service

What to check · The process returns and the marker is present. For systemd, boot enablement and the Restart policy cover different failure modes.

If it goes wrong

If it did not start, inspect logs, boot policy and volume access. Restore a compatible backup after you identify the cause.

Verify access and reconcile pending work

Run one read-only lookup in the test channel with the same profile. Check the channel’s records to see what happened to interrupted jobs before enabling sends again.

Read marker RECOVERY-01 and the pilot account's control row. Reply only in this internal channel.

What to check · The response matches the marker and control row. Pending sends are classified by the last verified state.

If it goes wrong

If the process is back but reads fail, inspect provider and channel access. Route unknown send outcomes for review before retrying.

Put the NoBreakAds MCP to work

After a VPS restart, use NoBreakAds MCP in a supported client to check the test automation’s history. Compare run, period and destination with the last queue record. Resolve unknown states before authorizing a retry. Explore the NoBreakAds MCP · Create an account.

Related guide: How to size a VPS for AI agents with a job queue

Resume with a read-only test

During a planned window, confirm service recovery and reopen a saved workspace file. Run a short lookup and make sure the result comes back through the expected channel. Review interrupted, overdue and unknown-outcome jobs against channel history before re-enabling sends. Restore a backup in a test environment to verify state recovery.

If the gateway is back up and the client read still fails, troubleshoot the MCP query using its ID and timestamp before changing the queue again.

Illustrative scenario

Say the service comes back after maintenance. The oldest job is still marked as started. The team checks the delivery status before reopening the queue.

Frequently asked questions

Does a running process prove recovery?

Also verify persisted state, model access and a response through the intended channel.

What should a backup restore test cover?

Use an isolated environment, a known saved file and a sample lookup. Validate scheduled jobs without enabling real sends.

How should I classify two tasks interrupted by the same restart?

In a simulation, R17 stopped before reading the source and R18 stopped after channel acceptance. On recovery, repeat R17's read and look up R18's receipt by ID. If R18 still has no conclusive state, record the uncertainty and leave the attempt in reconciliation with automatic sends suspended for that case.

Sign up for NoBreakAds and review a report's latest run before your recovery test.

Sources and documentation

Optional measurement

Choose whether we can measure visits and ad performance. Privacy policy.