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?
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!
After upgrade command you also have to run
bin/magento setup:di:compile
and
bin/magento setup:static-content:deploy