# Upgrade and Rollback

<!-- BOOKSTACK-DOCUMENT-RELEASE:BEGIN -->
# Upgrade and Rollback

| Field | Value |
| --- | --- |
| Distribution | WCT English — OpenC5ISR |
| Product | OpenC5ISR |
| Release | 0.15.1 |
| Deployment | `openc5isr-en.wallacecorptech.com` |
| Source | `/srv/wct/releases/OpenC5ISR-v0.15.0` |
| Evidence | Lifecycle pattern and optional release comparison |
| Source fingerprint | `63d2b1097707e25d666401cdc6362e395968600a40a08690210cd8c0b75fbf50` |
| Status | Generated baseline — human review required |

> **Verification boundary:** This page combines platform design guidance with static evidence from the release. It does not prove that every detected interface is enabled, reachable, secure, or operational in the deployed environment.

## Pre-upgrade gate

- Previous release path and rollback command are known and tested.
- Database/configuration migrations are identified, backed up and reversible or explicitly irreversible.
- External interfaces and dependent modules have compatibility expectations recorded.
- A maintenance/communications plan exists for user-visible interruption.
- Acceptance tests and responsible reviewer are assigned.

## Upgrade sequence

```text
backup → stage new release → install/validate dependencies → migrate if required
→ switch active release → restart affected services → smoke/acceptance tests
→ observe → approve or roll back
```

## Rollback sequence

```text
stop traffic/affected service → restore compatible data/config if required
→ repoint active release → restart → validate local/public endpoints
→ record incident and preserve failed-release evidence
```

## Release-specific comparison

No previous release was supplied. Run with `--compare /path/to/previous-release` to generate a static change inventory.
<!-- BOOKSTACK-DOCUMENT-RELEASE:END -->

---

## Maintainer Notes

<!-- BOOKSTACK-DOCUMENT-RELEASE:NOTES-BEGIN -->
Add human-reviewed deployment notes, corrections, decisions, screenshots, and links here. Content outside the generated block is preserved on future runs.
<!-- BOOKSTACK-DOCUMENT-RELEASE:NOTES-END -->