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


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.

|improve this answer|||||

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.