cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.4.4 sample data installation error

Magento 2.4.4 sample data installation error

I have downloaded Magento version 2.4.4 with sample data from https://magento.com/tech-resources/download I was trying to install it on the Wamp server. But when I run the installation I get the error

 

Unable to apply data patch Magento\GroupedProductSampleData\Setup\Patch\Data\InstallGroupedProductSampleData for module Magento_GroupedProductSampleData. Original exce
  ption message: Rolled back transaction has not been completed correctly.

I tried with versions 2.4.3 and 2.4.3-p2 all are showing the same error. But I was able to install the 2.4.3 version without sample data. I searched and found it is related to some error in the csv file. But none of the answers provided a solution. Please help. 

2 REPLIES 2

Re: Magento 2.4.4 sample data installation error

Hello @akhilesh4u66f7 ,

 

This issue is with syntax issue of sample CSV files which are located at :

Spoiler
/vendor/magento/module-catalog-rule-sample-data/fixtures/catalog_rules.csv /vendor/magento/module-sales-rule-sample-data/fixtures/sales_rules.csv

Fix the above CSVs manually or online tool.

for ex : https://csvlint.io/

 

Hope it helps !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: Magento 2.4.4 sample data installation error

Hello @akhilesh4u66f7 

you can install the magento simply without sample data and if you can do that 

then after successful installation you can just simply run this command and it will exactly have sample data on your magento 

php bin/magento setupSmiley Tongueerformance:generate-fixtures -s setup/performance-toolkit/profiles/ce/small.xml

this command will install all kind of dummy data which you want in your magento 

hope this resolves your problem