I am trying to use the data migration tool to move from to 2.1.6. When I run this command

php magento migrate:settings /files/magento2/project-community-edition/vendor/magento/data-migration-tool/etc/ce-to-ce/

I get a

Invalid config filesname: /files/magento2/project-community-edition/vendor/magento/data-migration-tool/etc/ce-to-ce/

The filepath to that file straight from Filezilla is


I can see config.xml in that location, I just can't figure it out. Any suggestions?


The path you see in Filezilla is relative to your home directory, so in the shell you have to prefix it with ~, which expands to the home directory. Otherwise the path is relative to the root directory /, which is obviously wrong.

php magento migrate:settings ~/files/magento2/project-community-edition/vendor/magento/data-migration-tool/etc/ce-to-ce/

(assuming that you run it with the same user)

  • That was it! You have no idea how much I appreciate that!
    – tjjen
    Apr 21 '17 at 19:37

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.