I got below error after dumping mysql data to H2 and then using load-from-H2
Logs for Dump and Load Method ->
Metabase Enterprise Edition extensions are NOT PRESENT. 2024-11-20 11:18:40,289 INFO driver.impl :: Registered abstract driver :metabase.driver.sql-jdbc.execute.legacy-impl/use-legacy-classes-for-read-and-set 🚚 2024-11-20 11:18:40,298 INFO driver.impl :: Registered abstract driver :metabase.driver.sql.query-processor.empty-string-is-null/empty-string-is-null 🚚 2024-11-20 11:18:40,715 INFO cmd.copy :: Set up h2 source database and run migrations... 2024-11-20 11:18:40,717 INFO db.setup :: Verifying h2 Database Connection ... 2024-11-20 11:18:42,020 INFO db.setup :: Successfully verified H2 2.1.214 (2022-06-13) application database connection. ✅ 2024-11-20 11:18:42,490 INFO db.setup :: Checking if a database downgrade is required... 2024-11-20 11:18:42,645 INFO liquibase.database :: Set default schema name to PUBLIC 2024-11-20 11:18:43,486 INFO liquibase :: Parsed changelog file 'liquibase.yaml' 2024-11-20 11:18:44,072 INFO db.setup :: Running Database Migrations... 2024-11-20 11:18:44,182 INFO db.setup :: Setting up Liquibase... 2024-11-20 11:18:44,190 INFO liquibase.database :: Set default schema name to PUBLIC 2024-11-20 11:18:44,459 INFO liquibase :: Parsed changelog file 'liquibase.yaml' 2024-11-20 11:18:44,482 INFO db.liquibase :: Updating liquibase table to reflect consolidated changeset filenames 2024-11-20 11:18:44,528 INFO liquibase.lockservice :: Successfully acquired change log lock 2024-11-20 11:18:44,530 INFO db.liquibase :: No migration lock found. 2024-11-20 11:18:44,531 INFO db.liquibase :: Migration lock acquired. 2024-11-20 11:18:44,592 INFO liquibase.lockservice :: Successfully released change log lock 2024-11-20 11:18:44,593 INFO db.setup :: Liquibase is ready. 2024-11-20 11:18:44,594 INFO db.liquibase :: Checking if Database has unrun migrations... 2024-11-20 11:18:44,632 INFO liquibase.database :: Set default schema name to PUBLIC 2024-11-20 11:18:44,976 INFO liquibase :: Parsed changelog file 'liquibase.yaml' 2024-11-20 11:18:45,002 INFO liquibase.changelog :: Reading from "PUBLIC"."DATABASECHANGELOG" 2024-11-20 11:18:45,325 INFO db.liquibase :: No unrun migrations found. 2024-11-20 11:18:45,906 INFO db.setup :: Database Migrations Current ... ✅ 2024-11-20 11:18:45,909 INFO metabase.util :: Database setup took 5.2 s 2024-11-20 11:18:45,910 INFO cmd.copy :: [OK] 2024-11-20 11:18:45,912 INFO cmd.copy :: Set up postgres target database and run migrations... 2024-11-20 11:18:45,912 INFO db.setup :: Verifying postgres Database Connection ... 2024-11-20 11:18:46,345 INFO db.setup :: Successfully verified PostgreSQL 14.12 application database connection. ✅ 2024-11-20 11:18:46,346 INFO db.setup :: Checking if a database downgrade is required... 2024-11-20 11:18:46,385 INFO liquibase.database :: Set default schema name to metabase 2024-11-20 11:18:46,610 INFO liquibase :: Parsed changelog file 'liquibase.yaml' 2024-11-20 11:18:46,620 INFO liquibase.changelog :: Creating database history table with name: metabase.databasechangelog 2024-11-20 11:18:46,687 INFO db.setup :: Running Database Migrations... 2024-11-20 11:18:46,688 INFO db.setup :: Setting up Liquibase... 2024-11-20 11:18:46,698 INFO liquibase.database :: Set default schema name to metabase 2024-11-20 11:18:46,859 INFO liquibase :: Parsed changelog file 'liquibase.yaml' 2024-11-20 11:18:46,894 INFO db.liquibase :: Updating liquibase table to reflect consolidated changeset filenames 2024-11-20 11:18:46,907 INFO liquibase.lockservice :: Successfully acquired change log lock 2024-11-20 11:18:46,909 INFO db.liquibase :: No migration lock found. 2024-11-20 11:18:46,909 INFO db.liquibase :: Migration lock acquired. 2024-11-20 11:18:46,917 INFO liquibase.lockservice :: Successfully released change log lock 2024-11-20 11:18:46,919 INFO db.setup :: Liquibase is ready. 2024-11-20 11:18:46,919 INFO db.liquibase :: Checking if Database has unrun migrations... 2024-11-20 11:18:46,937 INFO liquibase.database :: Set default schema name to metabase 2024-11-20 11:18:47,098 INFO liquibase :: Parsed changelog file 'liquibase.yaml' 2024-11-20 11:18:47,134 INFO liquibase.changelog :: Reading from metabase.databasechangelog 2024-11-20 11:18:47,531 INFO db.liquibase :: Database has unrun migrations. Checking if migration lock is taken... 2024-11-20 11:18:47,544 INFO liquibase.lockservice :: Successfully acquired change log lock 2024-11-20 11:18:47,546 INFO db.liquibase :: No migration lock found. 2024-11-20 11:18:47,546 INFO db.liquibase :: Migration lock acquired. 2024-11-20 11:18:47,553 INFO liquibase.database :: Set default schema name to metabase 2024-11-20 11:18:47,688 INFO liquibase :: Parsed changelog file 'liquibase.yaml' 2024-11-20 11:18:47,708 INFO liquibase.changelog :: Reading from metabase.databasechangelog 2024-11-20 11:18:47,789 INFO db.liquibase :: Running 420 migrations ... 2024-11-20 11:18:47,903 INFO liquibase.changelog :: Reading from metabase.databasechangelog 2024-11-20 11:18:48,038 INFO liquibase.command :: Using deploymentId: 2101528038 2024-11-20 11:18:48,042 INFO liquibase.changelog :: Reading from metabase.databasechangelog 2024-11-20 11:18:48,181 INFO liquibase.snapshot :: Creating snapshot 2024-11-20 11:18:48,527 WARN liquibase.executor :: extension "citext" already exists, skipping 2024-11-20 11:18:50,127 INFO liquibase.changelog :: SQL in file initialization/metabase_postgres.sql executed 2024-11-20 11:18:50,133 INFO liquibase.changelog :: ChangeSet migrations/001_update_migrations.yaml::v00.00-000::qnkhuat ran successfully in 1954ms 2024-11-20 11:18:50,166 INFO liquibase.changelog :: Table action created 2024-11-20 11:18:50,169 INFO liquibase.changelog :: ChangeSet migrations/001_update_migrations.yaml::v45.00-001::snoe ran successfully in 26ms 2024-11-20 11:18:50,190 ERROR liquibase.changelog :: ChangeSet migrations/001_update_migrations.yaml::v45.00-002::snoe encountered an exception. liquibase.exception.DatabaseException: ERROR: relation "metabase.report_card" does not exist [Failed SQL: (0) CREATE TABLE "metabase"."query_action" ("action_id" INTEGER NOT NULL, "card_id" INTEGER NOT NULL, CONSTRAINT "fk_query_action_ref_card_id" FOREIGN KEY ("card_id") REFERENCES "metabase"."report_card"("id") ON DELETE CASCADE, CONSTRAINT "fk_query_action_ref_action_id" FOREIGN KEY ("action_id") REFERENCES "metabase"."action"("id") ON DELETE CASCADE)]