OpenClaw operations guide

OpenClaw Gateway fails on NFS with SQLite snapshot cleanup errors

If OpenClaw 2026.11.2 reports ENOTEMPTY on a .sqlite-publish-* directory during Doctor or Gateway startup, check whether that path is on NFS. OpenClaw 2026.11.5 fixes this snapshot cleanup error. Leave the database and its sidecars in place and test the fixed release on a verified backup restored to equivalent storage.

Last updated · Published

By CWYN · Reviewed November 18, 2026 against OpenClaw 2026.11.5

1. Check where the service writes state

Record the installed build, service owner and state path used by the Gateway. Where status output is available, compare the CLI and service configuration with openclaw gateway status --deep. Check the mount type for the actual state directory, the update capture directory and the cleanup path in the error, inside the container if that is where the service runs. Gateway runbook

2. Match the snapshot cleanup signature

Look for ENOTEMPTY on a snapshot staging directory, such as .sqlite-publish-*, alongside Doctor’s snapshot error or the Gateway’s shared-state read-scope failure. The November incident report observed this on 2026.11.2 with NFS-backed state. Preserve the first error and its path. A generic SQLite integrity or lock error calls for separate diagnosis.

3. Confirm the release addresses that error

The 2026.11.5 changelog includes a fix for NFS snapshot-directory cleanup. The fix notes describe when cleanup can be deferred after a verified snapshot. Leave the database, SQLite sidecars and any busy .nfs* entries in place. Escalate any integrity or snapshot verification failure separately.

4. Rehearse with a verified backup

Use the backup and verification commands for the installed build. If the failing build cannot produce a verified backup, recover a known-good archive with the service owner before attempting another migration. In a separate environment on equivalent storage, restore the archive, disable external delivery and test the fixed build against that restored state.

5. Verify the service and retained state

In the rehearsal, check that Doctor and Gateway startup complete, that a known recent conversation is readable and that a fresh backup verifies. Record the actual mount type and whether cleanup completed or left only a warning. Agree on the maintenance window and the verified recovery point with the service owner before applying the change to the active Gateway.

If the Gateway starts but edits you make with Claude Code still skip formatting, check which edits trigger the formatter hook.

Get your free CWYN Score to choose your next setup improvement.

Next steps

Check retained memory after recovery

The OpenClaw Complete Setup Pack ($14.95) is an optional paid kit with a fresh-session recall test for checking workspace memory after the Gateway is running again.
Kit details as of Nov 18, 2026