3

How can I install the magento2 data-migration-tool manual without composer?

Already I copied the complete "data-migration-tool"-folder in vendor/magento. When I try to use migrate commands (ex. "migrate:settings"...) in magento root folder, I get the error:

[InvalidArgumentException]
There are no commands defined in the "migrate" namespace.

I forgot something?

For the question why I want to install without composer. See here: Installing Data-Migration-Tool with Composer: git not found error

2

In case you run into this problem, check if your magento binary is working alright by running: bin/magento --version That should output the version number, but in my case it showed errors related to folder and file permissions. After running:

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \; 
find ./var -type d -exec chmod 777 {} \;
find ./pub/media -type d -exec chmod 777 {} \;
find ./pub/static -type d -exec chmod 777 {} \;
chmod 777 ./app/etc
chmod 644 ./app/etc/*.xml
chmod +x bin/magento

the magento binary was working fine and so was the migration command.

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.