[SYNC] Origin by Corvus - Version Updates & Rollback Operations
Zero-Downtime Maintenance, Automated Pre-Upgrade Snapshots & Instant Rollback Runbooks
Quantum Tiger (Morning Bay Technology Pvt. Ltd.)
Air-gapped update philosophy: You control when, where, and what updates to deploy.
Docs Hub - User GUIDE - Install - Backups
Update Architecture & Automated Safeguards
Origin by Corvus treats updates with extreme caution. The update pipeline automatically snapshots database state, validates new images, and triggers an automated rollback if post-update health checks fail:
Update Command (Single Line)
Update your production deployment using the built-in operations CLI:
# Linux / macOS (e.g., updating to v1.1.0)
sudo ./install.sh update v1.1.0
# Or using the Linux PATH convenience command:
origin-update v1.1.0
# Windows Server (PowerShell)
.\install.ps1 update v1.1.0
Interactive Operations Menu: You can also run
sudo ./install.sh(or.\install.ps1) without arguments and select Option 4 (Update to a new version). For rollbacks, select Option 5 (Rollback to previous version) or runsudo ./install.sh rollback/origin-rollback.
Terminal Update Walkthrough (Click to Expand)
$ sudo ./install.sh update v1.1.0
[INFO] Current version: v1.0.0
[INFO] Current image: git.projectdefcorp.com/quantum-tiger/origin-corvus:v1.0.0
[INFO] Authenticating with Gitea registry using secure credentials...
[[OK]] Registry authentication successful
[INFO] Pulling new image: git.projectdefcorp.com/quantum-tiger/origin-corvus:v1.1.0
[[OK]] Image pulled successfully
[INFO] Creating pre-update database and volume snapshot...
[[OK]] Snapshot created: /opt/origin/backups/pre-update-1705312200.dump
[INFO] Applying updated configuration and restarting Origin container...
[[OK]] Container recreated with new image
[INFO] Performing post-update health checks (timeout: 120 seconds)...
[[OK]] Origin application server responded HTTP 200 OK
[[OK]] Origin by Corvus successfully updated to v1.1.0!
Instant Rollback Runbook (Zero Panic)
If a newly deployed version encounters unexpected issues or conflicts with internal network policies, roll back instantly to the previous stable release:
1. Automated One-Command Rollback
# Linux / macOS
sudo ./install.sh rollback
# Windows Server (PowerShell)
.\install.ps1 rollback
2. Manual Emergency Rollback Sequence
If the CLI tool is inaccessible, execute this raw Docker Compose sequence:
cd /opt/origin
# 1. Inspect previous image tag
cat PREV_IMAGE
# 2. Revert docker-compose.yml to previous image
sed -i "s|image: .*origin-corvus.*|image: $(cat PREV_IMAGE)|" docker-compose.yml
# 3. Recreate the Origin container
docker compose up -d --no-deps origin
# 4. If database schema was modified, restore pre-update database dump
docker compose exec -T postgres pg_restore -U origin_user -d origin_db --clean < $(ls -t backups/pre-update-*.dump | head -n1)
# 5. Verify healthy status
docker compose exec -T origin curl -fsS http://localhost:8065/api/v4/system/ping
Sovereign Update Guarantees
- Zero Phone-Home Checks: Origin by Corvus never queries external servers to check for updates.
- Client-Controlled Deployment: Your IT staff determines when maintenance windows occur.
- Isolated Binary Bundles: All prepackaged plugins are updated synchronously with the server image, eliminating version mismatch issues.