Skip to content

Upgrades & Rollback

Stop the service, swap the binary, start the service. The data/ directory is forward-compatible across point releases by design — schema migrations, when they happen, are documented in release notes. The zen CLI automates the swap:

Terminal window
zen app update \
--url https://artifacts.example.com/zenvara-linux-x64.tar.gz \
--sha256 <hash>

--sha256 is optional but strongly recommended — it pins the artifact and prevents man-in-the-middle replacement during the download.

Flow YAML carries version: "1.0.0" for forward-compat; only the major version is checked at load time. A platform upgrade that bumps the major is flagged by the validator output before promotion, so you find these at staging time, not at production runtime.

The two are decoupled by design — you can roll back a config without touching the binary, or vice versa.

Terminal window
zen app rollback

Reverts to the previous artifact. The data/ directory is unchanged, so a restart picks up the previous version’s behaviour. Use when an upgrade breaks something. ~2 minutes of downtime, no data loss.

When Git versioning is enabled, every connection / environment / flow change is committed automatically. Reverting is one call:

Terminal window
zen versions revert <ref>

…or the version-revert REST endpoint. Use when a config change broke a flow. Zero downtime.

SymptomActionDowntime
New binary misbehaveszen app rollback~2 min
A flow/connection edit broke a pipelinezen versions revertnone
Bad data stateRestore from backupvaries

Write and rehearse a runbook entry for “binary rollback” before go-live — it’s on the checklist.