I'm currently trying to migrate from M1 to M2 using the data migration tool provided by magento. After configuring config.xml and running the command:

php bin/magento migrate:settings --reset vendor/magento/data-migration-tool/etc/opensource-to-opensource/

I receive the following errors:

[2020-02-26 15:27:26][ERROR]: Source documents are not mapped: core_store,core_store_group,core_website
[2020-02-26 15:27:26][ERROR]: Destination documents are not mapped: store,store_group,store_website

I've checked my config for map.xml.dist and I've checked my map.xml.dist for ignoring the documents, so I'm confused and need help.

Anyone pls?

My config.xml changes:

    <database host="" name="somename" user="someuser" password="somepassword"/>
    <database host="" name="somename" user="someuser" password="somepassword"/>


Database m1 screenshot: Database m1 screenshot

Database m2 screenshot: Database m2 screenshot

SOLUTION: Apparently I switched the names between my m1 db name and my m2 db name in my config.xml.


Your issues is source_prefix and dest_prefix error.

You add the source prefix.

Open the config.xml file and search the source_prefix and add the your magento 1 database source prefix


<source_prefix>add the magento 1 database prefix</source_prefix>
  • Don't understand. My table_prefix is empty? – Daniel Something Feb 26 '20 at 19:38
  • Please send the your database table screenshot – Mohit Patel Feb 27 '20 at 3:51
  • I've added them in the question :) – Daniel Something Feb 27 '20 at 7:16
  • Magento 1 database table image please one new add because I have not understand this images – Mohit Patel Feb 27 '20 at 7:29
  • The upper one is my m1 database. I imported my m1 database into the server of where my m2 database is. – Daniel Something Feb 27 '20 at 7:35

Rename Magento 1 table with Magento 2 in map.xml.dist file.

<?xml version="1.0" encoding="UTF-8"?>
<map xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="map.xsd">
  • What? Not sure I understand... I have this file. This is my map-stores.xml. Atleast some of it. – Daniel Something Feb 27 '20 at 7:38
  • Add rename in map.xml.dist. – Dhaduk Mitesh Feb 27 '20 at 8:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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