cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with my magento 2.3 CLI

Need help with my magento 2.3 CLI

I am trying to install mailchimp for my magento 2.3 store. 

I ran the command composer require mailchimp/mc-magento2:102.3.37” to install it via mailchimp. It was downloaded and installed.

 

However, when I tried to run the upgrade command "php bin/magento setup:upgrade" nothing happpens and my website is down!

 

None of the php command works. 

Can someone please help me?Screen Shot 2019-10-15 at 10.42.11 AM.pngScreen Shot 2019-10-15 at 10.31.14 AM.png

2 REPLIES 2

Re: Need help with my magento 2.3 CLI

Hi @sukesh_m,

Make sure that you have run the "comoser update" as well.

Try the following command once if permission are incorrect:

find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento



You can use sudo as well.

Then executes the following commands once in the sequence.

chmod -R 0777 var/ pub/ generated/
rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/*
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
php bin/magento indexer:reindex
chmod -R 0777 var/ pub/ generated/

I hope it will help you!

Re: Need help with my magento 2.3 CLI

After upgrade command you also have to run

 

bin/magento setup:di:compile

 

and

 

bin/magento setup:static-content:deploy