vuestorefront / magento2-vsbridge-indexer

This is official Vue Storefront, native, Magento2 indexer
https://vuestorefront.io
MIT License
69 stars 89 forks source link

Error when trying to index the data to ES on 1.17.0 #283

Closed 1070rik closed 4 years ago

1070rik commented 4 years ago

Hey, last week we updated the package to 1.17 and since then whenever we try to index the data in ES we get the following error: WARNING: Indexation can't be executed. Some indices has invalid status: Vsbridge Product Indexer. Please change indices status to VALID manually.

When I looked in the code and saw where the error was thrown it had something to be with $indexer->isWorking() that is making the indexer "invalid"?

Any ideas on why this is happening? The same error occurs when I try it on a new index.

We're running ES V5.6.16 and Magento 2.3.5

1070rik commented 4 years ago

Closing this issue because I figured it out. Apparently the indexer was locked by another process so these are the command that I used to get it working again: bin/magento indexer:reset vsbridge_product_indexer bin/magento indexer:reindex vsbridge_product_indexer