Problem With Catalogsearch_fulltext Re-Indexing On Magento 2

If you try to index a document in ElasticSearch or try to re-indexing Magento 2 and you see an error message like this


php bin/magento indexer:reindex catalogsearch_fulltext Catalog Search indexer process unknown error: {"error":{"root_cause":[{"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"}],"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"},"status":403}

The problem is with ElasticSearch, namely that less than 5% of free space is left on the disk. In order for everything to work, except for releasing the required number of bytes, you still need to run the following command:

curl -XPUT -H "Content-Type: application/json" https://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'

Note:
The underlying reason that caused ElasticSearch to lock writes to the index was caused by exceeding the disk watermark/quota.

See How to disable ElasticSearch disk quota/watermark for details on how to work around that.

Credits:

StackOverflow solution by Imran273

Magento Website:

https://business.adobe.com/products/magento/magento-commerce.html

Share:

More Posts

March 2022 – Kids on the Yard PR

“I can relate to this! Parents having a very tough time keeping their kids educational on track…” Sarah Maruani, a first-grade teacher, has founded Kids

Happy smiling arab schoolgirl using phone for virtual online study at home.

Online Summer Camp 2022

Numerous schools are supplying online guideline to struggling visitors. Unfortunately, there is an absence of research study on the effect of online small-group analysis intervention,

Sign up for our newsletters

SEO

Book Now Free SEO Consultation

Commerce

Take your ecommerce site to next the level

Development

Website Development

Announce

New
arrival

2019 collection

Let’s face it, no look is really complete without the right finishes. Not to the best of standards, anyway (just tellin’ it like it is, babe). Upgrading your shoe game. Platforms, stilettos, wedges, mules, boots—stretch those legs next time you head out, then rock sliders, sneakers, and flats when it’s time to chill.