문제

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?

도움이 되었습니까?

해결책

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)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top