[![enter image description here][1]][1][![enter image description here][2]][2]I am trying to migrate data from magento 1 to magento 2. Magento 1 is on abc.com and magento 2 is on xyz.com domains. I am getting this error:

Warning: DOMDocument::loadXML(): Empty string supplied as input in /var/www/siteurl/vendor/magento/framework/Config/Dom.php on line 392

After running this command :

sudo php /var/www/siteurl/bin/magento migrate:settings -r /var/www/siteurl/vendor/magento/data-migration-tool/etc/opensource-to-opensource/

Please help me what I am missing.


1 Answer 1


when you are run command to migration magento to magento 2 at time..

You need to supply full filename path to XML file not just directory

also you can check Reference

  • Thanks but now getting this error
    – Charanjeet
    Commented Feb 6, 2019 at 11:00
  • SQLSTATE[HY000] [2002] Connection timed out
    – Charanjeet
    Commented Feb 6, 2019 at 11:00
  • you can check here answer for your error stackoverflow.com/a/47254965/10748606 Commented Feb 6, 2019 at 11:01
  • please check my screenshot added to question. Is it right.
    – Charanjeet
    Commented Feb 6, 2019 at 11:04
  • yes you can try now Commented Feb 6, 2019 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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