Greetings,
I’m having trouble to update my docker base sonarqube instance from v10.7 to the latest version via docker.
I’ve been strictly following this guide, so I’ve just been stoping my sonarqube container, an relaunching with the same parameter (db password/link).
However, I get this message from the sonarqube container :
2025.03.18 14:54:59 INFO web[][o.s.c.e.CoreExtensionsLoader] Loaded core extensions: developer-edition, developer-scanner, developer-server, github-provisioning, gitlab-provisioning, license, monitoring, gitlab-vulnerability-report
2025.03.18 14:54:59 WARN web[][o.s.c.a.AnnotationConfigApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@2c1156a7-org.sonar.server.platform.DatabaseServerCompatibility': Initialization of bean failed; nested exception is Database was upgraded to a more recent version of SonarQube. A backup must probably be restored or the DB settings are incorrect.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@2c1156a7-org.sonar.server.platform.DatabaseServerCompatibility': Initialization of bean failed; nested exception is Database was upgraded to a more recent version of SonarQube. A backup must probably be restored or the DB settings are incorrect.
This error stop the container.
I did not change anything on the DB, I’ve only restart its container.
So I’m assuming that the version of the DB cannot be higher than the latest version of Sonarqubes (especially since this db was used for a 10.7 version). I think there is something else going on here.
Am I missing something here ? Should I do something on the database to update the instance ?
I’ve been told to be carefull with the database (it is backed up already) as my license is link to it.
Thanks in advance