Upgrade Procedures
How to upgrade your Oore CI instance to a new version.
Before upgrading
- Read the release notes for the target version
- Create and verify a backup (see Backup and Restore)
- Check for breaking changes in the changelog
Upgrade steps
Installed release update
oore updateThe updater creates a pre-update backup, stages the verified release inside the install root, atomically replaces release files, reloads active launchd daemon/local-web services, and rolls back the release if readiness fails. Use /healthz for liveness and /readyz for database, migration, and encryption-runtime readiness.
WARNING
This hardening release must be installed with the current installer. An already-installed older updater cannot be made retroactively atomic or rollback-safe.
Source checkout update
cd /path/to/Oore CI
git fetch origin
git checkout <target-version-tag>2. Rebuild
cargo build --release -p oored
cargo build --release -p oore
bun install
make build-web3. Stop the daemon
Stop the running oored process.
4. Start the new version
./target/release/oored runThe daemon handles any necessary database migrations automatically on startup.
5. Verify
curl http://127.0.0.1:8787/healthz
curl http://127.0.0.1:8787/readyz
curl http://127.0.0.1:8787/v1/public/setup-statusCheck the daemon logs for any migration messages or errors.
Rollback
If the upgrade causes issues:
- Stop the daemon
- Restore the backup (see Backup and Restore)
- Check out the previous version:
git checkout <previous-version> - Rebuild and restart
WARNING
Database migrations are generally forward-only. Restoring a backup after a migration revert is the safest rollback approach.