cancel
Showing results for 
Search instead for 
Did you mean: 

command line install magento2.4 error

command line install magento2.4 error

magento2.4 source:  magento-ce-2.4.0-2020-07-24-11-15-38.tar.gz

without sampledata  on centos7

 

error message : 

[Progress: 738 / 1282]
Module 'Magento_GroupedImportExport':
[Progress: 739 / 1282]
Module 'Magento_CatalogSampleData':

In PatchApplier.php line 170:

Unable to apply data patch Magento\CatalogSampleData\Setup\Patch\Data\InstallCatalogSampleData for module Magento_CatalogSampleData. Origi
nal exception message: Rolled back transaction has not been completed correctly.

In Mysql.php line 319:

Rolled back transaction has not been completed correctly.

1 REPLY 1

Re: command line install magento2.4 error

Looks like a bug. So found the below solution.

bin/magento module:uninstall --remove-data --clear-static-content Magento_CatalogRuleSampleData Magento_SalesRuleSampleData