Pre-upgrade checklist
Decision required: Choose your deployment strategy - Ledger service or legacy Onboarding/Transaction (v5.x breaking change).
Breaking changes to address
From v4.x: RabbitMQ dependency change
The RabbitMQ chart dependency changed from Bitnami to Groundhog2k. This may lead to PVC data loss. Back up RabbitMQ data before upgrading.
From v5.x: new Ledger service
Choose one of these configurations: Option A: Keep legacy services (gradual migration)DB_ONBOARDING_PASSWORD,DB_TRANSACTION_PASSWORDMONGO_ONBOARDING_PASSWORD,MONGO_TRANSACTION_PASSWORD
Upgrade command
What changes from v3.x
| Change | Source Version | Impact |
|---|---|---|
| RabbitMQ Groundhog2k | v4.x | Requires Erlang cookie, possible PVC data loss |
| BitnamiSecure images | v4.x | PostgreSQL, MongoDB, Valkey use hardened images |
| Official NGINX | v4.x | Review custom NGINX configs |
| Ledger service | v5.x | New unified service (optional but recommended) |
| CRM integration | v5.x | Moves from midaz-plugins to midaz namespace |
Common issues
RabbitMQ fails to start- Ensure the Erlang cookie is set correctly (32+ printable characters, no spaces).
- This is expected due to the v4.x dependency change from Bitnami to Groundhog2k. Export RabbitMQ definitions before upgrading and restore after.
- Verify that all module-specific environment variables and secrets are configured with the new prefixes (
DB_ONBOARDING_*,DB_TRANSACTION_*, etc.).
- Ensure
ledger.enabled: trueandmigration.allowAllServicesis not set totrue.
- Create new secrets with module prefixes:
DB_ONBOARDING_PASSWORDinstead ofDB_PASSWORDDB_TRANSACTION_PASSWORDinstead ofDB_PASSWORDMONGO_ONBOARDING_PASSWORDinstead ofMONGO_PASSWORDMONGO_TRANSACTION_PASSWORDinstead ofMONGO_PASSWORD
- The v4.x upgrade replaced Bitnami NGINX with official NGINX templates. Review the new templates under
templates/console/and update your overrides.

