Hallo,
ich erhalte folgende Fehlermeldung im Schritt “Datenbank Migration”
Error
Received the following error message:
An exception occurred while executing ' CREATE TABLE `product_export` ( `id` BINARY(16) NOT NULL, `product_stream_id` BINARY(16) NOT NULL, `storefront_sales_channel_id` BINARY(16) NULL, `sales_channel_id` BINARY(16) NOT NULL, `sales_channel_domain_id` BINARY(16) NULL, `file_name` VARCHAR(255) NOT NULL, `access_key` VARCHAR(255) NOT NULL, `encoding` VARCHAR(255) NOT NULL, `file_format` VARCHAR(255) NOT NULL, `include_variants` TINYINT(1) NULL DEFAULT '0', `generate_by_cronjob` TINYINT(1) NOT NULL DEFAULT '0', `generated_at` DATETIME(3) NULL, `interval` INT(11) NOT NULL, `header_template` LONGTEXT NULL, `body_template` LONGTEXT NULL, `footer_template` LONGTEXT NULL, `created_at` DATETIME(3) NOT NULL, `updated_at` DATETIME(3) NULL, PRIMARY KEY (`id`), UNIQUE KEY `file_name` (`file_name`), KEY `fk.product_export.product_stream_id` (`product_stream_id`), KEY `fk.product_export.storefront_sales_channel_id` (`storefront_sales_channel_id`), KEY `fk.product_export.sales_channel_id` (`sales_channel_id`), KEY `fk.product_export.sales_channel_domain_id` (`sales_channel_domain_id`), CONSTRAINT `fk.product_export.product_stream_id` FOREIGN KEY (`product_stream_id`) REFERENCES `product_stream` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `fk.product_export.storefront_sales_channel_id` FOREIGN KEY (`storefront_sales_channel_id`) REFERENCES `sales_channel` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `fk.product_export.sales_channel_id` FOREIGN KEY (`sales_channel_id`) REFERENCES `sales_channel` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `fk.product_export.sales_channel_domain_id` FOREIGN KEY (`sales_channel_domain_id`) REFERENCES `sales_channel_domain` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; ': SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'product_export' already exists
Please try to fix this error and restart the update.
Response
{"valid":false,"errorMsg":"An exception occurred while executing '\n CREATE TABLE `product_export` (\n `id` BINARY(16) NOT NULL,\n `product_stream_id` BINARY(16) NOT NULL,\n `storefront_sales_channel_id` BINARY(16) NULL,\n `sales_channel_id` BINARY(16) NOT NULL,\n `sales_channel_domain_id` BINARY(16) NULL,\n `file_name` VARCHAR(255) NOT NULL,\n `access_key` VARCHAR(255) NOT NULL,\n `encoding` VARCHAR(255) NOT NULL,\n `file_format` VARCHAR(255) NOT NULL,\n `include_variants` TINYINT(1) NULL DEFAULT '0',\n `generate_by_cronjob` TINYINT(1) NOT NULL DEFAULT '0',\n `generated_at` DATETIME(3) NULL,\n `interval` INT(11) NOT NULL,\n `header_template` LONGTEXT NULL,\n `body_template` LONGTEXT NULL,\n `footer_template` LONGTEXT NULL,\n `created_at` DATETIME(3) NOT NULL,\n `updated_at` DATETIME(3) NULL,\n PRIMARY KEY (`id`),\n UNIQUE KEY `file_name` (`file_name`),\n KEY `fk.product_export.product_stream_id` (`product_stream_id`),\n KEY `fk.product_export.storefront_sales_channel_id` (`storefront_sales_channel_id`),\n KEY `fk.product_export.sales_channel_id` (`sales_channel_id`),\n KEY `fk.product_export.sales_channel_domain_id` (`sales_channel_domain_id`),\n CONSTRAINT `fk.product_export.product_stream_id` FOREIGN KEY (`product_stream_id`) REFERENCES `product_stream` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `fk.product_export.storefront_sales_channel_id` FOREIGN KEY (`storefront_sales_channel_id`) REFERENCES `sales_channel` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `fk.product_export.sales_channel_id` FOREIGN KEY (`sales_channel_id`) REFERENCES `sales_channel` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `fk.product_export.sales_channel_domain_id` FOREIGN KEY (`sales_channel_domain_id`) REFERENCES `sales_channel_domain` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;\n ':\n\nSQLSTATE[42S01]: Base table or view already exists: 1050 Table 'product_export' already exists"}