Sonar is excited to announce the release of the SonarQube Server 2025 Release 4(.1).
This version brings SAST for Go, expanded secrets detection, many new rules for Python coroutines and comprehensions, Java 23/24 and Java performance, and much more. We’ve enhanced SonarQube Advanced Security with continuous vulnerability detection without reanalysis, alongside PHP dependency support, dependency risks displayed right in your IDE for comprehensive protection. Enjoy these and many other exciting features in this release.
Due to an issue identified in the initial release, please use 2025 Release 4.1. More details on the issue here.
Ready to dive in? Check out SonarQube 2025 Release 4.1!
Hello,
I just upgraded a small DE instance from 2025.3.1 to 2025.4.1, and all projects now show that the main branch is empty (on the main SonarQube page). If I click on any project, I can see data from all branches (main branches and pull requests). Executing an analysis on the main branch of any project doesn’t change anything. Is that a known issue in this version ?
Just for the context and in case that changes anything, I upgraded to 2025.4 first (as I didn’t see this message), and got hit by the license problem and the empty main branch problem. I then upgraded to 2025.4.1, the license problem was fixed but not the empty main branch problem. I then restored the 2025.3.1 database backup, downgraded SQ to 2025.3.1, restarted SQ instance without any issue, then upgraded directly to 2025.4.1 with the same issue.
Gilles
Tried again this morning, issue can still be reproduced. Didn’t find anything in the logs. I can share the database with the support team if you’re interested.
Thanks for sharing this.
Have you tried forcing an Elasticsearch reindex after the upgrade? That might resolve the issue. Here are the docs for it: Forcing Elasticsearch reindex
I am running a SonarQube DE. I upgraded the instance from 2025.3 to 2025.4.1 this morning, and I am facing the same issue.
I forced an Elasticsearch reindex, but the issue still persists.
Thanks to @gquerret for getting us a database that reproduces the issue, we found that the issue affects instances that don’t have access to SonarQube Advanced Security. Still testing to see if this only affects Developer Edition, or other editions as well.
Update: We now know that it only affects Developer Edition.
Of course, we know now that we have an issue to fix. I’m sure a ticket will be created soon and a new release. Right now, we don’t have a workaround.