Back to articles

Tag archive

#upgrades

U
Nov 4, 2026

Upgrade a self-hosted Keyright instance safely: migrations, zero downtime, rollback

Upgrading self-hosted Keyright is low-drama because the app is stateless and runs its own schema migrations on startup — no SQL by hand. But you still want a safe procedure: back up Postgres first, stage in non-prod, pin the image tag, and roll one node at a time behind your load balancer. Here is the sequence, including why rollback means restoring the DB backup, not downgrading against a migrated database.

Nov 4, 20267 min read0 reactions0 comments