Hosting
Update or roll back
Use the deployment’s maintenance command. Direct hermes update bypasses its approved release pin.
Upgrade
Section titled “Upgrade”- Review the stable release and schema changes.
- Prepare
approved-hermes-release.jsonwith the official repository, version, exact commit and installer SHA-256, matchingconfig/hermes-release.json. - Finish active work. Take and rehearse an off-host backup.
- Copy the reviewed file to the host and run:
sudo martian-hermes upgrade /root/approved-hermes-release.jsonThe command backs up, checks the installer, installs the pin and restarts services. Compare settings, sessions, memory, skills and workspace data; test the dashboard and an actual model/tool call before reopening work.
Rollback
Section titled “Rollback”sudo martian-hermes rollback /srv/hermes/backups/EXACT_TIMESTAMP.tar.gzRollback restores matching code and state. Later work stays in failed-state directories for reconciliation. On a failed restore, leave services stopped for operator recovery.
CDK asset updates do not run these host commands automatically. Ubuntu security updates are separate.