2

Hello i'm trying to do a reindex via CLI but I got this error: http://prntscr.com/kon1op

1
  • I think reindex has done but updated data not adding in cache because of file read and write issue
    – kunj
    Commented Aug 30, 2018 at 12:09

2 Answers 2

0

According to the screenshot its a permission issue:

run the below command under your magento root(/var/www/html/) to fix it:

cd /var/www/html
sudo chmod 777 -R var/cache

Then run indexer:reindex.

1
  • Welcome. Happy Coding! Commented Aug 30, 2018 at 12:26
1

It's permission issue. First set permission using chmod -R 777 /var/www/html/yourproject/var/cache.Hope it works.

0

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.