Error while deploying sonarqube version 9.7 through Helm chart Version 6.1.1

Must-share information (formatted with Markdown):

  • which versions are you using :

SonarQube Version 9.7
kubernetes version 1.26
command tool : Helm
Helm version : 3.11.1

  1. we tried deploying other versions such as 9.9 also using helm charts but still getting the same error.

Errors:
init containers are not starting such as initSysctl,initFs,prometheusExporter and getting below errors:

  1. Failed to load logs: previous terminated container “init-sysctl” in pod “sonarqube-sonarqube-0” not found
    Reason: BadRequest (400)

  2. for wait-for-db container
    /bin/bash: connect: Connection refused
    /bin/bash: line 1: /dev/tcp/sonarqube-postgresql/5432: Connection refused

  3. for init-fs container
    chown: /opt/sonarqube/logs: Operation not permitted
    chown: /opt/sonarqube/temp: Operation not permitted
    chown: /opt/sonarqube/extensions: Operation not permitted
    chown: /opt/sonarqube/data: Operation not permitted

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hi,

Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

9.7 → 9.9.4 → 10.4 (last step optional)

You may find the Upgrade Guide helpful.

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

 
Ann