Upgrade Sonarqube DE v8.9 LTS to v9.9LTS

Make sure to tell us:

  • What version are you upgrading from? 8.9 LTS
  • System information (Operating system, Java version, Database provider/version) : AL2, Java11, PSQL10
  • What’s the requirements?
    • Server needs to be updated to AL2023
    • PSQL needs to be updated to 13
    • Sonarqube needs to be updated to 9.9 LTS
  • What’s the issue you’re facing?
    • How to transfer data from old server to new 9.9 LTS version server (pg_dumpall and pg_restore doesn’t work also)
    • In between server creation also doesn’t works as dependencies are missing for older AL2 AMIs, either pql update fails, or es start fails or even sonar start fails sometimes.

Hi,

Welcome to the community!

There’s no transfer. You simply point the new version at your existing database, and run the schema upgrade (step 6 here).

There are definitely parts of this I don’t follow, but if you’re still encountering errors after you run the upgrade on your existing database, then please check your server logs and post any errors you see here.

 
Ann

Hello,

I was able to successfully transfer the postgres data to new server.
Also the above issue was resolved by recreating the es cache by clearing the default es folder data on the new server.

Could you please help with the steps to transfer license from older server to new server.

Hi,

If it doesn’t just work, that probably means your JDBC URL changed, and you’ll need a new license issued. You should ping your sales contact.

 
HTH,
Ann