1

I spent all day yesterday attempting to make sure Magento 2.0.2 cron is setup correctly and working, that I fully disabled cache and that my indexers were working. Thought I was done.

Just logged in this morning to this frustrating message:

enter image description here

What am I doing wrong? How can I get Magento 2.0 to work? How can I get the indexers to index?

H. Ferrence
  • 1,041
  • 4
  • 17
  • 26
  • 5
    check this http://magento.stackexchange.com/questions/90510/magento-2-reindexing-one-or-more-indexers-are-invalid-make-sure-your-magento – Manashvi Birla May 06 '16 at 10:50
  • Ok, thanks @Manashvibirla. Yesterday, I had it in my crontab (running every minute). All was well. Then somewhere along the way someone posted it was not good to have it in cron. Right now, I don't care. I'm putting it back in cron. (Wow, is Magneto overly complex.) – H. Ferrence May 06 '16 at 10:55

2 Answers2

3

You should Run CLI command : php bin/magento indexer:reindex

Anil Suthar
  • 4,731
  • 1
  • 14
  • 22
  • Yep...Yesterday, I had it in my crontab (running every minute). All was well. Then somewhere along the way someone posted it was not good to have it in cron. Right now, I don't care. I'm putting it back in cron. Thanks @AnilSuthar – H. Ferrence May 06 '16 at 10:55
  • avoid giving answers to already existing questions.!! mark it as duplicate instead – Manashvi Birla May 06 '16 at 11:19
1

Alternative solution add php bin/magento indexer:reindex command at cronjob.

I have follow this and it has been working at any system

Amit Bera
  • 77,456
  • 20
  • 123
  • 237
  • That's what I had in there yesterday. I just put it back in and all is well for the moment. Now the hard part...trying to upgrade from 2.0.2 to 2.0.4 without Magento Freezing and locking me out again. – H. Ferrence May 06 '16 at 11:00
  • 1
    avoid giving answers to already existing questions.!! mark it as duplicate instead – Manashvi Birla May 06 '16 at 11:19