Unrecoverable indexation failures Error!

Hi guys,
We have a local SorQube. It was working fine but recently I get the following error in Background tasks:
Error message: Unrecoverable indexation failures: 1 errors among 1 requests
It actually happens when Jenkins fires the analysis.

Please find the attachment screenshot.

Thanks,
Soheil

Hi,

Did you find any more details in the ce.log ?

Hi Pierre,
I checked the server and ce.log,I can see the followings,not sure if it’s related:

2019.11.12 09:44:51 INFO web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2019.11.12 09:44:52 INFO web[o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2019.11.12 09:44:52 ERROR web[o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];

Thanks,
Soheil

it is indeed related. Elasticsearch indexes get locked in read-only when your remaining disk space get critical and hit the high watermark (95%)

https://www.elastic.co/guide/en/elasticsearch/reference/current/disk-allocator.html

Free some space on your devide hosting the /data folder, and restart SQ. indexes are switched back to read-write at startup.

Thanks Pierre!
I logged into the machine and removed the content of the SQ_HOME/data/es6/ directory and then restarted the SonarQube and it works now!
As SonarQube is running inside a docker instance, I will try to give it more space.