One command
upgrade downloads the newest release of the binary from the update
feed, verifies its SHA-256 checksum against the release manifest,
installs it, and restarts the installed service into it. Skip the
restart with --no-restart (the running daemon keeps its old binary
until ohd restart).
ohd status also notes when a newer release is available, so a
routine health check doubles as an update check.
Unattended upgrades
Opt in with the update setting (daemon stopped, like every offline setting change):Docker
Container deployments upgrade by pulling a newer image tag instead — see Docker & Compose.ohd upgrade is for the
native binaries.
If an upgrade goes wrong
- A checksum mismatch aborts cleanly before anything is installed:
checksum mismatch for <asset> — expected <sha256>, got <actual>; not installing. - A feed outage fails the command, not the daemon:
could not reach the update feed at <url> — check your network and try again. - The previous binary keeps running until the restart, and state is snapshot-able independently of the binary version.