From Midaz 3.x onwards, dedicated migration-runner images (
midaz-ledger-migrations, midaz-tracer-migrations) apply the schema migrations before the app rollout. The apps no longer migrate at startup. Local make up and the official Helm chart wire this up automatically. See Database migrations for details.Updating Midaz locally
If you’re running Midaz locally for development or testing, follow these steps to update your environment:
1. Stop the running containers
Shut down all running services before making updates. This ensures a clean restart with the latest updates. To stop the containers via the terminal, follow these steps:1
Open your terminal and navigate to the
midaz directory.2
Run the stop command:
2. (Optional) Clean up unused Docker resources
Cleaning up unused resources frees disk space, removes stale Docker cache layers, and prevents conflicts from outdated images, containers, and volumes. To remove unused images and containers:3. Update your local codebase
Fetch the latest changes from the repository to ensure you’re working with the most recent version:4. Rebuild and restart Midaz
Rebuild necessary Docker images and relaunch the application locally with the latest updates:Updating Midaz with Helm
For deployments using Helm, use the following commands based on your needs.
Fresh installation
Perform a fresh installation when you set up Midaz for the first time or when you need a clean deployment.Install Midaz Helm with a custom values file
Use this method if you have specific configuration requirements defined invalues.yaml:
Install Midaz Helm with default values
Use this method to install Midaz using the default Helm chart values:Updating an existing deployment
If you already deployed Midaz, use these commands to upgrade to a new version while preserving configurations.Updating Midaz Helm with a custom values file
Ensure that custom configurations remain intact while applying the update:Updating Midaz Helm with default values
Use this command if you do not need to apply custom configurations:Managing the Helm release
Use these commands to check and manage your Midaz Helm deployment.
List installed releases
List all Helm releases in themidaz namespace, along with their status and version:

