Magento updates: auto clearing of indexes and cache

For Installatron Sales: sales@installatron.com
Post Reply
jas8522
Posts: 61
Joined: Sat Jul 24, 2010 4:25 pm

Magento updates: auto clearing of indexes and cache

Post by jas8522 » Sat Oct 29, 2016 8:38 am

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/*

-Jordan

Post Reply