Upgrade from 7.9.4 to 8.9 LTS

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this
    Sonarqube version - 7.9.4 LTS current

My sonar is running in 7.9.4 lts. Now i have to upgrade to 8.9 LTS. My whole setup is in KOPS AWS. Can you please tell me what exact steps i need to upgrade my Sonar using Helm. Also we are using Postgres as a DB

Hi,

Welcome to the community!

Note that I’ve moved your question from the title into the body of your post for easier reading. :slightly_smiling_face:

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. the Upgrade Guide includes details on upgrading a Docker-based instance, so it may help. Note also, that by 8.9, there are official Helm Charts. So once you’ve got your 8.9 instance pointed at your existing database and spun up, you’ll just need to do the DB upgrade step & you should be good.

 
HTH,
Ann

Thanks Ann. Your mean by DB upgrade is ip:port/setup when we do this db migration window come then we do proceed. Please confirm that is your mean by db migration,

Hi,

As the Upgrade Guide describes, you need to:

  1. Browse to http://yourSonarQubeServerURL/setup and follow the setup instructions

 
HTH,
Ann

Hey Ann i’m stuck with one issue. I want to install golangci-lint plugin during our sonar upgrade. Any suggestion with K8s helm how can we proceed.
I know if we want to install in manual way we can put the jar in plugins dir and restart server it will worked, but in case of GolangCi there is no Jar. What would be the appropriate solution for this.

Hi,

If there’s no plugin jar, then there’s no way to install it. Your best option is to run it before analysis and get the results into the Generic Issue format.

 
HTH,
Ann