Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/metabase/metabase/llms.txt

Use this file to discover all available pages before exploring further.

This guide covers how to upgrade to a new Metabase release, whether you’re running in the cloud or self-hosting.
Before upgrading, review the release notes and changelog for breaking changes and new features.

Metabase Cloud upgrades

If you’re on a Metabase Cloud plan, upgrades are handled automatically. No action is needed on your end.

Upgrade timeline

How quickly your Cloud instance is upgraded depends on the release type:
  • Minor releases (e.g., v54.4 to v54.5): Usually within about one week
  • Major releases (e.g., v53.x to v54.x): Usually several months to ensure stability

Request an early upgrade

Cloud customers can request an early upgrade by emailing help@metabase.com with your Metabase URL.
Embedding SDK users: If you’re using the modular embedding SDK on Metabase Cloud, your version is pinned to prevent automatic upgrades. You must request an upgrade after testing compatibility.

Self-hosted upgrade process

1

Back up your application database

The application database stores all your Metabase content (questions, dashboards, users, settings). Always create a backup before upgrading.
# PostgreSQL backup
pg_dump -h localhost -U username -d metabase -F c -b -v -f metabase_backup.dump

# MySQL backup  
mysqldump -u username -p metabase > metabase_backup.sql
Learn more about backing up Metabase
2

Stop your current Metabase

docker stop metabase
3

Get the new version

Pull the latest image (or a specific version tag):
# Open Source
docker pull metabase/metabase:v0.54.1

# Pro/Enterprise
docker pull metabase/metabase-enterprise:v0.54.1
Always use specific version tags (like v0.54.1) instead of latest for production deployments.
4

Start the new version

Start the new container with the same configuration:
docker run -d -p 3000:3000 \
  -e "MB_DB_TYPE=postgres" \
  -e "MB_DB_DBNAME=metabase" \
  -e "MB_DB_PORT=5432" \
  -e "MB_DB_USER=username" \
  -e "MB_DB_PASS=password" \
  -e "MB_DB_HOST=postgres-host" \
  --name metabase \
  metabase/metabase:v0.54.1
Metabase will automatically perform database migrations on startup.
5

Verify the upgrade

  • Check the logs for successful startup
  • Visit your Metabase URL
  • Verify the version number in the admin panel
  • Test a few dashboards and queries

Upgrade paths for older versions

If you’re running Metabase older than version 40, you must upgrade incrementally through each major version.

Required upgrade path

For versions older than Metabase 40:
1

Upgrade to latest v39

First upgrade to the latest v1.39.x release
2

Upgrade to latest v40

Then upgrade to the latest v1.40.x release
3

Upgrade to current version

Now you can upgrade directly to the latest version
Example upgrade path from v38:
  • v1.38.x → v1.39.4 → v1.40.7 → v0.54.1 (latest)

Best practices for major version upgrades

When upgrading between major versions (e.g., v53 to v54):
  • Use the latest minor version of each major release
  • Test the upgrade in a staging environment first
  • Review the changelog for breaking changes
  • Allow extra time for database migrations

Understanding migrations

During an upgrade, Metabase may need to modify its application database schema:

Major version upgrades

Major version upgrades (e.g., v53.x to v54.x) typically:
  • Perform automatic database schema migrations
  • May take several minutes depending on data volume
  • Cannot be easily downgraded (restore from backup instead)
  • Keep all metadata and content intact

Minor version upgrades

Minor version upgrades (e.g., v54.1 to v54.2):
  • Usually require no migrations
  • Start up immediately
  • Can be downgraded more easily (but still back up first)
Never interrupt Metabase during database migrations. This can corrupt your application database, requiring a restore from backup.

Rolling back an upgrade

The safest way to roll back is to restore your application database from the backup you created before upgrading:
pg_restore -h localhost -U username -d metabase -v metabase_backup.dump
Then start your previous Metabase version.

Using migrate down (advanced)

The migrate down command must be run using the newer version’s JAR, not the version you’re rolling back to.
If you need to keep changes made after upgrading:
export MB_DB_TYPE=postgres
export MB_DB_DBNAME=metabase
export MB_DB_PORT=5432
export MB_DB_USER=username
export MB_DB_PASS=password
export MB_DB_HOST=localhost
java --add-opens java.base/java.nio=ALL-UNNAMED -jar metabase.jar migrate down
After the migration completes, start the older version.

Upgrading a cluster

If you’re running Metabase in a cluster with multiple nodes:
1

Scale down to single node

Reduce your cluster to just one node. Multiple nodes during upgrade can cause schema conflicts.
2

Perform the upgrade

Upgrade the single node following the standard process above.
3

Scale back up

Once the upgrade is complete and verified, scale back to your original number of nodes.
Ensure your orchestrator doesn’t kill the Metabase process during migrations, or you may corrupt the application database.

Platform-specific upgrade guides

Azure Web Apps

Special instructions for Azure deployments

AWS Elastic Beanstalk

Update your application version in EB console

Upgrade checklist

Before upgrading:
  • Read the release notes and changelog
  • Back up your application database
  • Test the upgrade in a staging environment (if available)
  • Schedule the upgrade during a maintenance window
  • Notify users of planned downtime
  • Verify you have the correct database connection details
After upgrading:
  • Verify Metabase starts successfully
  • Check logs for errors
  • Test critical dashboards and queries
  • Verify integrations still work
  • Monitor performance for the first few hours

Troubleshooting

Upgrade fails to start

  1. Check the logs for error messages
  2. Verify database connection settings
  3. Ensure the application database is accessible
  4. Check for disk space issues

Migration takes too long

Some upgrades with large databases may take 10-30 minutes:
  • Don’t interrupt the process
  • Monitor logs for progress
  • Check database CPU and disk I/O

Version mismatch errors

If you see version mismatch errors:
  1. Ensure all cluster nodes are the same version
  2. Clear browser cache
  3. Verify you’re using the correct JAR/image

Next steps

Backing up Metabase

Set up automated backup procedures

Environment variables

Configure your Metabase installation

Release notes

View detailed release notes on GitHub

Changelog

Browse all Metabase changes