I'm getting error after deploying sample data when i run setup:upgrade command i get this error, any idea?
Unable to apply data patch Magento\GroupedProductSampleData\Setup\Patch\Data\InstallGroupedProductSampleData for module Magento_GroupedProductSampleData. Original exception message: Rolled back transaction has not been completed correctly
Hello @makeupidea71e6
solutions for the above issue:
Fix and validate the above CSVs manually or online tool like https://csvlint.io/
/vendor/magento/module-catalog-rule-sample-data/fixtures/catalog_rules.csv /vendor/magento/module-sales-rule-sample-data/fixtures/sales_rules.csv
Comment line of code, calling above CSVs
\Magento\CatalogRuleSampleData\Setup\Installer.php \Magento\SalesRuleSampleData\Setup\Installer.php like: /** * {@inheritdoc} */ public function install() { //$this->rule->install(['Magento_CatalogRuleSampleData::fixtures/catalog_rules.csv']); }It may help you!