4

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

asked Apr 29, 2016 at 11:55
1
  • have you solved it Commented Jul 14, 2016 at 5:31

1 Answer 1

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.

answered Feb 22, 2017 at 12:57

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.