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?

1
  • by doing reindex it's Skipping customer_grid?
    – Jackson
    Commented Feb 8, 2017 at 9:34

2 Answers 2

5

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

3
  • Can I use cPanel cron job? like this $ php-cli /home/myuser/public_html/bin/magento indexer:reindex Commented Feb 8, 2017 at 9:47
  • @RiyasMuhammed I guess so yes. Give it a try Commented Feb 8, 2017 at 9:48
  • Ok for now I have set php bin/magento cron:run let see how its work!!!! Commented Feb 8, 2017 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 and acknowledge you have read our privacy policy.

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