- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2021
06:58 AM
07-23-2021
06:58 AM
magento migration m1 to m2
I am migrating m1(1.9.3.6) to m2 (2.2.7).
at the time of run command
bin/magento migrate:data -a vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.3.6/config.xml
getting [PDOException]
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '146' for key 'PRIMARY'.
please help me to resolve this error
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2021
03:44 PM
07-25-2021
03:44 PM
Re: magento migration m1 to m2
It seems you are doing the migration on already customized or used Magento, try to operate on the fresh Magento, and after you complete the migration then install the customizations and plugins.
If not, then try to figure out the table from which it is causing the issue, that might help.
Thank you