My Magento control panel is showing this message
One or more indexers are invalid. Make sure your Magento cron job is running.
I saw that I would have to give php bin/magento indexer:reindex
but every time I try to give this the following error appears:
Design Config Grid index has been rebuilt successfully in 00:00:00
Customer Grid indexer process unknown error:
Warning: SessionHandler::read(): open(/var/lib/php71/session/sess_8d4b0824fe8a35e6091a8fbec6a4ae9d, O_RDWR) failed: Permission denied (13) in /home/storage/9/d6/08/dogas/public_html/vendor/magento/framework/Session/SaveHandler/Native.php on line 22
Category Products indexer process unknown error:
Warning: SessionHandler::read(): open(/var/lib/php71/session/sess_8d4b0824fe8a35e6091a8fbec6a4ae9d, O_RDWR) failed: Permission denied (13) in /home/storage/9/d6/08/dogas/public_html/vendor/magento/framework/Session/SaveHandler/Native.php on line 22
Product Categories indexer process unknown error:
Warning: SessionHandler::read(): open(/var/lib/php71/session/sess_8d4b0824fe8a35e6091a8fbec6a4ae9d, O_RDWR) failed: Permission denied (13) in /home/storage/9/d6/08/dogas/public_html/vendor/magento/framework/Session/SaveHandler/Native.php on line 22
Product Price indexer process unknown error:
Warning: SessionHandler::read(): open(/var/lib/php71/session/sess_8d4b0824fe8a35e6091a8fbec6a4ae9d, O_RDWR) failed: Permission denied (13) in /home/storage/9/d6/08/dogas/public_html/vendor/magento/framework/Session/SaveHandler/Native.php on line 22
Product EAV index has been rebuilt successfully in 00:00:00
Stock index has been rebuilt successfully in 00:00:00
Catalog Rule Product indexer process unknown error:
Warning: SessionHandler::read(): open(/var/lib/php71/session/sess_8d4b0824fe8a35e6091a8fbec6a4ae9d, O_RDWR) failed: Permission denied (13) in /home/storage/9/d6/08/dogas/public_html/vendor/magento/framework/Session/SaveHandler/Native.php on line 22
Catalog Product Rule indexer process unknown error:
Warning: SessionHandler::read(): open(/var/lib/php71/session/sess_8d4b0824fe8a35e6091a8fbec6a4ae9d, O_RDWR) failed: Permission denied (13) in /home/storage/9/d6/08/dogas/public_html/vendor/magento/framework/Session/SaveHandler/Native.php on line 22
Catalog Search indexer process unknown error:
Warning: SessionHandler::read(): open(/var/lib/php71/session/sess_8d4b0824fe8a35e6091a8fbec6a4ae9d, O_RDWR) failed: Permission denied (13) in /home/storage/9/d6/08/dogas/public_html/vendor/magento/framework/Session/SaveHandler/Native.php on line 22
I see that I have to give permission for something but I do not know what. Someone could help me please.
EDIT: Solved! This post helped me a lot in that.
- I just had to add
session.save_path: