1

I am trying to use the data migration tool to move from 1.9.3.2 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/1.9.3.2/config.xml

I get a

Migration\Exception     
Invalid config filesname: /files/magento2/project-community-edition/vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.3.2/config.xml

The filepath to that file straight from Filezilla is

/files/magento2/project-community-edition/vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.3.2/config.xml

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

1

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/1.9.3.2/config.xml

(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.