- We are using SonarQube 7.9.2 community edition
- Want to update SonarQube to 8.9.6 LTS in the same server
- We’ve extracted the 8.9.6 zip files to another directory, updated the sonar.properties, wrapper.config files, stopped & uninstalled the windows service for previous version, installed & started the windows service for the new version, after that we didn’t find any existing projects, users, quality gates, etc. in the site, it started as a brand new site.
After some analysis came to know that the current 7.9.2 is using H2 database.
Tried copying the sonar.mv.db to 8.9.6 directory but it isn’t working, also localhost:9000/setup URL says migration not supported for embedded databases.
How can we get all the data from previous version to the new version’s H2 embedded database in the same server, we don’t have any customizations on the database, it has lot of data such as projects, quality gates, users, etc. all those should be cloned to newer directory or version.