openclaw-lighthouse

Root VPS recovery: remove camofox-browser and run gateway in tmux when systemctl --user is unavailable

Problem

An OpenClaw agent stayed down for a long time on a root VPS.

Observed symptoms in the same incident:

Why this happens

There are usually two separate issues combined:

  1. Non-bundled plugin risk (likely trigger in this case)
    • camofox-browser is a global plugin and runs extra browser automation code.
    • If that plugin is unstable in your environment, agent reliability can drop.
  2. Root VPS service-manager mismatch
    • openclaw update tries a service restart step.
    • On some root VPS sessions, systemctl --user bus is not available.
    • Restart step fails even when package update itself is OK.

Step-by-step fix

1) Check whether camofox-browser is loaded

openclaw plugins list

If you see camofox-browser loaded and you do not strictly need it, remove it.

2) Uninstall camofox-browser

openclaw plugins uninstall camofox-browser --force
rm -rf ~/.openclaw/extensions/camofox-browser

3) Run update with valid syntax

Do not use -yes (unsupported in this command).

openclaw update

4) If restart fails with systemctl --user unavailable, switch to tmux mode

openclaw gateway stop 2>/dev/null || true
systemctl --user disable --now openclaw-gateway.service 2>/dev/null || true
tmux kill-session -t openclaw 2>/dev/null || true
tmux new -d -s openclaw 'openclaw gateway run --port 18789'

5) Verify health

openclaw gateway status
openclaw channels status --probe
openclaw plugins list

Expected:

Optional checks if it still fails

1) Read latest gateway log:

LOG=$(ls -t /tmp/openclaw/openclaw-*.log | head -1)
tail -n 200 "$LOG"

2) Check tmux session exists:

tmux ls

3) Re-check plugin inventory for unexpected non-bundled plugins:

openclaw plugins list

Validation

Security notes

Upstream status

References

Credits