1. Home
  2. Docs
  3. Troubleshooting
  4. Elasticsearch

Elasticsearch

If you receive an elastic search error when adding or updating a record, check the elasticsearch service is installed and running.

You can browse to http://locahost:9200 to check it’s running, it should show a json snippet.

If you see this error in the logs
[FORBIDDEN/12/index read-only / allow delete (api)]

Open POSTMAN and send the following JSON request to the elasticsearch interface

URL: http://localhost:9200/_settings
Method: PUT
Data: { “index.blocks.read_only_allow_delete”: null }

https://discuss.elastic.co/t/cluster-block-exception-reason-blocked-by-forbidden-12-index-read-only-allow-delete-api/162449/3

Then go to administrator – search and check that only the Customer module is being indexed, remove any others. Finally do a full reindex.

Was this article helpful to you? No Yes

How can we help?