Reindex Data Magento vía ssh (Shell)
Código: php shell/indexer.php reindexall
Aplicar comandos individualmente:
Código: php ./shell/indexer.php -reindex catalog_product_attribute php ./shell/indexer.php -reindex catalog_product_price php ./shell/indexer.php -reindex catalog_category_product php ./shell/indexer.php -reindex catalog_url php ./shell/indexer.php -reindex catalog_product_flat php ./shell/indexer.php -reindex catalog_category_flat php ./shell/indexer.php -reindex catalog_category_product php ./shell/indexer.php -reindex catalogsearch_fulltext php ./shell/indexer.php -reindex cataloginventory_stock php ./shell/indexer.php -reindex tag_summary
Reindex Status por ssh:
Código: php ./shell/indexer.php -info
Help Reindex:
Código: php ./shell/indexer.php -help
Reindex Mode:
Código: php -f shell/indexer.php mode
Cambiar Reindex Mode Manual:
Código: php -f shell/indexer.php -- --mode-manual all
Cambiar Reindex Mode Realtime:
Código: php -f shell/indexer.php -- --mode-realtime all
///////// 28-05-2016 //////////
Si en algún momento, reindexdata queda «pegado» y al querer reindexar la tienda, te manda el siguiente error:
Código: -bash-4.1$ php shell/indexer.php reindexall Stock Status Index process is working now. Please try run this process later. Product Prices Index process is working now. Please try run this process later. Catalog URL Rewrites Index process is working now. Please try run this process later. Product Flat Data Index process is working now. Please try run this process later. Category Flat Data Index process is working now. Please try run this process later. Category Products Index process is working now. Please try run this process later. Catalog Search Index Index process is working now. Please try run this process later.
Entonces ve a var/locks y borra todo lo que está dentro, y si eso no bastara, debes dar permiso 777 al directorio «locks» y verás que ahora si te funciona.
Magento Chile Google+