Skip to content

Instantly share code, notes, and snippets.

@ohld
Created August 20, 2020 13:34
Show Gist options
  • Save ohld/775c6a3459377aae3c066a2707215d67 to your computer and use it in GitHub Desktop.
Save ohld/775c6a3459377aae3c066a2707215d67 to your computer and use it in GitHub Desktop.
How to update Metabase if it is deployed via Dokku (Docker) and you migrated from default H2 (in my case to Postgres)
# Make sure you migrated from default H2 db to production-ready (like Postgres)
# because otherwise you'll loose data (dashboards, graphs, users)
docker pull metabase/metabase:latest
docker tag metabase/metabase:latest dokku/lu-metabase:latest
dokku tags:deploy lu-metabase
@ohld
Copy link
Author

ohld commented Sep 16, 2020

docker pull metabase/metabase:latest
docker tag metabase/metabase:latest dokku/metabase:latest
dokku tags:deploy metabase

@ohld
Copy link
Author

ohld commented Nov 25, 2022

dokku git:from-image metabase metabase/metabase:latest

@ohld
Copy link
Author

ohld commented Sep 7, 2023

A full guide is here: Run & Update Metabase with Dokku

@ohld
Copy link
Author

ohld commented Sep 7, 2023

2023 guide to update Metabase which was deployed via Dokku:

dokku git:from-image metabase metabase/metabase:latest
dokku ps:rebuild metabase

@ohld
Copy link
Author

ohld commented Apr 6, 2024

2024 Update:

docker pull metabase/metabase:latest
dokku git:from-image metabase metabase/metabase:latest
dokku ps:rebuild metabase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment