cancel
Showing results for 
Search instead for 
Did you mean: 

bin/magento deleted when upgrading to Magento 2.2.0 using composer

Highlighted

Re: bin/magento deleted when upgrading to Magento 2.2.0 using composer

I've changed permissions for folders to 775 and for files to 664 and ownership to magento user, but I'm still facing this issue.

Is to possible to happen because I've installed magento by web and now i'm trying to upgrade with composer? 

Any other ideas?

Highlighted

Re: bin/magento deleted when upgrading to Magento 2.2.0 using composer

I just renamed 'vendor/magento/magento2-base' folder. After that I run 'composer install'. As a result, 'magento/magento2-base' package was automatically installed and everything worked again.

Highlighted

Re: bin/magento deleted when upgrading to Magento 2.2.0 using composer

Same issue different ticket - zero answers

Highlighted

Re: bin/magento deleted when upgrading to Magento 2.2.0 using composer

Please be more specific.

The folder "vendor/magento/magento2-base" is there before updating from 2.3.3 to 2.3.4.

Did you rename it to something else?

Thanx

Highlighted

Re: bin/magento deleted when upgrading to Magento 2.2.0 using composer

Only "chmod u+x bin/magento" helped me.

Highlighted

Re: bin/magento deleted when upgrading to Magento 2.2.0 using composer

@McLure  Yes, this is the folder that I renamed.

Highlighted

Re: bin/magento deleted when upgrading to Magento 2.2.0 using composer

Thanks a lot @sanuspg for the help. It saved my lot of time. After rename folder and run composer install command it's working for me. Thanks.