Need Upgrade Path from Developer Edition v9.9.7 (build 96285) to Latest LTA

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension): Developer Edition v9.9.7 (build 96285)

  • how is SonarQube deployed: Docker - customized Dockerfile, running on Kubernetes.

  • what are you trying to achieve: Upgrade to latest LTA version of Developer Edition.

  • what have you tried so far to achieve this: Using the update path calculator,
    it’s suggesting to upgrade to 2025.1.4, which I had updated to 2025.1.4.113907 which does not allow me to login - only showing maintenance page.


    and then after updated the version to 2025.4.3.113915, I got this error:

    2025.12.01 20:19:01 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@c387f44-org.sonar.server.platform.DatabaseServerCompatibility’: The version of SonarQube you are trying to upgrade from is too old. Please upgrade to the 2025.1 Long-Term Active version first.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘jdk.internal.loader.ClassLoaders$AppClassLoader@c387f44-org.sonar.server.platform.DatabaseServerCompatibility’: The version of SonarQube you are trying to upgrade from is too old. Please upgrade to the 2025.1 Long-Term Active version first.
    Caused by: org.sonar.api.utils.MessageException: The version of SonarQube you are trying to upgrade from is too old. Please upgrade to the 2025.1 Long-Term Active version first.

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hi!

Thanks for joining the community!

Did you remember to perform the “setup” step to upgrade to 2025.1.x?

Once you start the new version, it is a mandatory step to go to “http://myinstance/setup” to upgrade database.

So, check it out! Just start the previous 2025.1.x version to perform the setup, and then continue with the upgrade to 2025.4.x.

Best regards.

My bad. Missed this part - running the /setup to upgrade the database :smiling_face_with_tear:
I should have followed the ‘Server update and maintenance‘ guide carefully.
Thanks Antonio

1 Like