Upgrade & Migration Guide
Upgrade is a backup problem first and a package problem second. Official September notes are explicit: rolling back the application does not restore your conversations or agent data.
Atomic Updates (from v2026.9.5)
On supported update paths, Atomic Updates check the next version before switching over. That reduces “half installed” binaries. It does not:
- Guarantee Doctor can migrate huge compressed conversation archives (fixed later in v2026.10.9, but only after you are on a build that contains the fix).
- Preserve untracked Git edits if an older updater rolls back badly (also tightened in 10.9).
- Replace a backup you took yourself.
Recommended upgrade path
- Record
openclaw --versionand keep the output with the backup. - Back up the config directory from
openclaw doctorplus any custom skills. Backup & Restore. - Read notes for the target version on docs.openclaw.ai/releases. For a jump from H1 2026, also read OpenClaw 2.0.
- Upgrade the way you installed: npm global package, official install script, or Docker image. Re-run the same path; do not mix them on one data directory.
- Restart the Gateway. Run
openclaw doctorandopenclaw config validate. - Send one test message on a non-critical channel.
Aim for current stable (as of this writing, v2026.10.9) rather than hopping through every 10.x patch by hand. Security changes in 10.9 are collected on the October patch page.
When not to upgrade from the UI
If disk is full, if Doctor already reports damaged search indexes, or if you are in the middle of a long conversation archive, free space and back up first. v2026.10.9 lets agents accept writes again after you free disk, without restarting the Gateway, once cleanup succeeds—it will not replay interrupted writes.
Migrating from Moltbot or Clawd
OpenClaw is the later name. Config keys moved. Reuse API keys via environment variables. Reinstall skills from ClawHub rather than copying old plugin folders blindly. Channel tokens usually still work; verify against channel docs.