- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error during setup:upgrade in 2.3.5p2 to 2.4.0
during setup: upgrade
Module 'Magento_PurchaseOrder':
Unable to apply data patch Magento\PurchaseOrder\Setup\Patch\Data\InitPurchaseOrderSalesSequence for module Magento_PurchaseOrder. Original exception message: DDL statements are not allowed in transactions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error during setup:upgrade in 2.3.5p2 to 2.4.0
Hello @karuna_khatri
Please check your MySQL version is compatible with Magento 2.4?
More info:
https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html
Hope this helps you.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error during setup:upgrade in 2.3.5p2 to 2.4.0
Hi @dragon,
currently I am using 10.4.11 -MariaDB source
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error during setup:upgrade in 2.3.5p2 to 2.4.0
Hi @karuna_khatri ,
Please check this
https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#database
Hope this will solve your issue.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error during setup:upgrade in 2.3.5p2 to 2.4.0
Same here!!! I'm upgrading from 2.3.3... All the requirements are ok...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error during setup:upgrade in 2.3.5p2 to 2.4.0
got similar errors after clean install
issue solved
bin/magento setup:db-declaration:generate-patch [options] <module-name> <patch-name>