You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
* DOCS-3023: Corrected info in PR 3023
Fixed migration troubleshooting section and removed existing troulbeshoot info from delta migration topic.
* Update migration-troubleshooting.md
@victor-v-rad, fixed for clarity, but am not sure I understand the second paragraph of the Explanation. Please clarify. thanks
* DOCS-3023: Corrected info in PR 3023
Improving description of how the delta mode works for migration
* DOCS-3023: Corrected info in PR 3023
Rewrote explanation for clarity.
* DOCS-3023: Corrected info in PR 3023
Fixed some GSP issues.
* DOCS-3023: Corrected info in PR 3023
Fixed some GSP issues
* DOCS-3023: Corrected info in PR 3023
Fixed links and code blocks
Copy file name to clipboardExpand all lines: guides/v2.1/migration/migration-migrate-delta.md
+1-7Lines changed: 1 addition & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ functional_areas:
11
11
12
12
## Overview
13
13
14
-
The incremental migration tool installs deltalog tables (with prefix m2_cl_*) and triggers to Magento 1 database during the [migration of data]({{ page.baseurl }}/migration/migration-migrate-data.html). It enables you to migrate only the changes made in Magento 1 since the last time you migrated data. These changes are:
14
+
The incremental migration tool installs deltalog tables (with prefix `m2_cl_*`) and triggers (for tracking changes) in the Magento 1 database during the [migration of data]({{ page.baseurl }}/migration/migration-migrate-data.html). These deltalog tables and triggers are essential to ensuring that you migrate only the changes made in Magento 1 since the last time you migrated data. These changes are:
15
15
16
16
* data that customers added via {% glossarytooltip 1a70d3ac-6bd9-475a-8937-5f80ca785c14 %}storefront{% endglossarytooltip %} (created orders, reviews, changes in customer profiles, etc.)
17
17
@@ -37,12 +37,6 @@ where
37
37
38
38
*`{<path to config.xml>}` is the absolute file system path to `config.xml`; this argument is required.
39
39
40
-
You must have the tables the migration initially created in the Magento 1 database in order to perform and retain the delta migration. If you wipe the Magento 1 database and try to do the delta, it will fail with the following error:
41
-
42
-
Deltalog for customer_entity is not installed
43
-
44
-
As an example, if you have Magento 1 on one server and Magento 2 on another that can't access the live Magento 1 database, you may need to copy the Magento 1 database over. In this case if you drop and overwrite the database, you will lose those special tables.
45
-
46
40
{: .bs-callout .bs-callout-info }
47
41
Incremental migration runs continuously until you stop it by pressing CTRL+C.
Copy file name to clipboardExpand all lines: guides/v2.1/migration/migration-tool-internal-spec.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -284,7 +284,7 @@ Under node <code><value></code> there are rules that work with 'value' col
284
284
285
285
### Data migration mode
286
286
287
-
In this mode most of the data will be migrated. Before data migration the integrity check stages run for each step. If integrity check passed the Data Migration Tool installs deltalog tables (with prefix m2_cl_*) and corresponding triggers to Magento 1 database. And runs data migration stage of steps. When migration is completed without errors the volume check checks data consistency. It can show a warning message if you migrate live store. Do not worry, delta migration will take care of this incremental data. Next the most valuable migration steps are described. It is Map Step, URL Rewrite Step, EAV Step.
287
+
In this mode most of the data will be migrated. Before data migration the integrity check stages run for each step. If the integrity check passes, the Data Migration Tool installs deltalog tables (with prefix `m2_cl_*`) and corresponding triggers to the Magento 1 database and runs data migration stage of steps. When migration is completed without errors, the volume check checks data consistency. It can show a warning message if you migrate the live store. Do not worry, delta migration will take care of this incremental data. The most valuable migration steps are Map, URL Rewrite, and EAV.
Copy file name to clipboardExpand all lines: guides/v2.2/migration/migration-tool-internal-spec.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -301,7 +301,7 @@ Under node <code><value></code> there are rules that work with 'value' col
301
301
302
302
### Data migration mode
303
303
304
-
In this mode most of the data will be migrated. Before data migration the integrity check stages run for each step. If integrity check passed the Data Migration Tool installs deltalog tables (with prefix m2_cl_*) and corresponding triggers to Magento 1 database. And runs data migration stage of steps. When migration is completed without errors the volume check checks data consistency. It can show a warning message if you migrate live store. Do not worry, delta migration will take care of this incremental data. Next the most valuable migration steps are described. It is Map Step, URL Rewrite Step, EAV Step.
304
+
In this mode most of the data will be migrated. Before data migration the integrity check stages run for each step. If the integrity check passes, the Data Migration Tool installs deltalog tables (with prefix `m2_cl_*`) and corresponding triggers to the Magento 1 database and runs data migration stage of steps. When migration is completed without errors, the volume check checks data consistency. It can show a warning message if you migrate the live store. Do not worry, delta migration will take care of this incremental data. The most valuable migration steps are Map, URL Rewrite, and EAV.
Copy file name to clipboardExpand all lines: guides/v2.2/migration/migration-troubleshooting.md
+20-26Lines changed: 20 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,6 @@
1
1
---
2
2
group: migration-guide
3
-
subgroup: F_troubleshooting
4
3
title: Troubleshooting
5
-
menu_title: Troubleshooting
6
-
menu_node: parent
7
-
menu_order: 6
8
4
---
9
5
10
6
## Common error messages
@@ -13,13 +9,13 @@ This section is about the errors that might occur when you run the Data Migratio
13
9
14
10
### Source documents/fields not mapped
15
11
16
-
{% highlight xml %}
12
+
```xml
17
13
Source documents are not mapped: <EXTENSION_TABLE>
18
-
{% endhighlight %}
14
+
```
19
15
20
-
{% highlight xml %}
16
+
```xml
21
17
Source fields are not mapped. Document: <EXTENSION_TABLE>. Fields: <EXTENSION_FIELD>
22
-
{% endhighlight %}
18
+
```
23
19
24
20
In rare cases, the message might mention `Destination documents` or `Destination fields` instead of source ones.
25
21
@@ -41,21 +37,21 @@ This message appears because the Data Migration Tool runs internal tests to veri
41
37
42
38
To ignore database entities, add the `<ignore>` tag to an entity in the `map.xml` file, like this:
43
39
44
-
{% highlight xml %}
40
+
```xml
45
41
<ignore>
46
42
<field>sales_order_address_id</field>
47
43
</ignore>
48
-
{% endhighlight %}
44
+
```
49
45
50
46
{: .bs-callout .bs-callout-warning }
51
47
Before ignoring entities by map file or using the `-a` option, make sure you do not need the affected data in your Magento 2 store.
52
48
53
49
### Class does not exist but mentioned
54
50
55
-
{% highlight xml %}
51
+
```xml
56
52
Class <extension/class_name> does not exist but mentioned in:
57
53
<eav_attribute.frontend_model> for <attribute_id=196>
58
-
{% endhighlight %}
54
+
```
59
55
60
56
#### Explanation
61
57
@@ -75,11 +71,11 @@ A class from Magento 1 codebase could not be found in Magento 2 codebase during
75
71
76
72
#### Error message text
77
73
78
-
{% highlight xml %}
74
+
```xml
79
75
Foreign key <KEY_NAME> constraint fails.
80
76
Orphan records id: <id_1>, <id_2> from <child_table>.
81
77
<field_id> has no referenced records in <parent_table>
82
-
{% endhighlight %}
78
+
```
83
79
84
80
#### Explanation
85
81
@@ -93,11 +89,11 @@ To keep the records, disable the `Data Integrity Step` by modifying the Data Mig
93
89
94
90
### Duplicates in URL rewrites
95
91
96
-
{% highlight xml %}
92
+
```xml
97
93
There are duplicates in URL rewrites:
98
94
Request path: towel.html Store ID: 2 Target path: catalog/product/view/id/10
99
95
Request path: towel.html Store ID: 2 Target path: catalog/product/view/id/12
100
-
{% endhighlight %}
96
+
```
101
97
102
98
#### Explanation
103
99
@@ -111,9 +107,9 @@ This configuration adds a hash-string to the conflicting records of {% glossaryt
111
107
112
108
### Mismatch of entities
113
109
114
-
{%highlight xml%}
110
+
```xml
115
111
Mismatch of entities in the document: <DOCUMENT>
116
-
{%endhighlight%}
112
+
```
117
113
118
114
#### Explanation
119
115
@@ -127,18 +123,16 @@ Run the Data Migration Tool in `Delta` mode to transfer incremental changes.
127
123
128
124
### Deltalog is not installed
129
125
130
-
{%highlight xml%}
131
-
Deltalog for <DATABASE> is not installed
132
-
{%endhighlight%}
126
+
```xml
127
+
Deltalog for <TABLE_NAME> is not installed
128
+
```
133
129
134
130
#### Explanation
135
131
136
-
This error occurs during the process of incremental migration of changes to data. It means the delta migration of changes made in Magento 1 since the last time you migrated data was not performed properly and retained.
132
+
This error occurs during [incremental migration]({{ page.baseurl }}/migration/migration-migrate-delta.html) of changes to data. It means deltalog tables (with prefix `m2_cl_*`) were not found in Magento 1 database. The tool installs these tables during [data migration]({{ page.baseurl }}/migration/migration-migrate-data.html) as well as database triggers which track changes and fill deltalog tables.
137
133
138
-
Delta migrations can fail when you wipe the Magento 1 database before doing the delta, since this action erases the tables created during the initial migration of data into the Magento 1 database. These tables are needed to perform the delta migration properly.
134
+
One reason for the error could be that you are trying to migrate from a *copy* of your live Magento 1 store, not from the live store itself. When you make a copy from a live Magento 1 store that has never been migrated, the copy does not contain the triggers and additional deltalog tables needed to complete a delta migration, so the migration fails. The Data Migration Tool does NOT make comparisons between the DB of M1 and M2 to migrate the differences. Instead, the tool uses the triggers and deltalog tables installed during the first migration in order to perform subsequent delta migrations. In such a case, your copy of the live Magento 1 DB will not contain the triggers and deltalog tables that the Data Migration Tool uses to perform a migration.
139
135
140
136
#### Possible solution
141
137
142
-
Do not wipe the Magento 1 database before the delta migration process is complete in order to keep your initial migration tables.
143
-
144
-
If you have Magento 1 on one server and Magento 2 on another that can't access the live Magento 1 database, you may need to copy the Magento 1 database over first. Otherwise if you drop and overwrite the database, you will lose those special tables.
138
+
We recommended testing the migration process from a copy of your Magento 1 database to fix your migration issues. After fixing the issues on the copy, start the migration process over again from your live Magento 1 database. This will help ensure a smooth migration process.
0 commit comments