cancel
Showing results for 
Search instead for 
Did you mean: 

php bin/magento setup:upgradeCould not open input file: bin/magento

php bin/magento setup:upgradeCould not open input file: bin/magento

Trying to use the following commands:

php bin/magento setup:upgrade

php bin/magento indexer:reindex

 

But I get this messagen:

Could not open input file: bin/magento

 

 

What to do?

1 REPLY 1

Re: php bin/magento setup:upgradeCould not open input file: bin/magento

Hi,

 

Are you in the root magento folder?

Can you change directory into the bin folder? 

 

cd bin

 

and can you see any files in this directory?

 

ls -la

 

Sounds to me like your trying to execute the command from a directory that cannot see the bin directory

 

brendan

Developer