-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrating from using the H2 database to Postgres error: Database "/data/metabase/metabase.db.h2.db" not found [90013-194] #7221
Comments
I don't know why we haven't put this in the docs. I'll go ahead and do that The DB file part of the command should just be |
Dox fixed in #7233 |
@pobear this is fixed in 0.28.4 which just went out |
This would be great if this was indicated in H2 connection string also. This was not obvious at all when I tried to connect from metabase to the local H2 database, and got this error |
I discovered this facing the same error during migration and sharing what I found: My H2 DB files are in a folder metabase.db which has 2 files metabase.db.mv.db and metabase.db.trace.db inside. When running the migration command, remember to use the metabase.db.mv.db file within the metabase.db folder in your command, so your command will be Or instead copy your metabase.jar into the metabase.db folder and run the migration command directly from there with java -jar metabase.jar load-from-h2 |
@sowmya-mani omg thank you so much. Having a folder named |
copy metabase.jar to the same folder did the trick in 2021 :) thank you! |
Running env
System CentOS 7
Metabase v0.28.1
java version "1.8.0_72"
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)
Migration error logs
The text was updated successfully, but these errors were encountered: