OpenClaw 2026.10.5 landed on October 18 with 2,250 pull requests and 637 contributors. It is a normal release in a very unusual cycle. The 2026.10 line moves credentials, shared state, plugin data, and package layout. Most upgrades finish without drama. The ones that fail usually fail for a boring reason: no verified backup, a skipped dry run, an updater too old to carry the fix, or a panicked downgrade after the database had already migrated.
This is the sequence that avoids all four. It works for a laptop, a home server, a VPS, and a container, with the platform-specific notes called out where they matter.

The short version
- Check what you are running before you touch anything. The CLI, the Gateway service, and your shell can point at different installs.
- Run
openclaw update --dry-runand read the named preflight failures. They are cheaper to fix before the Gateway stops. - Make a verified backup with
openclaw backup create --verify. A config copy is not a backup. - Update during a window, do not interrupt it, then verify with Doctor and a real message, not just a running process.
- If it fails, repair first. Downgrade only when the state did not migrate, or restore the matching backup when it did.

Stage 1: Know what you are actually running
Most “the update broke it” reports start with a version mismatch that existed before the update. Run these three commands and compare the answers:
openclaw --version
openclaw status --json
node -p "process.execPath + ' ' + process.version"
The first line is the CLI you just invoked. The second is the Gateway service, which may target a different installation. In the JSON, compare update.root with gatewayService.layout.packageRootReal. If installationDrift is set, the CLI and the service are not the same install, and an update will either fix that or make it more confusing. The third line tells you which Node the shell uses. The service can use a different one, and the target release checks the service runtime, not your terminal.
On macOS or Linux, type -a openclaw node shows every binary on your PATH. On Windows, use Get-Command openclaw -All and Get-Command node -All. If the first result is not the install you mean to update, stop and fix the path before running anything else.
Install type matters just as much:
- npm, pnpm, or bun global install:
openclaw updateowns the package flow. - Git checkout: the updater builds a candidate and preserves local commits on the dev channel.
- OpenClaw.app or a standalone build: update through the owning app. The CLI refuses to mix artifacts, and it is right to.
- Docker, Podman, Kubernetes: pull the new image and recreate the container with the same state and config mounts.
- System package manager: use that package manager. OpenClaw skips its own replacement when another owner is confirmed.
Stage 2: Pre-flight before the Gateway stops
Start with the release notes and the open issues for the version you are moving to. Then check the boring physical facts: free disk on the state volume and the install volume, service-manager access as the owning account, and whether a second Gateway shares the same package files. A live sibling blocks activation by design, and the updater will not stop it for you.
df -h
openclaw update --dry-run
The dry run validates the target, reports the installation and detected runtime, and names any preflight check that would refuse. An unavailable service manager produces a warning and skips the automatic restart. An ownership refusal is not a warning. Fix the reported mismatch, then rerun. Do not treat a refusal as something to bypass.
Pick a channel on purpose. stable gets the newest release. extended-stable is the LTS-like line, currently 2026.9.33, which packages September features with critical security and reliability fixes. beta and dev are for testing, not for the agent that runs your calendar. If you want fewer surprises, stay on extended-stable and move deliberately. If you want the newest fixes, stay on stable and wait a few days after a release before upgrading.
openclaw update --channel extended-stable --dry-run
openclaw update --channel extended-stable
Stage 3: Make a verified backup
This is the step people skip because the last ten updates worked. The 2026.10 cycle is the wrong cycle to skip it. The updater keeps migration recovery originals and a previous package, but those are not a full-state backup. Automatic config copies are not a full-state backup either.
openclaw backup create --verify
openclaw backup create --output ~/Backups --verify
The verified archive is WAL-aware, which matters because copying a live .sqlite file can miss committed data still sitting in the -wal file. --only-config exports just the root config and not its included files, so it is not a recovery point. If your workspace is huge, --no-include-workspace still captures config, credentials, sessions, and databases, but check what you are excluding before you rely on it.
Keep a copy off the machine. A backup on the same disk survives a bad update and not much else. The offsite flow is:
openclaw storage init offsite
openclaw storage test offsite
openclaw backup create --to offsite --verify
Then verify the archive you just wrote, not the one you remember writing. openclaw backup verify <archive> checks the manifest, every declared payload, and the SQLite snapshots. If that fails, fix it now. You do not want to discover it at 2 a.m. with a stopped Gateway.
Stage 4: Run the update
openclaw update
That is the whole command for a normal install. It validates the target, runs the required Doctor migrations, activates the new build, restarts the service, and verifies the running version. Let it finish. Updates are bounded and designed to be best effort, but interrupting the activation or the service handoff is how a recoverable update becomes a manual repair.
Platform notes worth knowing before you start:
- Windows: a per-user
LeastPrivilegeScheduled Task can be updated from a normal terminal. A task owned by another account, a task that requires highest privileges, or a denied Task Scheduler query needs an elevated terminal. The errorwindows-task-elevation-requiredis telling you exactly that. - Docker and containers: pull or build the new image, then recreate the container with the same state and config mounts. The image entrypoint runs Doctor before starting the Gateway and exits if mounted state cannot be repaired safely.
- OpenClaw.app: use the app updater so the bundled Gateway and runtime move together. The CLI will return the app’s update hint instead of replacing the package.
- Git checkouts: dev updates build a candidate in a temporary worktree and preserve local commits by rebasing. If pnpm or corepack fails to bootstrap, install pnpm manually and rerun.
One caveat that explains a lot of confusing reports: the installed updater runs first, and a newer candidate cannot patch an older updater’s pre-activation behavior. If your current version is far behind, that first hop can hit bugs that are already fixed in the target. The escape hatch is the manual package path, covered in the recovery stage.
Stage 5: Verify, not just “it started”
A running process is not a working agent. Check the runtime, the service, the model route, and one real conversation:
openclaw --version
openclaw health
openclaw doctor
openclaw gateway status --deep --json
openclaw update status
openclaw health checks the Gateway. openclaw doctor checks config, state, migrations, plugins, skills, model auth, channels, and service ownership. gateway status --deep confirms which install the service is actually running, which is the mismatch that started this whole guide. update status reports the outcome of the update and any confirmed driver loss, and names openclaw update repair when that is the next action.
Then send one message through the channel you care about. A Telegram reply, a Discord mention, a CLI turn with a tool call. If the agent answers but every channel is silent, the problem is channel plumbing, not the model. If the model answers in the CLI but not in the Gateway, you are back to the install-drift check.
Only after verification should you retire recovery data:
openclaw update cleanup --dry-run
openclaw update cleanup
Cleanup deletes the retained package and migration originals that make rollback possible. Preview it first, and keep the verified backup until you have lived with the new version for a few days.

Stage 6: When it goes wrong
Match the symptom to the stage where it failed. The wrong fix at the wrong stage is how people turn a refused update into a broken install. One failure deserves its own guide: a Gateway that comes back with redacted secrets or will not start at all. That pattern is covered in fixing an update that broke your OpenClaw config.
It refused before changing anything. This is the good failure. Read the named check. A live Gateway lock, a sibling service, a service-ownership mismatch, a missing package manager, or insufficient disk all have specific fixes. Resolve the one it names and rerun. If the message is gateway-stop-unverified, stop the Gateway through its service owner or openclaw gateway stop, then retry the update.
It stopped partway through. Run openclaw update repair first. If that cannot settle it, run openclaw triage in a terminal on the Gateway host. Triage collects local diagnostics and the failed update record, then offers the first available coding agent (Claude Code, Codex, OpenCode, or Pi) to repair and verify the install. Use openclaw triage --agent codex to choose one, or openclaw triage --non-interactive to collect diagnostics without launching a model.
The updater itself is stuck or cannot repair. For a global npm install, the manual path is:
npm i -g openclaw@<target> --allow-scripts=openclaw
openclaw doctor --fix
openclaw gateway restart
Replace <target> with the version you intend to run, not “latest” unless you mean it. This path does not retain the previous package or run the updater’s recovery workflow, which is why it is the fallback and not the default. On Windows, run the service repair and restart from an elevated terminal if Task Scheduler denies access.
It started, but the release is bad. Automatic rollback only works when the schema did not change. openclaw update --tag <known-good-version> checks compatibility and asks for downgrade confirmation, but a downgrade does not reverse config or database migrations. If state has moved past what the older release can read, the supported recovery is to restore the verified pre-update backup with its matching OpenClaw version, not to edit schema markers. Set OPENCLAW_NO_AUTO_UPDATE=1 in the Gateway environment while you recover so the auto-updater does not immediately reapply the release you just left.
The container will not start. Do not debug the code inside a running container. Recreate it from the previous image with the same mounts, confirm the Gateway starts, then move forward with a fixed image. State lives in the mounts, not in the container layer.
Three things never to do: delete a -wal file to “clean up” a database, hand-edit a schema version to force a downgrade, or restore a pre-update database next to a post-update agent database. Each one turns a recoverable state into a forensic exercise.
Stage 7: Make the next update boring
The operators who never have update incidents are not luckier. They do five things:
- Stay on one channel and move on a schedule, not on a notification.
- Keep at least 20 percent free disk on the state and install volumes.
- Watch state growth between updates, especially session databases and their WAL files.
- Keep one known-good version and its verified backup, and know the exact command to return to it.
- Test a restore once a quarter, on a scratch directory, so the backup is a fact rather than a hope.
The 2026.10 cycle will not be the last one that moves state. The sequence above is deliberately boring: check, back up, dry run, update, verify, then clean up. Boring is the goal. An agent that upgrades quietly is an agent you can leave running.
If the Gateway will not start at all
An update is only one cause of a dead Gateway. The other common ones are a second instance holding the port and a service that is reading a different config than your terminal. Both have specific fixes, and neither requires reinstalling.

