enter image description here

I try to upgrade my site magento2.2.4 to magento2.2.6 but it shows the following error

1 Answer 1


Try after setting default file and folder permission as below.

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
find var pub/static pub/media app/etc -type f -exec chmod g+w {} \;
find var pub/static pub/media app/etc -type d -exec chmod g+ws {} \;
chmod u+x bin/magento
  • thank you I didn't understand clearly Commented Sep 20, 2018 at 6:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.