which versions are you using (SonarQube Version 9.8 (build 63668) )
how is SonarQube deployed: Docker
We trying to update version of SonarQube from 9.8 to Version 10.2.1 (build 78527). the update consists of changing the docker image from the old version (9.8) to the new one (10.2.1).
After the upgrade absolutely all users, groups, settings and SAML integration are removed.
Please advise me - the correct sequence of actions when upgrading from version 9.8 to 10.2.1, which will not delete all settings and users.
If all you’re changing is the image being used (and none of the other configuration), you may have missed that the environment variables prefixed with SONARQUBE_ no longer work (and your instance is probably falling back on the internal H2 database). This is noted in this upgrade note:
The deprecated SONARQUBE_JDBC_USERNAME, SONARQUBE_JDBC_PASSWORD, and SONARQUBE_JDBC_URL variables have been removed. See Environment variables for up-to-date configuration variables.
You will need to use SONAR_JDBC_USERNAME, SONAR_JDBC_URL, AND SONAR_JDBC_PASSWORD instead.