Thursday, 29 June 2017

Magento2


Command Magento2 Shell

sudo chmod -R 777 pub/ var/ && bin/magento cache:clean && bin/magento setup:upgrade && bin/magento setup:di:compile


Cache namespace issue

sudo rm -rf var/di/* var/generation/* var/cache/* var/page_cache/* var/view_preprocessed/* var/composer_home/cache/* && sudo chmod 777 var -R && sudo chmod 777 pub -R && sudo php bin/magento setup:static-content:deploy && sudo chmod 777 var -R && sudo chmod 777 pub -R

Correct permission for folders and files

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

No comments :

Post a Comment