0

I followed the below link for data migration.

https://www.cloudways.com/blog/migrate-from-magento-1-to-magento-2/

Once i run below command i am getting

php bin/magento migrate:data --reset < path to your config.xml > --- replaced the path for my m1 version that is 1.9.0.1.

[Migration\Exception]

Integrity Check failed

error. Can anyone suggest please? What is the cause for this?

in config.xml i added the below code.

 <source>
    <database host="host-name" name="db-name" user="user-name" password="password" />
</source>
<destination>
    <database host="host-name" name="db-name" user="user-name" password="password" />
</destination>
<options>
<crypt_key>crypt-key</crypt_key>
</options>

Here is the screenshot. enter image description here

9
  • Did you migrate setting? Commented Jul 13, 2018 at 12:06
  • Yes, php bin/magento migrate:settings --reset <path to your config.xml> that's shown completed. Commented Jul 13, 2018 at 12:08
  • What is the exception are you getting? Commented Jul 13, 2018 at 12:13
  • php -d memory_limit=10G bin/magento migrate:data -r -a path to your config.xml > Try this it should work but you will get warning and errors but still data will be migrated to your system. Afterwards you need to fix those errors and warnings one by one. Commented Jul 13, 2018 at 12:14
  • I tried above command with memory_limit , same again. what i got previously same error. I have attached the screenshot. Commented Jul 13, 2018 at 12:21

1 Answer 1

0

You need to add the documents and fields that are shown in the error message (in red) to the ignore list.

For more details on how to do this, check https://devdocs.magento.com/guides/v2.0/migration/migration-tool-internal-spec.html

10
  • hi @Anshu Mishra, can we migrate only customers and orders? Commented Nov 22, 2018 at 15:19
  • @jafarpinjar Yes Commented Nov 22, 2018 at 17:02
  • I have migrated all data successfully, now i need to migrate latest orders n customers, can you provide me the steps please how to migrate only customers n order? Commented Nov 23, 2018 at 7:22
  • hi @Anshu mishra, I am getting below error. Notice: Undefined offset: 9 in vendor\magento\data-migration-tool\src\Migration\Step\Eav\Data.php on line 292 Commented Apr 12, 2019 at 9:31
  • IN which file do i need to turn off? I am migrating data from 1.9 to 2.3, ce-ce version Commented Apr 12, 2019 at 9:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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