Admin password lost on upgrade to 9.9

Make sure to tell us:

  • What version are you upgrading from?
    Developer Edition Version 9.8 (build 63668)
  • System information (Operating system, Java version, Database provider/version)
    Debian 11, Temurin JDK 17, postgresql 13
  • What’s the issue you’re facing?
    I have shutdown sonarqube and the database, upgraded JDK to version 17, put the new sonarqube into place, added the database connection to the new properties.conf, started postgresql and sonarqube and visited the setup page (nothing to do). After that I had to use the default admin/admin to login again, instead of the password I had set for 9.8. Next it asked me for the license keys.

That is weird. Shouldn’t this all be included in the database and reused for 9.9?

Hey there.

The correct file is conf/ – are you sure you’ve put the details in the right file?

Yes, the name of the config file I used is “”.

Maybe you can share it here (sensitive details redacted).

Found it: I had modified sonar.jdbc.url according to the previous version, but it was still commented out. My bad.

Thank you very much for your help. Please keep on your good work


1 Like

I am also getting same error after upgrade SonarQube 9.9.

I am able to login with through my window user. But it is not showing Administration tab.

And default user - admin is also not working.

Kindly suggest what you did to fix the issue at your end.