Reindex Data Magento vía ssh (Shell)
1 2 3 | Código: php shell/indexer.php reindexall |
Aplicar comandos individualmente:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 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:
1 2 3 | Código: php ./shell/indexer.php -info |
Help Reindex:
1 2 3 | Código: php ./shell/indexer.php -help |
Reindex Mode:
1 2 3 | Código: php -f shell/indexer.php mode |
Cambiar Reindex Mode Manual:
1 2 3 | Código: php -f shell/indexer.php -- --mode-manual all |
Cambiar Reindex Mode Realtime:
1 2 3 | 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:
1 2 3 4 5 6 7 8 9 | 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+