-
-
Notifications
You must be signed in to change notification settings - Fork 205
Upgrades and Rollback
Treat an upgrade as an application, schema, configuration, and operational change—even for a small version bump.
- Read release notes between the deployed and target versions.
- Record the current version, image digest/commit, configuration, and health.
- Run the repository deployment validation for source deployments.
- Create a verified database backup outside the active volume.
- Confirm rollback tooling and the previous image are available.
- Choose a quiet window because the single writer may be briefly unavailable.
- Health endpoint succeeds.
- Exactly one dashboard writer is active.
- Database integrity and representative reads succeed.
- UI and WebSocket authenticate correctly.
- A controlled provider session is ingested.
- Prometheus scrapes and Grafana panels recover.
- Remote sources resume syncing.
- No unexpected migration or permission errors appear in logs.
Rollback is appropriate when the new application is unhealthy, cannot ingest, has a severe UI/API regression, or violates the persistence contract. Preserve logs and a post-failure backup before changing state when safe.
The supported production helper backs up first:
./deployments/scripts/rollback.sh \
--env production \
--method helm \
--namespace agent-monitor-productionApplication rollback and database restore are separate decisions. Do not restore an older database merely because an older image is deployed; that discards newer history. Restore data only when compatibility or corruption analysis requires it.
For source installs, keep local changes in source control and rebuild from a known commit. For packaged desktop apps, preserve the external app-data directory and verify the new bundle reads the existing history. Never delete data directories as a routine upgrade step.
Canonical commands: Deployment reference.
Start Here · Localized product Wiki · Repository · Releases · Security · Report an issue
Guidance tracks the current master branch. For a deployed release, consult the repository documentation at that release tag before changing configuration.
CCAM Handbook
Use CCAM
- Read the dashboard
- Sessions and agents
- Kanban and tasks
- Tokens and costs
- Run agents
- Personal settings
Operate CCAM
- Deployment guide
- Hook health
- Security
- Backups and retention
- Prometheus and Grafana
- Remote machines
- Upgrades and rollback
- Incident runbooks
Automate and extend
- CLI patterns
- MCP workflows
- Alerts and webhooks
- Dynamic workflows
- Skills and plugins
- Safe config explorer
- Integration patterns
Help