I'm trying to upgrade Magento (from ver. through the CLI using PuTTY. I'm following this guide:

Magento isn't upgradable through Magento Connect Manager

But it always give me same error whatever I write. "No such file or directory"

What is the problem?

Thank you very much in advance for any suggestion.

enter image description here

1 Answer 1


Simply replace the magento file in bin directory with the new one and run the following command on magento file if your host is linux:

sudo chmod u+x bin/magento enter image description here

Note: Before running bash command make sure your current working directory must be Magento 2.x root.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.