This error (FORBIDDEN/12/index read-only) can be seen in Elasticsearch when hard disk usage crosses 90%, an API needs to be run to revert this back to read write after disk space is cleared.
- Check current disk usage
- Clear space if usage is more than 90%
- Remove read_only setting on index,
curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
Note: As per the documentation, we also recommend turning on log rotation on /var/opt/jfrog/mission-control/logs.