Elasticsearch error: cluster_block_exception [FORBIDDEN/12/index read-only / allow delete (api)], flood stage disk watermark exceeded - Stack Overflow

PHOTO EMBED

Fri Apr 02 2021 09:06:25 GMT+0000 (Coordinated Universal Time)

Saved by @ozgunn

curl -XPUT -H "Content-Type: application/json" http://elasticsearch:9200/_cluster/settings -d '{ "transient": { "cluster.routing.allocation.disk.threshold_enabled": false } }'
curl -XPUT -H "Content-Type: application/json" http://elasticsearch:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'

content_copyCOPY

https://stackoverflow.com/questions/50609417/elasticsearch-error-cluster-block-exception-forbidden-12-index-read-only-all