Przejdź do głównej zawartości

Upgrade Checklist

Step-by-step checklist for upgrading Ever Gauzy versions.

Pre-Upgrade

  • Read release notes — Check changelog for breaking changes
  • Backup database — Full pg_dump before any upgrade
  • Test on staging — Never upgrade production first
  • Check Node.js version — Verify compatible Node.js version
  • Review migration files — Check for new database migrations
  • Review env changes — Check for new/renamed environment variables
  • Notify team — Announce maintenance window

During Upgrade

1. Pull Latest Code

git fetch origin
git checkout v1.X.X # or latest tag

2. Install Dependencies

yarn install --frozen-lockfile

3. Run Migrations

# TypeORM
yarn typeorm migration:run

# MikroORM
npx mikro-orm migration:up

4. Build

yarn build:api
yarn build

5. Deploy

# Docker
docker compose pull
docker compose up -d

# Kubernetes
kubectl set image deployment/gauzy-api api=ghcr.io/ever-co/gauzy-api:v1.X.X

Post-Upgrade

  • Verify healthcurl /api/health
  • Check logs — No unexpected errors
  • Test key features — Login, time tracking, invoicing
  • Monitor metrics — Error rates, response times
  • Verify data — Spot-check recent records
  • Update documentation — If internal docs reference version

Rollback Plan

If issues found:

  1. Revert database migrations
  2. Deploy previous image/tag
  3. Verify service health
  4. Investigate root cause

See Rollback Strategies for details.