Reverted SonarQube version from 10.8 to 9.9 and unable to get the application up

CRITICAL ISSUE NEED HELP

Here I tried to update SonarQube version from 9.9 to 10.8, but due to Java version mismatch had to restore it back to 9.9.
I have restored sonarqube server to latest backup point before upgrade.
When I tried to restart the application after the restore, sonar.service is is failing state. Found that there is database version mismatch hence restored datbase also to previous version. Even after restore sonar.service is not running.

Here are logs :

[root@bmdcplvsonar01 logs]# systemctl status sonar.service                                                                             
● sonar.service - SonarQube service                                                                                                    
   Loaded: loaded (/etc/systemd/system/sonar.service; enabled; vendor preset: disabled)                                                
   Active: failed (Result: exit-code) since Tue 2025-03-25 13:17:52 EDT; 13min ago                                                     
 Main PID: 670874 (code=exited, status=1/FAILURE)                                                                                      
                                                                                                                                       
Mar 25 13:17:52 bmdcplvsonar01 systemd[1]: sonar.service: Service RestartSec=100ms expired, scheduling restart.                        
Mar 25 13:17:52 bmdcplvsonar01 systemd[1]: sonar.service: Scheduled restart job, restart counter is at 5.                              
Mar 25 13:17:52 bmdcplvsonar01 systemd[1]: Stopped SonarQube service.                                                                  
Mar 25 13:17:52 bmdcplvsonar01 systemd[1]: sonar.service: Start request repeated too quickly.                                          
Mar 25 13:17:52 bmdcplvsonar01 systemd[1]: sonar.service: Failed with result 'exit-code'.                                              
Mar 25 13:17:52 bmdcplvsonar01 systemd[1]: Failed to start SonarQube service. 

sonar.log (3.4 MB)
web.log (11.3 MB)

Hi,

I don’t think you did. In fact, your log is clear that you didn’t:

Database was upgraded to a more recent version of SonarQube. A backup must probably be restored or the DB settings are incorrect.

There is no ‘downgrade’ functionality in SonarQube. You must either use the version of SonarQube you’ve upgraded the DB to or, per the error message, restore the DB backup you made before the upgrade.

IMO the best path forward here is to fix your Java problem by installing the required JVM.

 
HTH,
Ann