-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Migration\Exception] - Integrity Check failed 1.9.2.2 -> CE 2.0.0 #19
Comments
Hi quynhvv, |
@Vincenkt: |
@quynhvv |
@yaronish: But, i don't know how to edit this file to solve my above issues. Thanks. |
In case you do not need migrate this column just add next to map-eav.xml file under map/source/field_rules:
Also additional information about how to configure Data Migration Tool you can find here: |
@yaronish: But it still get this errors: Please help! |
From documentation I've specified (http://devdocs.magento.com/guides/v2.0/migration/migration-tool-configure.html): You have fixed EAV Step already. |
@yaronish: Thanks. |
You have not default M1 installation. I can suppose you are using Sample Data for M1 and it changes your M1 database. |
@yaronish: Thanks. |
@yaronish: |
@zivendesign |
@yaronish: |
Here in the my log: [2015-12-17 09:29:15][INFO][mode: data][stage: integrity check][step: EAV Step]: started Everything fine but still have the Issue like the image http://prntscr.com/9f6stf |
@zivendesign Put next code inside this method before existing code: \Migration\Step\SalesIncrement\Integrity::checkForErrors
|
@yaronish: [2015-12-17 09:29:15][INFO][mode: data][stage: integrity check][step: EAV Step]: started Everything fine but still have the Issue like the image http://prntscr.com/9f6stf |
Try to run the migration with -vvv option like this: |
Code after return statement is always ignored.
|
@yaronish: |
@zivendesign |
Here my show error: http://prntscr.com/9f76ti |
The latest screenshot does not show information after the error "Integrity Check failed". It should show trace information |
Here the code like @yaronish suggest: http://prntscr.com/9f7a4n and when i'm run the command like you suggest: php bin/magento migrate:data /var/www/magento2/vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.2.1/config.xml -vvv and it show up http://prntscr.com/9f7aj2 so please tell me next stepp @victor-v-rad |
@zivendesign why on screenshot is migrate:settings? please run migrate:data instead. |
Sorry @yaronish misstake here the issue: http://prntscr.com/9f7cld |
@zivendesign
Thanks. |
@yaronish I had the same problem, see #15 (comment) and the posts below. I do not know your exact problem, but if you make these changes it may work: https://github.com/magento/data-migration-tool-ce/pull/25/files |
@yaronish If you want to find out, which step is causing the problem, the following code should work: Locate the file protected function runIntegrity(StepList $steps)
{
$result = true;
foreach ($steps->getSteps() as $stepName => $step) {
if (!empty($step['integrity'])) {
$currentStepResult = $this->runStage($step['integrity'], $stepName, 'integrity check');
if (!$currentStepResult)
echo('There was an error in Step ' . $stepName);
$result = $currentStepResult && $result;
}
}
if (!$result) {
throw new Exception('Integrity Check failed');
}
} Now it should output which step generated the error. |
@yaronish: |
Ok. It seems deeper debugging required here. My skype: rad_victor. Let's chat there. |
@bh-ref I would also propose to make a dump of your mysql db schema (without data) of Magento 1 and Magento 2 and send it to me. So I could run the migration and see where is the problem. |
Hi @victor-v-rad, https://www.dropbox.com/s/smdg1nn6ywf9yaw/mag1.zip?dl=0 Thanks |
Hi @zivendesign |
fix works like a charme. Thanks for that! |
@mreichh you're welcome :) I hop the fix / pull request will soon be accepted, it seems like it affects quite a lot migrations |
Great, @quynhvv would you close the issue? |
Hi, I have also the same error, after running the migration: data command, it stuck at the salesIncrement attached the screenshot, I have EE 1.13.Magento 2.1.3 I have followed the above steps but error still exist, Any solution really appreciate Thanks |
add |
I am facing the same issue during data migrate from 1.9.3.2 to 2.1.9 [2018-01-02 14:01:00][INFO][mode: data][stage: integrity check][step: SalesIncrement Step]: started [Migration\Exception] |
Hi guys,
I have following the guide to use this tool at
http://devdocs.magento.com/guides/v2.0/migration/migration-migrate.html
I have finished the "Migrate settings" step
php -f /home/qvv/www/_shared/mage2/ce-200-dev/bin/magento migrate:settings -r /home/qvv/www/_shared/mage2/ce-200-dev/vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.2.2/config.xml
But the tool get errors at "Migrate data" step as the screenshots:
php -f /home/qvv/www/_shared/mage2/ce-200-dev/bin/magento migrate:data /home/qvv/www/_shared/mage2/ce-200-dev/vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.2.2/config.xml
and
Only websites, stores and some configs data was migrated to Magento 2 and no more.
and i can't finished the data migration on this step
Any ideas to solve that issues?
Thanks.
The text was updated successfully, but these errors were encountered: