Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marciuz/6cb2042201440b61cb158b48d6357cb1 to your computer and use it in GitHub Desktop.
Save marciuz/6cb2042201440b61cb158b48d6357cb1 to your computer and use it in GitHub Desktop.
mar 04 10:41:25 patato02 java[3007061]: 03-04 10:41:25 INFO metabase.util :: Loading Metabase...
mar 04 10:41:25 patato02 java[3007061]: 03-04 10:41:25 INFO metabase.util :: Maximum memory available to JVM: 512.0 MB
mar 04 10:41:33 patato02 java[3007061]: WARNING: not-empty already refers to: #'clojure.core/not-empty in namespace: metabase.mbql.schema, being replaced by: #'metabase.mbql.schema/not-empty
mar 04 10:41:33 patato02 java[3007061]: 03-04 10:41:33 INFO util.encryption :: Saved credentials encryption is ENABLED for this Metabase instance. 🔐
mar 04 10:41:33 patato02 java[3007061]: For more information, see https://metabase.com/docs/latest/operations-guide/encrypting-database-details-at-rest.html
mar 04 10:45:56 patato02 java[3007061]: 03-04 10:45:56 WARN metabase.core :: WARNING: You have enabled namespace tracing, which could log sensitive information like db passwords.
mar 04 10:45:56 patato02 java[3007061]: 03-04 10:45:56 INFO metabase.core :: Starting Metabase in STANDALONE mode
mar 04 10:45:56 patato02 java[3007061]: 03-04 10:45:56 INFO metabase.server :: Launching Embedded Jetty Webserver with config:
mar 04 10:45:56 patato02 java[3007061]: {:port 3003}
mar 04 10:45:56 patato02 java[3007061]: 03-04 10:45:56 INFO metabase.core :: Starting Metabase version v0.36.12 (1ea38d4 release-0.36.x) ...
mar 04 10:45:56 patato02 java[3007061]: 03-04 10:45:56 INFO metabase.core :: System info:
mar 04 10:45:56 patato02 java[3007061]: {"file.encoding" "UTF-8",
mar 04 10:45:56 patato02 java[3007061]: "java.runtime.name" "OpenJDK Runtime Environment",
mar 04 10:45:56 patato02 java[3007061]: "java.runtime.version" "14.0.2+12-Ubuntu-120.04",
mar 04 10:45:56 patato02 java[3007061]: "java.vendor" "Private Build",
mar 04 10:45:56 patato02 java[3007061]: "java.vendor.url" "Unknown",
mar 04 10:45:56 patato02 java[3007061]: "java.version" "14.0.2",
mar 04 10:45:56 patato02 java[3007061]: "java.vm.name" "OpenJDK 64-Bit Server VM",
mar 04 10:45:56 patato02 java[3007061]: "java.vm.version" "14.0.2+12-Ubuntu-120.04",
mar 04 10:45:56 patato02 java[3007061]: "os.name" "Linux",
mar 04 10:45:56 patato02 java[3007061]: "os.version" "5.4.0-65-generic",
mar 04 10:45:56 patato02 java[3007061]: "user.language" "en",
mar 04 10:45:56 patato02 java[3007061]: "user.timezone" "Europe/Berlin"}
mar 04 10:45:56 patato02 java[3007061]: 03-04 10:45:56 INFO metabase.plugins :: Loading plugins in /opt/metabase/plugins...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :google...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered abstract driver :google 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :sqlserver...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered abstract driver :sql 🚚
mar 04 10:45:57 patato02 java[3007061]: Load driver :sql took 94.4 ms
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered abstract driver :sql-jdbc (parents: [:sql]) 🚚
mar 04 10:45:57 patato02 java[3007061]: Load driver :sql-jdbc took 142.8 ms
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered driver :sqlserver (parents: [:sql-jdbc]) 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :mongo...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered driver :mongo 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 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 https://metabase.com/docs/latest/administration-guide/databases/vertica.html for more details.
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO plugins.dependencies :: Metabase Vertica Driver dependency {:class com.vertica.jdbc.Driver} satisfied? false
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO plugins.dependencies :: Plugins with unsatisfied deps: ["Metabase Vertica Driver"]
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :hive-like...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered abstract driver :hive-like (parents: [:sql-jdbc]) 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :sparksql...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered driver :sparksql (parents: [:hive-like]) 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :presto...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered driver :presto (parents: [:sql]) 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO plugins.dependencies :: Plugin 'Metabase Google Analytics Driver' depends on plugin 'Metabase Google Drivers Shared Dependencies'
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO plugins.dependencies :: Metabase Google Analytics Driver dependency {:plugin Metabase Google Drivers Shared Dependencies} satisfied? true
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :googleanalytics...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered driver :googleanalytics (parents: [:google]) 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO plugins.dependencies :: Plugin 'Metabase BigQuery Driver' depends on plugin 'Metabase Google Drivers Shared Dependencies'
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO plugins.dependencies :: Metabase BigQuery Driver dependency {:plugin Metabase Google Drivers Shared Dependencies} satisfied? true
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 WARN plugins.lazy-loaded-driver :: Warning: plugin manifest for :bigquery does not include connection properties
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :bigquery...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered driver :bigquery (parents: [:sql :google]) 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :snowflake...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered driver :snowflake (parents: [:sql-jdbc]) 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :redshift...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered driver :postgres (parents: [:sql-jdbc]) 🚚
mar 04 10:45:57 patato02 java[3007061]: Load driver :postgres took 16.5 ms
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered driver :redshift (parents: [:postgres]) 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :druid...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered driver :druid 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :sqlite...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered driver :sqlite (parents: [:sql-jdbc]) 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 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 https://metabase.com/docs/latest/administration-guide/databases/oracle.html for more details.
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO plugins.dependencies :: Metabase Oracle Driver dependency {:class oracle.jdbc.OracleDriver} satisfied? false
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO plugins.dependencies :: Plugins with unsatisfied deps: ["Metabase Vertica Driver" "Metabase Oracle Driver"]
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered driver :h2 (parents: [:sql-jdbc]) 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Registered driver :mysql (parents: [:sql-jdbc]) 🚚
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO metabase.core :: Setting up and migrating Metabase DB. Please sit tight, this may take a minute...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO metabase.db :: Verifying mysql Database Connection ...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Initializing driver :sql...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Initializing driver :sql-jdbc...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO driver.impl :: Initializing driver :mysql...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO metabase.db :: Successfully verified MySQL 5.7.32-35 application database connection. ✅
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO metabase.db :: Running Database Migrations...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO metabase.db :: Setting up Liquibase...
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO metabase.db :: Liquibase is ready.
mar 04 10:45:57 patato02 java[3007061]: 03-04 10:45:57 INFO db.liquibase :: Checking if Database has unrun migrations...
mar 04 10:45:58 patato02 java[3007061]: 03-04 10:45:58 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:58 patato02 java[3007061]: 03-04 10:45:58 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:58 patato02 java[3007061]: 03-04 10:45:58 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:58 patato02 java[3007061]: 03-04 10:45:58 INFO db.liquibase :: Database has unrun migrations. Waiting for migration lock to be cleared...
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 INFO db.liquibase :: Migration lock is cleared. Running migrations...
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 ERROR changelog.ChangeSet :: Change Set migrations/000_migrations.yaml::78::camsaul failed. Error: (conn=23946) Table 'group_table_access_policy' already exists [Failed SQL: CREATE TABLE metabase.group_table_access_policy (id INT AUTO_INCREMENT NOT NULL, group_id INT NOT NULL COMMENT 'ID of the Permissions Group this policy affects.', table_id INT NOT NULL COMMENT 'ID of the Table that should get automatically replaced as query source for the Permissions Group.', card_id INT NOT NULL COMMENT 'ID of the Card (Question) to be used to replace the Table.', attribute_remappings TEXT NULL COMMENT 'JSON-encoded map of user attribute identifier to the param name used in the Card.', CONSTRAINT PK_GROUP_TABLE_ACCESS_POLICY PRIMARY KEY (id), CONSTRAINT fk_gtap_card_id FOREIGN KEY (card_id) REFERENCES metabase.report_card(id), CONSTRAINT fk_gtap_group_id FOREIGN KEY (group_id) REFERENCES metabase.permissions_group(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_table_id FOREIGN KEY (table_id) REFERENCES metabase.metabase_table(id) ON DELETE CASCADE) COMMENT='Records that a given Card (Question) should automatically replace a given Table as query source for a given a Perms Group.' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci]
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN metabase.util :: auto-retry metabase.db.liquibase$migrate_up_if_needed_BANG_$fn__20968@5466ae12: Migration failed for change set migrations/000_migrations.yaml::78::camsaul:
mar 04 10:45:59 patato02 java[3007061]: Reason: liquibase.exception.DatabaseException: (conn=23946) Table 'group_table_access_policy' already exists [Failed SQL: CREATE TABLE metabase.group_table_access_policy (id INT AUTO_INCREMENT NOT NULL, group_id INT NOT NULL COMMENT 'ID of the Permissions Group this policy affects.', table_id INT NOT NULL COMMENT 'ID of the Table that should get automatically replaced as query source for the Permissions Group.', card_id INT NOT NULL COMMENT 'ID of the Card (Question) to be used to replace the Table.', attribute_remappings TEXT NULL COMMENT 'JSON-encoded map of user attribute identifier to the param name used in the Card.', CONSTRAINT PK_GROUP_TABLE_ACCESS_POLICY PRIMARY KEY (id), CONSTRAINT fk_gtap_card_id FOREIGN KEY (card_id) REFERENCES metabase.report_card(id), CONSTRAINT fk_gtap_group_id FOREIGN KEY (group_id) REFERENCES metabase.permissions_group(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_table_id FOREIGN KEY (table_id) REFERENCES metabase.metabase_table(id) ON DELETE CASCADE) COMMENT='Records that a given Card (Question) should automatically replace a given Table as query source for a given a Perms Group.' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci]
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 ERROR changelog.ChangeSet :: Change Set migrations/000_migrations.yaml::78::camsaul failed. Error: (conn=23946) Table 'group_table_access_policy' already exists [Failed SQL: CREATE TABLE metabase.group_table_access_policy (id INT AUTO_INCREMENT NOT NULL, group_id INT NOT NULL COMMENT 'ID of the Permissions Group this policy affects.', table_id INT NOT NULL COMMENT 'ID of the Table that should get automatically replaced as query source for the Permissions Group.', card_id INT NOT NULL COMMENT 'ID of the Card (Question) to be used to replace the Table.', attribute_remappings TEXT NULL COMMENT 'JSON-encoded map of user attribute identifier to the param name used in the Card.', CONSTRAINT PK_GROUP_TABLE_ACCESS_POLICY PRIMARY KEY (id), CONSTRAINT fk_gtap_group_id FOREIGN KEY (group_id) REFERENCES metabase.permissions_group(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_table_id FOREIGN KEY (table_id) REFERENCES metabase.metabase_table(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_card_id FOREIGN KEY (card_id) REFERENCES metabase.report_card(id)) COMMENT='Records that a given Card (Question) should automatically replace a given Table as query source for a given a Perms Group.' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci]
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN metabase.util :: auto-retry metabase.db.liquibase$migrate_up_if_needed_BANG_$fn__20968@5466ae12: Migration failed for change set migrations/000_migrations.yaml::78::camsaul:
mar 04 10:45:59 patato02 java[3007061]: Reason: liquibase.exception.DatabaseException: (conn=23946) Table 'group_table_access_policy' already exists [Failed SQL: CREATE TABLE metabase.group_table_access_policy (id INT AUTO_INCREMENT NOT NULL, group_id INT NOT NULL COMMENT 'ID of the Permissions Group this policy affects.', table_id INT NOT NULL COMMENT 'ID of the Table that should get automatically replaced as query source for the Permissions Group.', card_id INT NOT NULL COMMENT 'ID of the Card (Question) to be used to replace the Table.', attribute_remappings TEXT NULL COMMENT 'JSON-encoded map of user attribute identifier to the param name used in the Card.', CONSTRAINT PK_GROUP_TABLE_ACCESS_POLICY PRIMARY KEY (id), CONSTRAINT fk_gtap_group_id FOREIGN KEY (group_id) REFERENCES metabase.permissions_group(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_table_id FOREIGN KEY (table_id) REFERENCES metabase.metabase_table(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_card_id FOREIGN KEY (card_id) REFERENCES metabase.report_card(id)) COMMENT='Records that a given Card (Question) should automatically replace a given Table as query source for a given a Perms Group.' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci]
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 ERROR changelog.ChangeSet :: Change Set migrations/000_migrations.yaml::78::camsaul failed. Error: (conn=23946) Table 'group_table_access_policy' already exists [Failed SQL: CREATE TABLE metabase.group_table_access_policy (id INT AUTO_INCREMENT NOT NULL, group_id INT NOT NULL COMMENT 'ID of the Permissions Group this policy affects.', table_id INT NOT NULL COMMENT 'ID of the Table that should get automatically replaced as query source for the Permissions Group.', card_id INT NOT NULL COMMENT 'ID of the Card (Question) to be used to replace the Table.', attribute_remappings TEXT NULL COMMENT 'JSON-encoded map of user attribute identifier to the param name used in the Card.', CONSTRAINT PK_GROUP_TABLE_ACCESS_POLICY PRIMARY KEY (id), CONSTRAINT fk_gtap_card_id FOREIGN KEY (card_id) REFERENCES metabase.report_card(id), CONSTRAINT fk_gtap_group_id FOREIGN KEY (group_id) REFERENCES metabase.permissions_group(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_table_id FOREIGN KEY (table_id) REFERENCES metabase.metabase_table(id) ON DELETE CASCADE) COMMENT='Records that a given Card (Question) should automatically replace a given Table as query source for a given a Perms Group.' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci]
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN metabase.util :: auto-retry metabase.db.liquibase$migrate_up_if_needed_BANG_$fn__20968@5466ae12: Migration failed for change set migrations/000_migrations.yaml::78::camsaul:
mar 04 10:45:59 patato02 java[3007061]: Reason: liquibase.exception.DatabaseException: (conn=23946) Table 'group_table_access_policy' already exists [Failed SQL: CREATE TABLE metabase.group_table_access_policy (id INT AUTO_INCREMENT NOT NULL, group_id INT NOT NULL COMMENT 'ID of the Permissions Group this policy affects.', table_id INT NOT NULL COMMENT 'ID of the Table that should get automatically replaced as query source for the Permissions Group.', card_id INT NOT NULL COMMENT 'ID of the Card (Question) to be used to replace the Table.', attribute_remappings TEXT NULL COMMENT 'JSON-encoded map of user attribute identifier to the param name used in the Card.', CONSTRAINT PK_GROUP_TABLE_ACCESS_POLICY PRIMARY KEY (id), CONSTRAINT fk_gtap_card_id FOREIGN KEY (card_id) REFERENCES metabase.report_card(id), CONSTRAINT fk_gtap_group_id FOREIGN KEY (group_id) REFERENCES metabase.permissions_group(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_table_id FOREIGN KEY (table_id) REFERENCES metabase.metabase_table(id) ON DELETE CASCADE) COMMENT='Records that a given Card (Question) should automatically replace a given Table as query source for a given a Perms Group.' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci]
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 WARN changelog.DatabaseChangeLog :: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 ERROR changelog.ChangeSet :: Change Set migrations/000_migrations.yaml::78::camsaul failed. Error: (conn=23946) Table 'group_table_access_policy' already exists [Failed SQL: CREATE TABLE metabase.group_table_access_policy (id INT AUTO_INCREMENT NOT NULL, group_id INT NOT NULL COMMENT 'ID of the Permissions Group this policy affects.', table_id INT NOT NULL COMMENT 'ID of the Table that should get automatically replaced as query source for the Permissions Group.', card_id INT NOT NULL COMMENT 'ID of the Card (Question) to be used to replace the Table.', attribute_remappings TEXT NULL COMMENT 'JSON-encoded map of user attribute identifier to the param name used in the Card.', CONSTRAINT PK_GROUP_TABLE_ACCESS_POLICY PRIMARY KEY (id), CONSTRAINT fk_gtap_table_id FOREIGN KEY (table_id) REFERENCES metabase.metabase_table(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_group_id FOREIGN KEY (group_id) REFERENCES metabase.permissions_group(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_card_id FOREIGN KEY (card_id) REFERENCES metabase.report_card(id)) COMMENT='Records that a given Card (Question) should automatically replace a given Table as query source for a given a Perms Group.' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci]
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 ERROR metabase.core :: Metabase Initialization FAILED
mar 04 10:45:59 patato02 java[3007061]: liquibase.exception.MigrationFailedException: Migration failed for change set migrations/000_migrations.yaml::78::camsaul:
mar 04 10:45:59 patato02 java[3007061]: Reason: liquibase.exception.DatabaseException: (conn=23946) Table 'group_table_access_policy' already exists [Failed SQL: CREATE TABLE metabase.group_table_access_policy (id INT AUTO_INCREMENT NOT NULL, group_id INT NOT NULL COMMENT 'ID of the Permissions Group this policy affects.', table_id INT NOT NULL COMMENT 'ID of the Table that should get automatically replaced as query source for the Permissions Group.', card_id INT NOT NULL COMMENT 'ID of the Card (Question) to be used to replace the Table.', attribute_remappings TEXT NULL COMMENT 'JSON-encoded map of user attribute identifier to the param name used in the Card.', CONSTRAINT PK_GROUP_TABLE_ACCESS_POLICY PRIMARY KEY (id), CONSTRAINT fk_gtap_table_id FOREIGN KEY (table_id) REFERENCES metabase.metabase_table(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_group_id FOREIGN KEY (group_id) REFERENCES metabase.permissions_group(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_card_id FOREIGN KEY (card_id) REFERENCES metabase.report_card(id)) COMMENT='Records that a given Card (Question) should automatically replace a given Table as query source for a given a Perms Group.' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci]
mar 04 10:45:59 patato02 java[3007061]: at liquibase.changelog.ChangeSet.execute(ChangeSet.java:637)
mar 04 10:45:59 patato02 java[3007061]: at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53)
mar 04 10:45:59 patato02 java[3007061]: at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:83)
mar 04 10:45:59 patato02 java[3007061]: at liquibase.Liquibase.update(Liquibase.java:202)
mar 04 10:45:59 patato02 java[3007061]: at liquibase.Liquibase.update(Liquibase.java:179)
mar 04 10:45:59 patato02 java[3007061]: at liquibase.Liquibase.update(Liquibase.java:175)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db.liquibase$migrate_up_if_needed_BANG_$fn__20968.invoke(liquibase.clj:126)
mar 04 10:45:59 patato02 java[3007061]: at metabase.util$do_with_auto_retries.invokeStatic(util.clj:440)
mar 04 10:45:59 patato02 java[3007061]: at metabase.util$do_with_auto_retries.invoke(util.clj:432)
mar 04 10:45:59 patato02 java[3007061]: at metabase.util$do_with_auto_retries.invokeStatic(util.clj:447)
mar 04 10:45:59 patato02 java[3007061]: at metabase.util$do_with_auto_retries.invoke(util.clj:432)
mar 04 10:45:59 patato02 java[3007061]: at metabase.util$do_with_auto_retries.invokeStatic(util.clj:447)
mar 04 10:45:59 patato02 java[3007061]: at metabase.util$do_with_auto_retries.invoke(util.clj:432)
mar 04 10:45:59 patato02 java[3007061]: at metabase.util$do_with_auto_retries.invokeStatic(util.clj:447)
mar 04 10:45:59 patato02 java[3007061]: at metabase.util$do_with_auto_retries.invoke(util.clj:432)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db.liquibase$migrate_up_if_needed_BANG_.invokeStatic(liquibase.clj:126)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db.liquibase$migrate_up_if_needed_BANG_.invoke(liquibase.clj:114)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$migrate_BANG_$fn__21752$fn__21753.invoke(db.clj:208)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db.liquibase$do_with_liquibase.invokeStatic(liquibase.clj:38)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db.liquibase$do_with_liquibase.invoke(liquibase.clj:29)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$migrate_BANG_$fn__21752.invoke(db.clj:203)
mar 04 10:45:59 patato02 java[3007061]: at clojure.java.jdbc$db_transaction_STAR_.invokeStatic(jdbc.clj:807)
mar 04 10:45:59 patato02 java[3007061]: at clojure.java.jdbc$db_transaction_STAR_.invoke(jdbc.clj:776)
mar 04 10:45:59 patato02 java[3007061]: at clojure.java.jdbc$db_transaction_STAR_.invokeStatic(jdbc.clj:852)
mar 04 10:45:59 patato02 java[3007061]: at clojure.java.jdbc$db_transaction_STAR_.invoke(jdbc.clj:776)
mar 04 10:45:59 patato02 java[3007061]: at clojure.java.jdbc$db_transaction_STAR_.invokeStatic(jdbc.clj:789)
mar 04 10:45:59 patato02 java[3007061]: at clojure.java.jdbc$db_transaction_STAR_.invoke(jdbc.clj:776)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$migrate_BANG_.invokeStatic(db.clj:194)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$migrate_BANG_.invoke(db.clj:173)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$run_schema_migrations_BANG_.invokeStatic(db.clj:329)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$run_schema_migrations_BANG_.invoke(db.clj:323)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$setup_db_BANG__STAR_$fn__21834.invoke(db.clj:346)
mar 04 10:45:59 patato02 java[3007061]: at metabase.util$do_with_us_locale.invokeStatic(util.clj:673)
mar 04 10:45:59 patato02 java[3007061]: at metabase.util$do_with_us_locale.invoke(util.clj:659)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$setup_db_BANG__STAR_.invokeStatic(db.clj:344)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$setup_db_BANG__STAR_.invoke(db.clj:339)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$setup_db_from_env_BANG_.invokeStatic(db.clj:358)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$setup_db_from_env_BANG_.invoke(db.clj:351)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$setup_db_BANG_$fn__21839.invoke(db.clj:368)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$setup_db_BANG_.invokeStatic(db.clj:366)
mar 04 10:45:59 patato02 java[3007061]: at metabase.db$setup_db_BANG_.invoke(db.clj:361)
mar 04 10:45:59 patato02 java[3007061]: at metabase.core$init_BANG_.invokeStatic(core.clj:75)
mar 04 10:45:59 patato02 java[3007061]: at metabase.core$init_BANG_.invoke(core.clj:54)
mar 04 10:45:59 patato02 java[3007061]: at metabase.core$start_normally.invokeStatic(core.clj:119)
mar 04 10:45:59 patato02 java[3007061]: at metabase.core$start_normally.invoke(core.clj:113)
mar 04 10:45:59 patato02 java[3007061]: at metabase.core$_main.invokeStatic(core.clj:152)
mar 04 10:45:59 patato02 java[3007061]: at metabase.core$_main.doInvoke(core.clj:146)
mar 04 10:45:59 patato02 java[3007061]: at clojure.lang.RestFn.invoke(RestFn.java:397)
mar 04 10:45:59 patato02 java[3007061]: at clojure.lang.AFn.applyToHelper(AFn.java:152)
mar 04 10:45:59 patato02 java[3007061]: at clojure.lang.RestFn.applyTo(RestFn.java:132)
mar 04 10:45:59 patato02 java[3007061]: at metabase.core.main(Unknown Source)
mar 04 10:45:59 patato02 java[3007061]: Caused by: liquibase.exception.DatabaseException: (conn=23946) Table 'group_table_access_policy' already exists [Failed SQL: CREATE TABLE metabase.group_table_access_policy (id INT AUTO_INCREMENT NOT NULL, group_id INT NOT NULL COMMENT 'ID of the Permissions Group this policy affects.', table_id INT NOT NULL COMMENT 'ID of the Table that should get automatically replaced as query source for the Permissions Group.', card_id INT NOT NULL COMMENT 'ID of the Card (Question) to be used to replace the Table.', attribute_remappings TEXT NULL COMMENT 'JSON-encoded map of user attribute identifier to the param name used in the Card.', CONSTRAINT PK_GROUP_TABLE_ACCESS_POLICY PRIMARY KEY (id), CONSTRAINT fk_gtap_table_id FOREIGN KEY (table_id) REFERENCES metabase.metabase_table(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_group_id FOREIGN KEY (group_id) REFERENCES metabase.permissions_group(id) ON DELETE CASCADE, CONSTRAINT fk_gtap_card_id FOREIGN KEY (card_id) REFERENCES metabase.report_card(id)) COMMENT='Records that a given Card (Question) should automatically replace a given Table as query source for a given a Perms Group.' ENGINE InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci]
mar 04 10:45:59 patato02 java[3007061]: at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:356)
mar 04 10:45:59 patato02 java[3007061]: at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:57)
mar 04 10:45:59 patato02 java[3007061]: at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:125)
mar 04 10:45:59 patato02 java[3007061]: at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1229)
mar 04 10:45:59 patato02 java[3007061]: at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1211)
mar 04 10:45:59 patato02 java[3007061]: at liquibase.changelog.ChangeSet.execute(ChangeSet.java:600)
mar 04 10:45:59 patato02 java[3007061]: ... 50 more
mar 04 10:45:59 patato02 java[3007061]: Caused by: java.sql.SQLSyntaxErrorException: (conn=23946) Table 'group_table_access_policy' already exists
mar 04 10:45:59 patato02 java[3007061]: at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62)
mar 04 10:45:59 patato02 java[3007061]: at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:153)
mar 04 10:45:59 patato02 java[3007061]: at org.mariadb.jdbc.MariaDbStatement.executeExceptionEpilogue(MariaDbStatement.java:274)
mar 04 10:45:59 patato02 java[3007061]: at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:363)
mar 04 10:45:59 patato02 java[3007061]: at org.mariadb.jdbc.MariaDbStatement.execute(MariaDbStatement.java:501)
mar 04 10:45:59 patato02 java[3007061]: at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:352)
mar 04 10:45:59 patato02 java[3007061]: ... 55 more
mar 04 10:45:59 patato02 java[3007061]: Caused by: org.mariadb.jdbc.internal.util.exceptions.MariaDbSqlException: Table 'group_table_access_policy' already exists
mar 04 10:45:59 patato02 java[3007061]: at org.mariadb.jdbc.internal.util.exceptions.MariaDbSqlException.of(MariaDbSqlException.java:34)
mar 04 10:45:59 patato02 java[3007061]: at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.exceptionWithQuery(AbstractQueryProtocol.java:194)
mar 04 10:45:59 patato02 java[3007061]: at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:262)
mar 04 10:45:59 patato02 java[3007061]: at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:357)
mar 04 10:45:59 patato02 java[3007061]: ... 57 more
mar 04 10:45:59 patato02 java[3007061]: Caused by: java.sql.SQLException: Table 'group_table_access_policy' already exists
mar 04 10:45:59 patato02 java[3007061]: at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readErrorPacket(AbstractQueryProtocol.java:1688)
mar 04 10:45:59 patato02 java[3007061]: at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readPacket(AbstractQueryProtocol.java:1550)
mar 04 10:45:59 patato02 java[3007061]: at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1513)
mar 04 10:45:59 patato02 java[3007061]: at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:256)
mar 04 10:45:59 patato02 java[3007061]: ... 58 more
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 INFO metabase.core :: Metabase Shutting Down ...
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 INFO metabase.server :: Shutting Down Embedded Jetty Webserver
mar 04 10:45:59 patato02 java[3007061]: 03-04 10:45:59 INFO metabase.core :: Metabase Shutdown COMPLETE
mar 04 10:45:59 patato02 systemd[1]: metabase.service: Main process exited, code=exited, status=1/FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment