문제

So I know this used to be a common problem in M1.x. However, I only recently noticed this in our M2.1.3 environment.

Notice the Processing date

How can I flush/wipe the Category flat data index and rebuild from scratch?

도움이 되었습니까?

해결책

It normally happens when the memory limit is few, so increase on your .htaccess or NGINX config.

Run this command on your MySQL:

update indexer_state set status = 'invalid' where status != 'valid';

On you terminal run:

alias mage="php -d memory_limit=-1 -f bin/magento"
mage indexer:reindex

다른 팁

You can also check mview_state table and set status to idle on that indexer then run it from cli with

php bin/magento indexer:reindex catalog_category_flat

If it break you should see some stack trace in the console

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top