Wednesday, May 9, 2018

Elastic search FORBIDDEN/12/index read-only / allow delete

You have faced the problem - on update index it doesnt changes and gives the error ? The error appears after your index is locked and changes to read only. Reason for that is because of not enough storage on your machine hard drive.

Here what to do:

  1. Clean hard disk, because it has not enough space... Remove cache, Remove unused files and so on... find trash and just delete it... 
  2. Update elastic search cluster index settings with parameter ( 'index.blocks.read_only_allow_delete' => null - source: ) 
  3. Once you do previous steps, you will be able to make updates to index.
Comment if it helped you. Else write comment what was different, so other visitors might find your comment useful.

No comments:

Post a Comment