SonarQube Upgrade from 9.9 LTA to 10.6

Make sure to tell us:

  • What version are you upgrading from?

    9.9LTA → 10.6

  • System information (Operating system, Java version, Database provider/version)

    Installing SonarQube from the Docker image
    Host:NAS (Linux)
    SonarQube Image:sonarqube:10.6.0-developer
    DataBase Image:postgres:15.8

  • What’s the issue you’re facing?

    Specifically, we are setting up the SonarQube server using Docker image and the environment variable SONAR_SEARCH_JAVAADDITIONALOPTS : -Dbootstrap.system_call_filter=false. This setup worked well with the previous versions, but after switching to the 10.6 image, the server fails to start.

    Given that our Host ( Linux kernel ) cannot enable seccomp , we are uncertain how to successfully run the container under these circumstances.

    Log from the failed run
    sonarqube-server.txt (49.8 KB)

Hey there.

SonarQube v10.6 uses Elasticsearch 8 (rather than Elasticsearch 7 as was the case in SonarQube v9.9). The ability to set bootstrap.system_call_filter=false was removed in Elasticsearch 8. It is now a mandatory requirement.

Starting in Elasticsearch 8.0, system call filters will be required.

We should probably update the Upgrade Notes to mention this, and I’ll ping our docs folks.

You may want to review the docker docs on seccomp so that it can be made available in your environment.

Thanks for pointing this out. I placed a ticket in our next sprint to adjust the upgrade notes.