Update Sandboxes
Update the host CLI first, then check whether existing sandboxes need rebuilds.
The standard installer follows the admin-promoted lkg release tag by default.
If a support workflow asks you to pass the maintained tag explicitly, set NEMOCLAW_INSTALL_TAG on the bash side of the install pipeline.
Before upgrade work, the installer prepares the current NemoClaw CLI without replacing OpenShell and requires a fresh backup of every registered sandbox. If any sandbox is skipped or fails, the installer exits before it changes the gateway.
After the host CLI and OpenShell update, the installer runs nemo-deepagents upgrade-sandboxes --auto to reconcile the existing sandboxes.
If an existing sandbox is not Ready, the automatic path requires a validated latest backup whose sandbox and agent identity match the registry and positive evidence that NemoClaw managed the image.
The installer attempts every eligible recovery, exits with a nonzero status if any recovery fails, and skips generic onboarding after successful recovery.
When a recorded sandbox is not observed in any phase on its recorded gateway, the recovery pass exits 0 but reports the sandbox as not found rather than recovered.
This usually means a prior uninstall removed the gateway and Docker image while preserving sandboxes.json.
The installer finishes with Installation completed with warnings and tells you to run nemo-deepagents <name> destroy, then nemo-deepagents onboard, instead of claiming recovery succeeded.
For a manual update flow, create a snapshot first:
Each rebuild destroys the old container and creates a new one while preserving the manifest-defined workspace or agent state that NemoClaw knows how to snapshot.
upgrade-sandboxes --check can report a sandbox as stale because the running agent version is behind, because the managed NemoClaw image fingerprint differs from the current CLI, or both.
Custom-image sandboxes created with --from <Dockerfile> are not marked stale solely by image fingerprint, so an upgrade check does not accidentally replace them with the default image.
Runtime changes outside the manifest-defined state paths, such as packages installed manually in the running container, are not preserved.
Related Topics
- Create and Restore Snapshots for the preservation contract.
- Recover and Rebuild Sandboxes for manual recreation.
nemo-deepagents updateandnemo-deepagents upgrade-sandboxesfor command flags.