Unable to update to 9.3.0 or newer on Kubernetes cluser

Hi,

We’re unable to update our SonarQube to 9.3.0 or 9.5.0.

We are currently running version 9.2.4 in a Kubernetes cluster (1.23.3), which runs fine.
Both 9.3.0 and 9.5.0 fail with the same error message.

Caused by: java.util.concurrent.ExecutionException: org.apache.lucene.index.CorruptIndexException: checksum failed (hardware problem?) : expected=f736ed01 actual=298dcde2 (resource=BufferedChecksumIndexInput(NIOFSIndexInput(path="/opt/sonarqube/data/es7/nodes/0/_state/_7w.fdt")))

A StackOverflow issue exists for this as well:SonarQube Docker Installation CorruptIndexException: checksum failed - Stack Overflow

A users seems to have been able to run recent SonarQube versions by updating zlib in the container image, but I would prefer to use an official image in production.
Are there any plans to update the images?

Thanks,
Guido

Hi Guido,

It does seem zlib is the root of the issue.
We have plans to update the official docker images, but no definite timeline.
In the meantime, would you try one of the workarounds, like this one?

Let us know if that works, and we’ll do our best to update our docker images as soon as possible!

Jay

I was able to update to 9.6.
As mentioned in the stackoverflow post, the issue was fixed.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.