I am trying to upgrade from 0.54.1 to 0.59.2 on a DEV server running Eclipse Adoptium 25.0.2.10 and MySQL 8.0.45. The database is a restored backup from a running instance for full disclosure.
Here is the complete log dump when i try and run it - I am assuming I have something wrong, I just can’t see it
:
2026-03-16 20:55:29,791 INFO metabase.util :: Maximum memory available to JVM: 1.3 GB
2026-03-16 20:55:31,323 INFO util.encryption :: Saved credentials encryption is DISABLED for this Metabase instance.
For more information, see Redirecting…
2026-03-16 20:55:37,684 INFO driver.impl :: Registered abstract driver :sql
2026-03-16 20:55:37,726 INFO driver.impl :: Registered abstract driver :sql-jdbc (parents: [:sql])
2026-03-16 20:55:37,736 INFO driver.impl :: Registered abstract driver :metabase.driver.sql.query-processor.like-escape-char-built-in/like-escape-char-built-in
2026-03-16 20:55:37,746 INFO driver.impl :: Registered driver :h2 (parents: [:sql-jdbc :metabase.driver.sql.query-processor.like-escape-char-built-in/like-escape-char-built-in])
2026-03-16 20:55:37,786 INFO driver.impl :: Registered driver :mysql (parents: [:sql-jdbc :metabase.driver.sql.query-processor.like-escape-char-built-in/like-escape-char-built-in])
2026-03-16 20:55:37,817 INFO driver.impl :: Registered driver :postgres (parents: [:sql-jdbc])
2026-03-16 20:55:38,269 INFO core.core ::
Metabase v0.59.2.6 (d2a5450)
Copyright © 2026 Metabase, Inc.
Metabase Enterprise Edition extensions are NOT PRESENT.
2026-03-16 20:55:38,274 INFO core.core :: Starting Metabase in STANDALONE mode
2026-03-16 20:55:38,377 INFO server.instance :: Launching Embedded Jetty Webserver with config:
{:port 8082, :send-server-version? false}
2026-03-16 20:55:38,433 INFO core.core :: Starting Metabase version v0.59.2.6 (d2a5450) ...
2026-03-16 20:55:38,436 INFO core.core :: System info:
{"file.encoding" "UTF-8",
"java.runtime.name" "OpenJDK Runtime Environment",
"java.runtime.version" "25.0.2+10-LTS",
"java.vendor" "Eclipse Adoptium",
"java.vendor.url" "https://adoptium.net/",
"java.version" "25.0.2",
"java.vm.name" "OpenJDK 64-Bit Server VM",
"java.vm.version" "25.0.2+10-LTS",
"os.name" "Windows Server 2025",
"os.version" "10.0",
"user.language" "en",
"user.timezone" "America/Los_Angeles"}
2026-03-16 20:55:38,440 INFO plugins.impl :: Loading plugins in plugins...
2026-03-16 20:55:38,718 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :athena...
2026-03-16 20:55:38,721 INFO driver.impl :: Registered driver :athena (parents: [:sql-jdbc])
2026-03-16 20:55:38,736 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :bigquery-cloud-sdk...
2026-03-16 20:55:38,737 INFO driver.impl :: Registered driver :bigquery-cloud-sdk (parents: [:sql])
2026-03-16 20:55:38,747 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :clickhouse...
2026-03-16 20:55:38,748 INFO driver.impl :: Registered driver :clickhouse (parents: [:sql-jdbc])
2026-03-16 20:55:38,758 INFO plugins.dependencies :: Plugin 'Metabase Databricks Driver' depends on plugin 'Metabase Hive Like Abstract Driver'
2026-03-16 20:55:38,761 INFO plugins.dependencies :: Metabase Databricks Driver dependency {:plugin Metabase Hive Like Abstract Driver} satisfied? false
2026-03-16 20:55:38,762 INFO plugins.dependencies :: Plugins with unsatisfied deps: ["Metabase Databricks Driver"]
2026-03-16 20:55:38,772 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :druid-jdbc...
2026-03-16 20:55:38,774 INFO driver.impl :: Registered driver :druid-jdbc (parents: [:sql-jdbc])
2026-03-16 20:55:38,785 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :druid...
2026-03-16 20:55:38,791 INFO driver.impl :: Registered driver :druid
2026-03-16 20:55:38,807 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :hive-like...
2026-03-16 20:55:38,808 INFO driver.impl :: Registered abstract driver :hive-like (parents: [:sql-jdbc])
2026-03-16 20:55:38,810 INFO plugins.dependencies :: Metabase Databricks Driver dependency {:plugin Metabase Hive Like Abstract Driver} satisfied? true
2026-03-16 20:55:38,812 DEBUG plugins.initialize :: Dependencies satisfied; these plugins will now be loaded: ["Metabase Databricks Driver"]
2026-03-16 20:55:38,813 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :databricks...
2026-03-16 20:55:38,814 INFO driver.impl :: Registered driver :databricks (parents: [:hive-like])
2026-03-16 20:55:38,821 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :mongo...
2026-03-16 20:55:38,821 INFO driver.impl :: Registered driver :mongo
2026-03-16 20:55:38,830 INFO plugins.dependencies :: Metabase cannot initialize plugin Metabase Oracle Driver due to required dependencies. Metabase requires the Oracle JDBC driver in order to connect to Oracle databases, but we can't ship it as part of Metabase due to licensing restrictions. See Redirecting… for more details.
2026-03-16 20:55:38,831 INFO plugins.dependencies :: Metabase Oracle Driver dependency {:class oracle.jdbc.OracleDriver} satisfied? false
2026-03-16 20:55:38,832 INFO plugins.dependencies :: Plugins with unsatisfied deps: ["Metabase Oracle Driver"]
2026-03-16 20:55:38,841 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :presto-jdbc...
2026-03-16 20:55:38,841 INFO driver.impl :: Registered driver :presto-jdbc (parents: [:sql-jdbc])
2026-03-16 20:55:38,847 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :redshift...
2026-03-16 20:55:38,848 INFO driver.impl :: Registered driver :redshift (parents: [:postgres])
2026-03-16 20:55:38,864 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :snowflake...
2026-03-16 20:55:38,865 INFO driver.impl :: Registered driver :snowflake (parents: [:sql-jdbc])
2026-03-16 20:55:38,871 INFO plugins.dependencies :: Plugin 'Metabase Spark SQL Driver' depends on plugin 'Metabase Hive Like Abstract Driver'
2026-03-16 20:55:38,872 INFO plugins.dependencies :: Metabase Spark SQL Driver dependency {:plugin Metabase Hive Like Abstract Driver} satisfied? true
2026-03-16 20:55:38,873 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :sparksql...
2026-03-16 20:55:38,874 INFO driver.impl :: Registered driver :sparksql (parents: [:hive-like])
2026-03-16 20:55:38,881 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :sqlite...
2026-03-16 20:55:38,883 INFO driver.impl :: Registered driver :sqlite (parents: [:sql-jdbc])
2026-03-16 20:55:38,887 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :sqlserver...
2026-03-16 20:55:38,888 INFO driver.impl :: Registered driver :sqlserver (parents: [:sql-jdbc])
2026-03-16 20:55:38,897 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :starburst...
2026-03-16 20:55:38,899 INFO driver.impl :: Registered driver :starburst (parents: [:sql-jdbc])
2026-03-16 20:55:38,907 INFO plugins.dependencies :: Metabase cannot initialize plugin Metabase Vertica Driver due to required dependencies. Metabase requires the Vertica JDBC driver in order to connect to Vertica databases, but we can't ship it as part of Metabase due to licensing restrictions. See Redirecting… for more details.
2026-03-16 20:55:38,920 INFO plugins.dependencies :: Metabase Vertica Driver dependency {:class com.vertica.jdbc.Driver} satisfied? false
2026-03-16 20:55:38,921 INFO plugins.dependencies :: Plugins with unsatisfied deps: ["Metabase Oracle Driver" "Metabase Vertica Driver"]
2026-03-16 20:55:38,928 INFO core.core :: Setting up and migrating Metabase DB. Please sit tight, this may take a minute...
2026-03-16 20:55:38,931 INFO app-db.setup :: Verifying mysql Database Connection ...
2026-03-16 20:55:39,051 INFO app-db.setup :: Successfully verified MySQL 8.0.45 application database connection.
2026-03-16 20:55:39,052 INFO app-db.setup :: Checking if a database downgrade is required...
2026-03-16 20:55:39,207 INFO liquibase.changelog :: Reading resource: migrations/001_update_migrations.yaml
2026-03-16 20:55:39,542 INFO liquibase.changelog :: Reading resource: migrations/056_update_migrations.yaml
2026-03-16 20:55:39,557 INFO liquibase.changelog :: Reading resource: migrations/057_update_migrations.yaml
2026-03-16 20:55:39,593 INFO liquibase.changelog :: Reading resource: migrations/058_update_migrations.yaml
2026-03-16 20:55:39,607 INFO liquibase.changelog :: Reading resource: migrations/059_update_migrations.yaml
2026-03-16 20:55:39,657 INFO liquibase :: Parsed changelog file 'liquibase.yaml'
2026-03-16 20:55:39,754 INFO app-db.setup :: Running Database Migrations...
2026-03-16 20:55:39,756 INFO app-db.setup :: Setting up Liquibase...
2026-03-16 20:55:39,763 INFO liquibase.changelog :: Reading resource: migrations/001_update_migrations.yaml
2026-03-16 20:55:39,852 INFO liquibase.changelog :: Reading resource: migrations/056_update_migrations.yaml
2026-03-16 20:55:39,861 INFO liquibase.changelog :: Reading resource: migrations/057_update_migrations.yaml
2026-03-16 20:55:39,879 INFO liquibase.changelog :: Reading resource: migrations/058_update_migrations.yaml
2026-03-16 20:55:39,888 INFO liquibase.changelog :: Reading resource: migrations/059_update_migrations.yaml
2026-03-16 20:55:39,918 INFO liquibase :: Parsed changelog file 'liquibase.yaml'
2026-03-16 20:55:39,945 INFO app-db.liquibase :: Updating liquibase table to reflect consolidated changeset filenames
2026-03-16 20:55:39,948 INFO liquibase.logging :: Successfully acquired change log lock
2026-03-16 20:55:39,949 INFO app-db.liquibase :: No migration lock found.
2026-03-16 20:55:39,950 INFO app-db.liquibase :: Migration lock acquired.
2026-03-16 20:55:39,968 INFO liquibase.logging :: Successfully released change log lock
2026-03-16 20:55:39,969 INFO app-db.setup :: Liquibase is ready.
2026-03-16 20:55:39,970 INFO app-db.liquibase :: Checking if Database has unrun migrations...
2026-03-16 20:55:39,981 INFO liquibase.changelog :: Reading resource: migrations/001_update_migrations.yaml
2026-03-16 20:55:40,087 INFO liquibase.changelog :: Reading resource: migrations/056_update_migrations.yaml
2026-03-16 20:55:40,096 INFO liquibase.changelog :: Reading resource: migrations/057_update_migrations.yaml
2026-03-16 20:55:40,116 INFO liquibase.changelog :: Reading resource: migrations/058_update_migrations.yaml
2026-03-16 20:55:40,125 INFO liquibase.changelog :: Reading resource: migrations/059_update_migrations.yaml
2026-03-16 20:55:40,174 INFO liquibase :: Parsed changelog file 'liquibase.yaml'
2026-03-16 20:55:40,206 INFO liquibase.changelog :: Reading from metabasedev.databasechangelog
2026-03-16 20:55:40,475 WARN liquibase.changelog :: Due to mysql SQL limitations, modifyDataType will lose primary key/autoincrement/not null/comment settings explicitly redefined in the change. Use or to re-specify all configuration if this is the case
2026-03-16 20:55:40,476 WARN liquibase.changelog :: Due to mysql SQL limitations, setNullable will lose primary key/autoincrement/not null/comment settings explicitly redefined in the change. Use or to re-specify all configuration if this is the case
2026-03-16 20:55:40,502 INFO app-db.liquibase :: Database has unrun migrations. Checking if migration lock is taken...
2026-03-16 20:55:40,504 INFO liquibase.logging :: Successfully acquired change log lock
2026-03-16 20:55:40,505 INFO app-db.liquibase :: No migration lock found.
2026-03-16 20:55:40,505 INFO app-db.liquibase :: Migration lock acquired.
2026-03-16 20:55:40,512 INFO liquibase.changelog :: Reading resource: migrations/001_update_migrations.yaml
2026-03-16 20:55:40,603 INFO liquibase.changelog :: Reading from metabasedev.databasechangelog
2026-03-16 20:55:40,618 INFO liquibase.changelog :: Reading resource: migrations/056_update_migrations.yaml
2026-03-16 20:55:40,624 INFO liquibase.changelog :: Reading resource: migrations/057_update_migrations.yaml
2026-03-16 20:55:40,643 INFO liquibase.changelog :: Reading resource: migrations/058_update_migrations.yaml
2026-03-16 20:55:40,652 INFO liquibase.changelog :: Reading resource: migrations/059_update_migrations.yaml
2026-03-16 20:55:40,683 INFO liquibase :: Parsed changelog file 'liquibase.yaml'
2026-03-16 20:55:40,699 INFO liquibase.changelog :: Reading from metabasedev.databasechangelog
2026-03-16 20:55:40,803 WARN liquibase.changelog :: Due to mysql SQL limitations, modifyDataType will lose primary key/autoincrement/not null/comment settings explicitly redefined in the change. Use or to re-specify all configuration if this is the case
2026-03-16 20:55:40,804 WARN liquibase.changelog :: Due to mysql SQL limitations, setNullable will lose primary key/autoincrement/not null/comment settings explicitly redefined in the change. Use or to re-specify all configuration if this is the case
2026-03-16 20:55:40,824 INFO app-db.liquibase :: Running 390 migrations ...
2026-03-16 20:55:41,041 WARN liquibase.changelog :: Due to mysql SQL limitations, modifyDataType will lose primary key/autoincrement/not null/comment settings explicitly redefined in the change. Use or to re-specify all configuration if this is the case
2026-03-16 20:55:41,042 WARN liquibase.changelog :: Due to mysql SQL limitations, setNullable will lose primary key/autoincrement/not null/comment settings explicitly redefined in the change. Use or to re-specify all configuration if this is the case
2026-03-16 20:55:41,056 INFO liquibase.command :: Using deploymentId: 3719731600
2026-03-16 20:55:41,062 INFO liquibase.changelog :: Reading from metabasedev.databasechangelog
2026-03-16 20:55:41,210 ERROR liquibase.changelog :: ChangeSet migrations/001_update_migrations.yaml::v53.2025-04-02T15:25:04::edpaget encountered an exception.
liquibase.exception.DatabaseException: (conn=168) Table 'metabase_cluster_lock' already exists [Failed SQL: (1050) CREATE TABLE metabasedev.metabase_cluster_lock (lock_name VARCHAR(254) NOT NULL COMMENT 'a single column that can be used to a lock across a cluster', CONSTRAINT PK_METABASE_CLUSTER_LOCK PRIMARY KEY (lock_name)) COMMENT='A table to allow metabase instances to take locks across a cluster' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;]
at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:520)
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:85)
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:188)
at liquibase.executor.AbstractExecutor.execute(AbstractExecutor.java:148)
at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1198)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:816)
at liquibase.changelog.visitor.UpdateVisitor.executeAcceptedChange(UpdateVisitor.java:127)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:71)
at liquibase.changelog.ChangeLogIterator.lambda$run$0(ChangeLogIterator.java:133)
at liquibase.Scope.lambda$child$0(Scope.java:216)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:215)
at liquibase.Scope.child(Scope.java:194)
at liquibase.changelog.ChangeLogIterator.lambda$run$1(ChangeLogIterator.java:122)
at liquibase.Scope.lambda$child$0(Scope.java:216)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:215)
at liquibase.Scope.child(Scope.java:194)
at liquibase.Scope.child(Scope.java:282)
at liquibase.Scope.child(Scope.java:286)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:91)
at liquibase.command.core.AbstractUpdateCommandStep.lambda$run$0(AbstractUpdateCommandStep.java:114)
at liquibase.Scope.lambda$child$0(Scope.java:216)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:215)
at liquibase.Scope.child(Scope.java:194)
at liquibase.command.core.AbstractUpdateCommandStep.run(AbstractUpdateCommandStep.java:112)
at liquibase.command.core.UpdateCommandStep.run(UpdateCommandStep.java:100)
at liquibase.command.CommandScope.lambda$execute$6(CommandScope.java:263)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:201)
at liquibase.command.CommandScope.execute(CommandScope.java:251)
at liquibase.Liquibase.lambda$update$0(Liquibase.java:216)
at liquibase.Scope.lambda$child$0(Scope.java:216)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:215)
at liquibase.Scope.child(Scope.java:194)
at liquibase.Liquibase.runInScope(Liquibase.java:1366)
at liquibase.Liquibase.update(Liquibase.java:205)
at liquibase.Liquibase.update(Liquibase.java:188)
at liquibase.Liquibase.update(Liquibase.java:175)
at metabase.app_db.liquibase$migrate_up_if_needed_BANG_$fn__50156.invoke(liquibase.clj:380)
at metabase.app_db.liquibase$run_in_scope_locked$reify__50140.run(liquibase.clj:345)
at liquibase.Scope.lambda$child$0(Scope.java:216)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:215)
at liquibase.Scope.child(Scope.java:194)
at metabase.app_db.liquibase$run_in_scope_locked.invokeStatic(liquibase.clj:338)
at metabase.app_db.liquibase$run_in_scope_locked.invoke(liquibase.clj:321)
at metabase.app_db.liquibase$migrate_up_if_needed_BANG_.invokeStatic(liquibase.clj:369)
at metabase.app_db.liquibase$migrate_up_if_needed_BANG_.invoke(liquibase.clj:362)
at metabase.app_db.setup$migrate_BANG_$fn__50370.invoke(setup.clj:89)
at metabase.app_db.liquibase$do_with_liquibase$f_STAR___50030.invoke(liquibase.clj:140)
at metabase.app_db.liquibase$do_with_liquibase.invokeStatic(liquibase.clj:143)
at metabase.app_db.liquibase$do_with_liquibase.invoke(liquibase.clj:130)
at metabase.app_db.setup$migrate_BANG_.invokeStatic(setup.clj:78)
at metabase.app_db.setup$migrate_BANG_.doInvoke(setup.clj:59)
at clojure.lang.RestFn.invoke(RestFn.java:428)
at metabase.app_db.setup$run_schema_migrations_BANG_.invokeStatic(setup.clj:193)
at metabase.app_db.setup$run_schema_migrations_BANG_.invoke(setup.clj:188)
at metabase.app_db.setup$setup_db_BANG_$fn__50530$fn__50531.invoke(setup.clj:211)
at metabase.util.jvm$do_with_us_locale.invokeStatic(jvm.clj:251)
at metabase.util.jvm$do_with_us_locale.invoke(jvm.clj:237)
at metabase.app_db.setup$setup_db_BANG_$fn__50530.invoke(setup.clj:205)
at metabase.app_db.setup$setup_db_BANG_.invokeStatic(setup.clj:204)
at metabase.app_db.setup$setup_db_BANG_.invoke(setup.clj:197)
at metabase.app_db.core$setup_db_BANG_$fn__50751.invoke(core.clj:123)
at metabase.app_db.core$setup_db_BANG_.invokeStatic(core.clj:118)
at metabase.app_db.core$setup_db_BANG_.doInvoke(core.clj:105)
at clojure.lang.RestFn.invoke(RestFn.java:424)
at metabase.core.core$init_BANG__STAR_.invokeStatic(core.clj:180)
at metabase.core.core$init_BANG__STAR_.invoke(core.clj:157)
at metabase.core.core$init_BANG_.invokeStatic(core.clj:236)
at metabase.core.core$init_BANG_.invoke(core.clj:230)
at metabase.core.core$start_normally.invokeStatic(core.clj:256)
at metabase.core.core$start_normally.invoke(core.clj:248)
at metabase.core.core$entrypoint.invokeStatic(core.clj:291)
at metabase.core.core$entrypoint.doInvoke(core.clj:282)
at clojure.lang.RestFn.invoke(RestFn.java:400)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.RestFn.applyTo(RestFn.java:135)
at clojure.lang.Var.applyTo(Var.java:707)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$apply.invoke(core.clj:662)
at metabase.core.bootstrap$main.invokeStatic(bootstrap.clj:36)
at metabase.core.bootstrap$main.doInvoke(bootstrap.clj:29)
at clojure.lang.RestFn.invoke(RestFn.java:400)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.RestFn.applyTo(RestFn.java:135)
at metabase.core.bootstrap.main(Unknown Source)
Caused by: java.sql.SQLSyntaxErrorException: (conn=168) Table 'metabase_cluster_lock' already exists
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:158)
at org.mariadb.jdbc.MariaDbStatement.executeExceptionEpilogue(MariaDbStatement.java:262)
at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:362)
at org.mariadb.jdbc.MariaDbStatement.execute(MariaDbStatement.java:500)
at com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)
at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:512)
... 89 more
Caused by: org.mariadb.jdbc.internal.util.exceptions.MariaDbSqlException: Table 'metabase_cluster_lock' already exists
at org.mariadb.jdbc.internal.util.exceptions.MariaDbSqlException.of(MariaDbSqlException.java:34)
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.exceptionWithQuery(AbstractQueryProtocol.java:195)
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:263)
at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:356)
... 92 more
Caused by: java.sql.SQLException: Table 'metabase_cluster_lock' already exists
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readErrorPacket(AbstractQueryProtocol.java:1693)
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readPacket(AbstractQueryProtocol.java:1555)
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1518)
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:257)
... 93 more
2026-03-16 20:55:41,234 INFO liquibase.util :: UPDATE SUMMARY
2026-03-16 20:55:41,235 INFO liquibase.util :: Run: 0
2026-03-16 20:55:41,236 INFO liquibase.util :: Previously run: 517
2026-03-16 20:55:41,236 INFO liquibase.util :: Filtered out: 10
2026-03-16 20:55:41,236 INFO liquibase.util :: -------------------------------
2026-03-16 20:55:41,237 INFO liquibase.util :: Total change sets: 917
2026-03-16 20:55:41,237 INFO liquibase.util :: FILTERED CHANGE SETS SUMMARY
2026-03-16 20:55:41,237 INFO liquibase.util :: DBMS mismatch: 10
2026-03-16 20:55:41,242 INFO liquibase.util :: Update summary generated
2026-03-16 20:55:41,248 INFO liquibase.command :: Update command encountered an exception.
2026-03-16 20:55:41,250 INFO liquibase.logging :: Successfully released change log lock
2026-03-16 20:55:41,253 INFO liquibase.command :: Logging exception.
2026-03-16 20:55:41,254 INFO liquibase.command :: Command execution complete
2026-03-16 20:55:42,297 ERROR core.core :: Metabase Initialization FAILED
liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset migrations/001_update_migrations.yaml::v53.2025-04-02T15:25:04::edpaget:
Reason: liquibase.exception.DatabaseException: (conn=168) Table 'metabase_cluster_lock' already exists [Failed SQL: (1050) CREATE TABLE metabasedev.metabase_cluster_lock (lock_name VARCHAR(254) NOT NULL COMMENT 'a single column that can be used to a lock across a cluster', CONSTRAINT PK_METABASE_CLUSTER_LOCK PRIMARY KEY (lock_name)) COMMENT='A table to allow metabase instances to take locks across a cluster' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;]
at liquibase.command.CommandScope.lambda$execute$6(CommandScope.java:310)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:201)
at liquibase.command.CommandScope.execute(CommandScope.java:251)
at liquibase.Liquibase.lambda$update$0(Liquibase.java:216)
at liquibase.Scope.lambda$child$0(Scope.java:216)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:215)
at liquibase.Scope.child(Scope.java:194)
at liquibase.Liquibase.runInScope(Liquibase.java:1366)
at liquibase.Liquibase.update(Liquibase.java:205)
at liquibase.Liquibase.update(Liquibase.java:188)
at liquibase.Liquibase.update(Liquibase.java:175)
at metabase.app_db.liquibase$migrate_up_if_needed_BANG$fn__50156.invoke(liquibase.clj:380)
at metabase.app_db.liquibase$run_in_scope_locked$reify__50140.run(liquibase.clj:345)
at liquibase.Scope.lambda$child$0(Scope.java:216)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:215)
at liquibase.Scope.child(Scope.java:194)
at metabase.app_db.liquibase$run_in_scope_locked.invokeStatic(liquibase.clj:338)
at metabase.app_db.liquibase$run_in_scope_locked.invoke(liquibase.clj:321)
at metabase.app_db.liquibase$migrate_up_if_needed_BANG.invokeStatic(liquibase.clj:369)
at metabase.app_db.liquibase$migrate_up_if_needed_BANG_.invoke(liquibase.clj:362)
at metabase.app_db.setup$migrate_BANG_$fn__50370.invoke(setup.clj:89)
at metabase.app_db.liquibase$do_with_liquibase$f_STAR___50030.invoke(liquibase.clj:140)
at metabase.app_db.liquibase$do_with_liquibase.invokeStatic(liquibase.clj:143)
at metabase.app_db.liquibase$do_with_liquibase.invoke(liquibase.clj:130)
at metabase.app_db.setup$migrate_BANG_.invokeStatic(setup.clj:78)
at metabase.app_db.setup$migrate_BANG_.doInvoke(setup.clj:59)
at clojure.lang.RestFn.invoke(RestFn.java:428)
at metabase.app_db.setup$run_schema_migrations_BANG_.invokeStatic(setup.clj:193)
at metabase.app_db.setup$run_schema_migrations_BANG_.invoke(setup.clj:188)
at metabase.app_db.setup$setup_db_BANG_$fn__50530$fn__50531.invoke(setup.clj:211)
at metabase.util.jvm$do_with_us_locale.invokeStatic(jvm.clj:251)
at metabase.util.jvm$do_with_us_locale.invoke(jvm.clj:237)
at metabase.app_db.setup$setup_db_BANG_$fn__50530.invoke(setup.clj:205)
at metabase.app_db.setup$setup_db_BANG_.invokeStatic(setup.clj:204)
at metabase.app_db.setup$setup_db_BANG_.invoke(setup.clj:197)
at metabase.app_db.core$setup_db_BANG_$fn__50751.invoke(core.clj:123)
at metabase.app_db.core$setup_db_BANG_.invokeStatic(core.clj:118)
at metabase.app_db.core$setup_db_BANG_.doInvoke(core.clj:105)
at clojure.lang.RestFn.invoke(RestFn.java:424)
at metabase.core.core$init_BANG__STAR_.invokeStatic(core.clj:180)
at metabase.core.core$init_BANG__STAR_.invoke(core.clj:157)
at metabase.core.core$init_BANG_.invokeStatic(core.clj:236)
at metabase.core.core$init_BANG_.invoke(core.clj:230)
at metabase.core.core$start_normally.invokeStatic(core.clj:256)
at metabase.core.core$start_normally.invoke(core.clj:248)
at metabase.core.core$entrypoint.invokeStatic(core.clj:291)
at metabase.core.core$entrypoint.doInvoke(core.clj:282)
at clojure.lang.RestFn.invoke(RestFn.java:400)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.RestFn.applyTo(RestFn.java:135)
at clojure.lang.Var.applyTo(Var.java:707)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$apply.invoke(core.clj:662)
at metabase.core.bootstrap$_main.invokeStatic(bootstrap.clj:36)
at metabase.core.bootstrap$_main.doInvoke(bootstrap.clj:29)
at clojure.lang.RestFn.invoke(RestFn.java:400)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.RestFn.applyTo(RestFn.java:135)
at metabase.core.bootstrap.main(Unknown Source)
Caused by: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset migrations/001_update_migrations.yaml::v53.2025-04-02T15:25:04::edpaget:
Reason: liquibase.exception.DatabaseException: (conn=168) Table 'metabase_cluster_lock' already exists [Failed SQL: (1050) CREATE TABLE metabasedev.metabase_cluster_lock (lock_name VARCHAR(254) NOT NULL COMMENT 'a single column that can be used to a lock across a cluster', CONSTRAINT PK_METABASE_CLUSTER_LOCK PRIMARY KEY (lock_name)) COMMENT='A table to allow metabase instances to take locks across a cluster' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;]
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:155)
at liquibase.command.core.AbstractUpdateCommandStep.lambda$run$0(AbstractUpdateCommandStep.java:114)
at liquibase.Scope.lambda$child$0(Scope.java:216)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:215)
at liquibase.Scope.child(Scope.java:194)
at liquibase.command.core.AbstractUpdateCommandStep.run(AbstractUpdateCommandStep.java:112)
at liquibase.command.core.UpdateCommandStep.run(UpdateCommandStep.java:100)
at liquibase.command.CommandScope.lambda$execute$6(CommandScope.java:263)
... 61 more
Caused by: liquibase.exception.MigrationFailedException: Migration failed for changeset migrations/001_update_migrations.yaml::v53.2025-04-02T15:25:04::edpaget:
Reason: liquibase.exception.DatabaseException: (conn=168) Table 'metabase_cluster_lock' already exists [Failed SQL: (1050) CREATE TABLE metabasedev.metabase_cluster_lock (lock_name VARCHAR(254) NOT NULL COMMENT 'a single column that can be used to a lock across a cluster', CONSTRAINT PK_METABASE_CLUSTER_LOCK PRIMARY KEY (lock_name)) COMMENT='A table to allow metabase instances to take locks across a cluster' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;]
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:873)
at liquibase.changelog.visitor.UpdateVisitor.executeAcceptedChange(UpdateVisitor.java:127)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:71)
at liquibase.changelog.ChangeLogIterator.lambda$run$0(ChangeLogIterator.java:133)
at liquibase.Scope.lambda$child$0(Scope.java:216)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:215)
at liquibase.Scope.child(Scope.java:194)
at liquibase.changelog.ChangeLogIterator.lambda$run$1(ChangeLogIterator.java:122)
at liquibase.Scope.lambda$child$0(Scope.java:216)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:215)
at liquibase.Scope.child(Scope.java:194)
at liquibase.Scope.child(Scope.java:282)
at liquibase.Scope.child(Scope.java:286)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:91)
... 69 more
Caused by: liquibase.exception.DatabaseException: (conn=168) Table 'metabase_cluster_lock' already exists [Failed SQL: (1050) CREATE TABLE metabasedev.metabase_cluster_lock (lock_name VARCHAR(254) NOT NULL COMMENT 'a single column that can be used to a lock across a cluster', CONSTRAINT PK_METABASE_CLUSTER_LOCK PRIMARY KEY (lock_name)) COMMENT='A table to allow metabase instances to take locks across a cluster' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;]
at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:520)
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:85)
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:188)
at liquibase.executor.AbstractExecutor.execute(AbstractExecutor.java:148)
at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1198)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:816)
... 84 more
Caused by: java.sql.SQLSyntaxErrorException: (conn=168) Table 'metabase_cluster_lock' already exists
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:158)
at org.mariadb.jdbc.MariaDbStatement.executeExceptionEpilogue(MariaDbStatement.java:262)
at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:362)
at org.mariadb.jdbc.MariaDbStatement.execute(MariaDbStatement.java:500)
at com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)
at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:512)
... 89 more
Caused by: org.mariadb.jdbc.internal.util.exceptions.MariaDbSqlException: Table 'metabase_cluster_lock' already exists
at org.mariadb.jdbc.internal.util.exceptions.MariaDbSqlException.of(MariaDbSqlException.java:34)
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.exceptionWithQuery(AbstractQueryProtocol.java:195)
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:263)
at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:356)
... 92 more
Caused by: java.sql.SQLException: Table 'metabase_cluster_lock' already exists
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readErrorPacket(AbstractQueryProtocol.java:1693)
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readPacket(AbstractQueryProtocol.java:1555)
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1518)
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:257)
... 93 more
2026-03-16 20:55:42,301 INFO core.core :: Metabase Shutting Down ...
2026-03-16 20:55:42,302 INFO server.instance :: Shutting Down Embedded Jetty Webserver
2026-03-16 20:55:42,309 INFO notification.send :: Shutting down notification dispatchers... {mb-dispatcher-count=2}
2026-03-16 20:55:42,313 INFO notification.send :: Starting notification thread pool with 3 threads {mb-dispatcher-count=2}
2026-03-16 20:55:42,314 INFO notification.send :: Gracefully shutting down notification dispatcher with 0 pending notifications to process {mb-dispatcher-count=2}
2026-03-16 20:55:43,315 INFO notification.send :: Notification worker shut down successfully {mb-dispatcher-count=2}
2026-03-16 20:55:43,316 INFO notification.send :: Starting notification thread pool with 5 threads {mb-dispatcher-count=2}
2026-03-16 20:55:43,317 INFO notification.send :: Gracefully shutting down notification dispatcher with 0 pending notifications to process {mb-dispatcher-count=2}
2026-03-16 20:55:44,318 INFO notification.send :: Notification worker shut down successfully {mb-dispatcher-count=2}
2026-03-16 20:55:44,319 INFO notification.send :: All notification workers shut down successfully {mb-dispatcher-count=2}
2026-03-16 20:55:44,321 WARN app-db.liquibase :: ()
2026-03-16 20:55:44,322 INFO core.core :: Metabase Shutdown COMPLETE