3

I cannot see new customers in my M2 backend customers list and I figure out it's happening because my "Customer Grid" is not reindexed(Reindex required), Here is manual method to re-index CLI: php bin/magento indexer:reindex but how to make reindex automatically? like cronjob?

  • by doing reindex it's Skipping customer_grid? – Ankit Shah Feb 8 '17 at 9:34
4

That's correct. In Magento 2, the indexing process is triggerred by the cron and cannot be triggered manually anymore.

To setup your cron I suggest you follow the official documentation: http://devdocs.magento.com/guides/v2.1/config-guide/cli/config-cli-subcommands-cron.html

  • Can I use cPanel cron job? like this $ php-cli /home/myuser/public_html/bin/magento indexer:reindex – Riyas Muhammed Feb 8 '17 at 9:47
  • @RiyasMuhammed I guess so yes. Give it a try – Raphael at Digital Pianism Feb 8 '17 at 9:48
  • Ok for now I have set php bin/magento cron:run let see how its work!!!! – Riyas Muhammed Feb 8 '17 at 9:56
4

Had the same problem after a migration from 1.9.x to 2.1.x

php bin/magento cron:run

php bin/magento indexer:reindex

• Flush Magento cache

Make sure you setup your crons correctly as @Raphael suggested

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.