Skip to content

Instantly share code, notes, and snippets.

@andresams
Last active November 2, 2015 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andresams/03c3388c508f052b050a to your computer and use it in GitHub Desktop.
Save andresams/03c3388c508f052b050a to your computer and use it in GitHub Desktop.
Atualizar índices do Magento manualmente via SSH. Útil quando os índices ficam travados em "processing" (processando)
#Executar comandos individualmente na shell
php shell/indexer.php -reindex catalog_product_attribute
php shell/indexer.php -reindex catalogsearch_fulltext
php shell/indexer.php -reindex catalog_category_flat
php shell/indexer.php -reindex cataloginventory_stock
php shell/indexer.php -reindex catalog_category_product
php shell/indexer.php -reindex catalog_product_price
php shell/indexer.php -reindex tag_summary
php shell/indexer.php -reindex catalog_url
#Deletar arquivos do diretório var/locks/ e dar permissão 777 ao diretório após isso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment