0

I have setup the Magento 2.4 on Windows 10. I have run these commands to install the sampledata:

php bin/magento sampledata:deploy   - Working 
php bin/magento setup:upgrade   - Error

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

For clarification see attached screenshot: enter image description here

Note- I am getting this error only in Magento2.4 version

1
0

Please check this link I think it has your answer.

https://github.com/magento/magento2/issues/25294

Thanks

0

Here is the Github Issue describing the problem. It was fixed for the next develop version of 2.4 in October 2020.

Here is the specific PR that was accepted into the 2.4 release branch.

I haven't yet found a workaround other than "it's fixed in the next version".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.