Page 1 of 1

Magento updates: auto clearing of indexes and cache

Posted: Sat Oct 29, 2016 8:38 am
by jas8522
After the last couple magento updates, everything seems to go smoothly in terms of file updates and DB updates, but the caches aren't cleared, leaving sites down because their static files are trying to reference non-existent database tables. It would be great if Installatron could run these after an upgrade for us:

{magento_root}/shell/indexer.php --reindexall
{magento_root}/mage clear-cache
rm -rf {magento_root}/var/cache/*