cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1 to Magento 2 upgrade issue

Magento 1 to Magento 2 upgrade issue

Hello,

 

I am having an issue with upgrading Magento 1.7 to 2.1.

 

I have installed the data migration tool and created the config file as per the Magento guidelines however I get an error when trying to execute the migration command.

 

This is the error:

[Magento\Framework\Config\Dom\ValidationException]
Extra content at the end of the document
Line: 4

 

This is the config file contents:

 

<source>
<database host="xx.xx.xx.x" name="magento_test" user="magento_test"/>
</source>
<destination>
<database host="localhost" name="magento_test" user="magento_test"/>
</destination>
<options>
<crypt_key>xxxxxxxxxxxxxxxxxxxxxxxxxxxxx</crypt_key>
</options>

There is no extra space after the destination tag, I have even tried putting all on one line and still gives the same extra content error.

 

Could I get some guidance on where I am going wrong please as the layout matches the example on the dev.magento site.

 

Thanks

1 REPLY 1

Re: Magento 1 to Magento 2 upgrade issue

Hello @christopher_cre,

 

You need to copy the file config.xml.dist to config.xml (keep the content), and only edit the source and destination database credentials.

 

Source: Configuring the migration