Showing results for 
Search instead for 
Did you mean: 

Admin of store - cleaning cache

Admin of store - cleaning cache



Have a store that is running V2, sitting on  2 VCores, 2Gb ram, 45GB SSD, with Ubuntu 14.04 x64.


The site works great and is fast, however every 4-6 days I get a printing error screen, so no frontend or backend.


Login via SSH and run the following commands:


php bin/magento indexer:reindex
php bin/magento cache:clean
php bin/magento cache:flush

And login via FTP to clean the cache under /var/www/html/var/cache.


Then everything works fine.


Is there anything that I can do to get this cache and reindexing to do it automatically, is it  case of setting up a cron job? or can you get a plugin/extension that will do it? Pretty new to Magento, so you may have to explain it in simple terms :-) Hahaha


I just don't want my site to be down, which is never a good look for  anew business.


Re: Admin of store - cleaning cache

Hi @Terryiom,


You mentioned an error, could you please share the error message or a screenshot?


Best regards.

If my answer was useful, please give "Kudos" to this post.
If my answer helps you to resolve the problem, click on "Accept as Solution".

Re: Admin of store - cleaning cache

Hi Gabriel,


I unfortunately deleted the logs, but will have a look next time it happens, no doubt in a few days time and then will post the logs here.