Magento 2 Migration Tool Error: Destination documents are not mapped: 0
I used the Data Migration Tool 2.0.2 for Magento 2.0.4.
I started the command line:
php bin/magento migrate:data <source of config.xml>
and get the Error in Step Log Step:
Source documents are not mapped: log_visitor
Destination documents are not mapped: customer_visitor
So I added ignore tags for customer_visitor and log_visitor in map-log.xml:
<source>
<document_rules>
<rename>
<document>log_visitor</document>
<to>customer_visitor</to>
</rename>
<ignore>
<document>log_visitor</document>
</ignore>
</document_rules>
<field_rules>
<ignore>
<field>log_visitor.first_visit_at</field>
</ignore>
<ignore>
<field>log_visitor.last_url_id</field>
</ignore>
<ignore>
<field>log_visitor.store_id</field>
</ignore>
</field_rules>
</source>
<destination>
<document_rules>
<ignore>
<document>log_visitor</document>
</ignore>
<ignore>
<document>customer_visitor</document>
</ignore>
</document_rules>
<field_rules>
<ignore>
<field>customer_visitor.customer_id</field>
</ignore>
</field_rules>
</destination>
After this I still get the error in Step Log Step:
Destination documents are not mapped: 0
What I have to do?
magento2 magento2-migration-tool
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I used the Data Migration Tool 2.0.2 for Magento 2.0.4.
I started the command line:
php bin/magento migrate:data <source of config.xml>
and get the Error in Step Log Step:
Source documents are not mapped: log_visitor
Destination documents are not mapped: customer_visitor
So I added ignore tags for customer_visitor and log_visitor in map-log.xml:
<source>
<document_rules>
<rename>
<document>log_visitor</document>
<to>customer_visitor</to>
</rename>
<ignore>
<document>log_visitor</document>
</ignore>
</document_rules>
<field_rules>
<ignore>
<field>log_visitor.first_visit_at</field>
</ignore>
<ignore>
<field>log_visitor.last_url_id</field>
</ignore>
<ignore>
<field>log_visitor.store_id</field>
</ignore>
</field_rules>
</source>
<destination>
<document_rules>
<ignore>
<document>log_visitor</document>
</ignore>
<ignore>
<document>customer_visitor</document>
</ignore>
</document_rules>
<field_rules>
<ignore>
<field>customer_visitor.customer_id</field>
</ignore>
</field_rules>
</destination>
After this I still get the error in Step Log Step:
Destination documents are not mapped: 0
What I have to do?
magento2 magento2-migration-tool
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
If I deleted <source><document_rules><ignore>log_visitor in map-log.xml I get the error: "Source documents are not mapped: log_visitor" But no "Destination documents are not mapped: 0" anymore. Any idea?
– Guest
Apr 25 '16 at 7:52
is there a reason you are not using the same data-migration tool as the magento install?
– circlesix
Feb 26 '17 at 4:33
add a comment |
I used the Data Migration Tool 2.0.2 for Magento 2.0.4.
I started the command line:
php bin/magento migrate:data <source of config.xml>
and get the Error in Step Log Step:
Source documents are not mapped: log_visitor
Destination documents are not mapped: customer_visitor
So I added ignore tags for customer_visitor and log_visitor in map-log.xml:
<source>
<document_rules>
<rename>
<document>log_visitor</document>
<to>customer_visitor</to>
</rename>
<ignore>
<document>log_visitor</document>
</ignore>
</document_rules>
<field_rules>
<ignore>
<field>log_visitor.first_visit_at</field>
</ignore>
<ignore>
<field>log_visitor.last_url_id</field>
</ignore>
<ignore>
<field>log_visitor.store_id</field>
</ignore>
</field_rules>
</source>
<destination>
<document_rules>
<ignore>
<document>log_visitor</document>
</ignore>
<ignore>
<document>customer_visitor</document>
</ignore>
</document_rules>
<field_rules>
<ignore>
<field>customer_visitor.customer_id</field>
</ignore>
</field_rules>
</destination>
After this I still get the error in Step Log Step:
Destination documents are not mapped: 0
What I have to do?
magento2 magento2-migration-tool
I used the Data Migration Tool 2.0.2 for Magento 2.0.4.
I started the command line:
php bin/magento migrate:data <source of config.xml>
and get the Error in Step Log Step:
Source documents are not mapped: log_visitor
Destination documents are not mapped: customer_visitor
So I added ignore tags for customer_visitor and log_visitor in map-log.xml:
<source>
<document_rules>
<rename>
<document>log_visitor</document>
<to>customer_visitor</to>
</rename>
<ignore>
<document>log_visitor</document>
</ignore>
</document_rules>
<field_rules>
<ignore>
<field>log_visitor.first_visit_at</field>
</ignore>
<ignore>
<field>log_visitor.last_url_id</field>
</ignore>
<ignore>
<field>log_visitor.store_id</field>
</ignore>
</field_rules>
</source>
<destination>
<document_rules>
<ignore>
<document>log_visitor</document>
</ignore>
<ignore>
<document>customer_visitor</document>
</ignore>
</document_rules>
<field_rules>
<ignore>
<field>customer_visitor.customer_id</field>
</ignore>
</field_rules>
</destination>
After this I still get the error in Step Log Step:
Destination documents are not mapped: 0
What I have to do?
magento2 magento2-migration-tool
magento2 magento2-migration-tool
asked Apr 22 '16 at 15:49
Guest
13829
13829
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
If I deleted <source><document_rules><ignore>log_visitor in map-log.xml I get the error: "Source documents are not mapped: log_visitor" But no "Destination documents are not mapped: 0" anymore. Any idea?
– Guest
Apr 25 '16 at 7:52
is there a reason you are not using the same data-migration tool as the magento install?
– circlesix
Feb 26 '17 at 4:33
add a comment |
If I deleted <source><document_rules><ignore>log_visitor in map-log.xml I get the error: "Source documents are not mapped: log_visitor" But no "Destination documents are not mapped: 0" anymore. Any idea?
– Guest
Apr 25 '16 at 7:52
is there a reason you are not using the same data-migration tool as the magento install?
– circlesix
Feb 26 '17 at 4:33
If I deleted <source><document_rules><ignore>log_visitor in map-log.xml I get the error: "Source documents are not mapped: log_visitor" But no "Destination documents are not mapped: 0" anymore. Any idea?
– Guest
Apr 25 '16 at 7:52
If I deleted <source><document_rules><ignore>log_visitor in map-log.xml I get the error: "Source documents are not mapped: log_visitor" But no "Destination documents are not mapped: 0" anymore. Any idea?
– Guest
Apr 25 '16 at 7:52
is there a reason you are not using the same data-migration tool as the magento install?
– circlesix
Feb 26 '17 at 4:33
is there a reason you are not using the same data-migration tool as the magento install?
– circlesix
Feb 26 '17 at 4:33
add a comment |
2 Answers
2
active
oldest
votes
You absolutely have to use the same exact data migration tool version as your magento2 version, that's probably your problem because I've never had to modify the map-log file.
add a comment |
If anybody else runs into this issue, make sure the log_visitor, log_visitor_info, and log_visitor_online tables are in the source database. Since the log_visitor table grows to be Gigabytes in size, I've seen many database backups and migrations where those tables were left out.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f112207%2fmagento-2-migration-tool-error-destination-documents-are-not-mapped-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You absolutely have to use the same exact data migration tool version as your magento2 version, that's probably your problem because I've never had to modify the map-log file.
add a comment |
You absolutely have to use the same exact data migration tool version as your magento2 version, that's probably your problem because I've never had to modify the map-log file.
add a comment |
You absolutely have to use the same exact data migration tool version as your magento2 version, that's probably your problem because I've never had to modify the map-log file.
You absolutely have to use the same exact data migration tool version as your magento2 version, that's probably your problem because I've never had to modify the map-log file.
answered Dec 22 '16 at 17:43
Richard Cintorino
1
1
add a comment |
add a comment |
If anybody else runs into this issue, make sure the log_visitor, log_visitor_info, and log_visitor_online tables are in the source database. Since the log_visitor table grows to be Gigabytes in size, I've seen many database backups and migrations where those tables were left out.
add a comment |
If anybody else runs into this issue, make sure the log_visitor, log_visitor_info, and log_visitor_online tables are in the source database. Since the log_visitor table grows to be Gigabytes in size, I've seen many database backups and migrations where those tables were left out.
add a comment |
If anybody else runs into this issue, make sure the log_visitor, log_visitor_info, and log_visitor_online tables are in the source database. Since the log_visitor table grows to be Gigabytes in size, I've seen many database backups and migrations where those tables were left out.
If anybody else runs into this issue, make sure the log_visitor, log_visitor_info, and log_visitor_online tables are in the source database. Since the log_visitor table grows to be Gigabytes in size, I've seen many database backups and migrations where those tables were left out.
answered Sep 21 '17 at 22:56
Gary
164
164
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f112207%2fmagento-2-migration-tool-error-destination-documents-are-not-mapped-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If I deleted <source><document_rules><ignore>log_visitor in map-log.xml I get the error: "Source documents are not mapped: log_visitor" But no "Destination documents are not mapped: 0" anymore. Any idea?
– Guest
Apr 25 '16 at 7:52
is there a reason you are not using the same data-migration tool as the magento install?
– circlesix
Feb 26 '17 at 4:33