Sonar upgrade failed

My current sonar version is 8.4.1 community edition, the database is postgresql 12, during the process of upgrading to 9.1, the log is “the data directory was initialized by PostgreSQL version 12, which is not compatible with this version 14.0(Debian 14.0-1 .pgdg110+1)”. Therefore, I upgraded the database to version 14, and then migrated the data through pg_dump, but during the process of starting sonar 9.1, the log is “web server startup failed: current version is too old. Please upgrade to long term support version firstly” . However, using the sonar images 8.4.1 to connect to the database of version 14 can start normally. How to solve this situation? thank you

Hi,

You can’t just upgrade from 8.4.1 straight to 9.1. There’s an LTS version in between them, so you’ll have to hit it first:

8.4.1 → 8.9.3 → 9.1

Note that 9.2 is expected on the 22nd.

 
HTH,
Ann

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.