-
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 #15
Comments
Hi Jeffery-Li, Please check /var/migration.log file and let me know your detail issue. |
Same Problem here (trying to migrate magento ce 1.9.0.1-shop. Processing breaks at SalesIncrement Step. Unfortunately migration.log does not help, as it only shows as last line [INFO][mode: data][stage: integrity check][step: SalesIncrement Step]: started There is no further info regarding the error visible in the log file... |
I tracked down the following (problem? bug?): In the step In
array(10) {
[0]=>
string(14) "url_rewrite_id"
[1]=>
string(8) "store_id"
[2]=>
string(11) "category_id"
[3]=>
string(10) "product_id"
[4]=>
string(7) "id_path"
[5]=>
string(12) "request_path"
[6]=>
string(11) "target_path"
[7]=>
string(9) "is_system"
[8]=>
string(7) "options"
[9]=>
string(11) "description"
}
array(10) {
[0]=>
string(14) "url_rewrite_id"
[1]=>
string(8) "store_id"
[2]=>
string(7) "id_path"
[3]=>
string(12) "request_path"
[4]=>
string(11) "target_path"
[5]=>
string(9) "is_system"
[6]=>
string(7) "options"
[7]=>
string(11) "description"
[8]=>
string(11) "category_id"
[9]=>
string(10) "product_id"
} You should probably optimize that comparison, because it eventually raises the |
You could e.g. use |
I created a pull request: |
I'm getting the same problem, but I'm upgrading from 1.7.0.2CE to 2.0.0.CE, so I don't think the array mismatch as described above applies. Here are some relevant bits: Here are the contents of my migration-tool-progress.lock: |
I stand corrected. The perform() method in Version191to2000.php is being called when I try to upgrade 1.7.0.2CE -> 2.0.0 CE. |
same problem here from 1.7.0.2 to 2.0. Thanks! |
@andidhouse you could add these changes to If that alone does not solve the problem, you may use this code to further determine which step exactly is generating the error: #19 (comment) |
Hey @JJJeffery, @andidhouse ! |
I can confirm that the solution from @bh-ref worked for me. I went from 1.8.1 to 2.0.0 I patched using this: https://github.com/magento/data-migration-tool-ce/pull/25/files |
According internal issue (MAGETWO-47117) was created to solve it |
@victor-v-rad I see in our JIRA that the task is done... |
Yes. Previously UrlRewrite step did integrity check fail without any errors. But now it works more appropriate and show detailed error message if something wrong |
same problem here from 1.9.0.1 to 2.1.2 |
Just fix the things you are ignoring on both |
bin/magento migrate:data -r vendor/magento/data-migration-tool/etc/ce-to-ce/1.7.0.1/config.xml
Reset the current position of migration to start from the beginning
[2015-12-07 06:11:57][INFO][mode: data][stage: integrity check][step: EAV Step]: started
100% [============================] Remaining Time: 1 sec
[2015-12-07 06:11:58][INFO][mode: data][stage: integrity check][step: Customer Attributes Step]: started
100% [============================] Remaining Time: 1 sec
[2015-12-07 06:11:58][INFO][mode: data][stage: integrity check][step: Map Step]: started
100% [============================] Remaining Time: 1 sec
[2015-12-07 06:12:05][INFO][mode: data][stage: integrity check][step: Url Rewrite Step]: started
100% [============================] Remaining Time: 1 sec
[2015-12-07 06:12:05][INFO][mode: data][stage: integrity check][step: Log Step]: started
100% [============================] Remaining Time: 1 sec
[2015-12-07 06:12:05][INFO][mode: data][stage: integrity check][step: Ratings Step]: started
100% [============================] Remaining Time: 1 sec
[2015-12-07 06:12:05][INFO][mode: data][stage: integrity check][step: ConfigurablePrices step]: started
100% [============================] Remaining Time: 1 sec
[2015-12-07 06:12:05][INFO][mode: data][stage: integrity check][step: OrderGrids Step]: started
100% [============================] Remaining Time: 1 sec
[2015-12-07 06:12:05][INFO][mode: data][stage: integrity check][step: Tier Price Step]: started
100% [============================] Remaining Time: 1 sec
[2015-12-07 06:12:05][INFO][mode: data][stage: integrity check][step: SalesIncrement Step]: started
100% [============================] Remaining Time: 1 sec
[Migration\Exception]
Integrity Check failed
The text was updated successfully, but these errors were encountered: