ssh clawbox@YOUR_BOX_IP) unless noted.
Which edition am I on?
cat /etc/clawbox/edition.env — it prints CLAWBOX_EDITION=openclaw,
hermes or dual. Several commands below differ by edition, and running the OpenClaw ones on a
Hermes box is at best a no-op.A — Reset the password (10 seconds, no data loss)
For “the box works but won’t accept my password” (browser and/or SSH):This option assumes you can still open a terminal on the box. If the password is simply
forgotten — nothing to type into SSH either — see
Forgot the Password for the paths that work without a
terminal.
sudo), then the new password twice. Both SSH and the browser login use the new password immediately — no restart needed. Use a simple ASCII password (letters/digits/simple symbols) to avoid keyboard-encoding mismatches between the terminal and the browser.
B — Restart the services (30 seconds, no data loss)
For a box that’s reachable over SSH but the web page or assistant is unresponsive. OpenClaw / dual edition:systemctl restart clawbox-gateway fails with Unit clawbox-gateway.service is masked. Restart the
Hermes units instead:
http://YOUR_BOX_IP. If it recurs, capture the logs above before the
next restart.
C — Safe reinstall (10–15 minutes, no data loss)
The universal fix for a half-finished update, stale build, or mysteriously broken web app. Rebuilds the entire software stack from the official release, keeping all your data:install.sh finish completely — it prints numbered steps and ends on [N/N], where N depends on your edition (hermes and dual boxes run one provisioning step more than openclaw) — then reboot. The box is back in ~2 minutes.
Why this works when a normal update didn’t:
install.sh refreshes everything — the app build, your edition’s agent core (the pinned OpenClaw version, or the Hermes edition steps), the systemd service files, and system packages. It reads /etc/clawbox/edition.env on every run and skips the steps that do not belong to your edition, so it cannot convert a Hermes box into an OpenClaw one. Partial updates (a bare git pull, an interrupted updater) can leave those out of sync.main; CLAWBOX_BRANCH keeps a box on its own channel.
D — Factory reset (wipes everything)
Three things deliberately survive, because a reset box comes back up in hotspot mode with no
internet and could not re-download them:
data/network.envanddata/llamacpp/models/— the offline on-device model weights (several GB).~/.hermes/hermes-agent/and the whole of~/.hermes/bin/on the Hermes edition — the agent checkout and its Python venv (~/.local/bin/hermesis a shim that execs the interpreter inside it), plus everything inbin/, which is where the agent installstirith, the pre-exec shell scanner it runs every command past. The scanner is downloaded from a GitHub release on first use, so a box that lost it and has no internet runs commands unscanned. The reset keepsbin/entire rather than filtering it down totirith: nothing on the device has an authoritative inventory of that directory, so removing its other entries could brick a box with no internet to restore them.~/.cache/huggingfacevoice models (only thetoken/stored_tokenscredential files are removed).
data/cloudflared/device-id
is deleted, but it is re-derived from /etc/machine-id, so a reset box reappears in the ClawBox
portal as the same device.From the UI (preferred)
Open Settings → System → Factory reset (also offered at the end of the setup wizard). The device wipes itself and reboots into the ClawBox-Setup hotspot. This is the only path that performs the complete wipe described above — prefer it whenever you can still log in.Over SSH (when you can’t log in to the UI)
Run the steps in order. Everything up to the last block is non-destructive to connectivity, so if a step fails you can stop and retry without stranding the box.1
Stop whatever could write during the wipe
On Hermes:On OpenClaw / dual — the gateway has
Restart=always, so mask it first or systemd brings it
straight back mid-wipe. The --runtime mask lives in /run and disappears on the reboot at the
end:2
Wipe device state, keeping the two entries the UI reset keeps
3
Wipe agent state
~/.hermes is where a Hermes box keeps its config.yaml (billing token, dashboard signing
secret, password hash), .env (provider keys), auth.json (OAuth tokens), memories/,
sessions/, skills/, pairing/ and its SQLite state. Skipping this step is what leaves a
resold box carrying the previous owner’s credentials.4
Wipe previous-owner state in the home directory
~/.ssh matters most: without it, the previous owner’s authorized_keys would still let them
back in after the password reset below.5
Delete downloaded Ollama models
Ollama’s models live under
/usr/share/ollama, outside the home wipe, and the service is often
stopped — start it so the deletes land:6
Last: drop the network, reset the password, reboot
The UI reset additionally re-seeds
~/.openclaw/openclaw.json with a fresh random gateway token and
resets the mDNS hostname to clawbox. Neither is needed for a safe wipe — the first-boot wizard
regenerates both — so they are left out of the SSH path.After the reset
1
Join the setup hotspot
Wait ~2 minutes, then connect your phone or laptop to the ClawBox-Setup Wi-Fi network.
2
Open the wizard
Browse to
http://10.42.0.1. If a login is requested, the password is clawbox.3
Run through setup
Wi-Fi → new password → AI provider → Telegram — the same flow as First Boot.

