cancel
Showing results for 
Search instead for 
Did you mean: 

magento migration m1 to m2

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

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