In Magento 2, after you change your system configurations, there will be a system message saying “One or more indexers are invalid. Make sure your Magento cron job is running.

One or more endexers are invalid
One or more endexers are invalid – Magento 2

What is Magento cron job?

Several Magento features require at least one cron job, which schedules activities to occur in the future. A partial list of these activities follows:

  • Catalog price rules
  • Newsletters
  • Generating Google sitemaps
  • Customer Alerts/Notifications (product price change, product back in stock)
  • Reindexing
  • Private sales (Magento Commerce only)
  • Automatic updating of currency rates
  • All Magento e-mails (including order confirmation and transactional)

Magento depends on proper cron job configuration for many important system functions, including indexing. Failure to set it up properly means Magento won’t function as expected.

How to solve it?

To get rid of this message, you need to perform reindex task using command line.

  1. Open your command line tool (SSH or Terminal)
    ssh login
  2. Go to your Magento 2 root folder
    magento 2 root folder
  3. Type this command to reindex: php bin/magento indexer:reindexmagento indexer reindex
  4. Go back to your backend, close the popup message and refresh the page.
    Magento 2 indexers invalid

 

See more:
Warning: Your Magento folder does not have sufficient write permissions
Magento 2 “Invalid Form Key”

Magento 2 Error: One or more indexers are invalid
5 (100%) 1 vote
SHARE
A knowledge craver who always strive to be wiser everyday.

6 COMMENTS

LEAVE A REPLY