I’ve a question about SonarQube Server updates.
Is there a way to update SonarQube Server version without loose Quality Profiles active/deactive rules?
This doesn’t look like you’ve lost anything, simply that the Quality Profiles for each language are being updated with new/modified rules.
If you don’t want that to happen automatically, you can make sure you’re not using the built-in Quality Profiles (that get automatically updated during upgrades) nor using a Quality Profile that extends a built-in Quality profile.
Thank you Colin, sorry for the late reply.
Do you know an easy way to export deactivated rules before upgrade SonarQube in order to deactivate them again after the upgrade?
I’m on the way to upgrade to SonarQube Server 2025.1
After re-reading your thread, I think you’re facing SONAR-23184 – a bug that hopefully this gets fixed soon. This should only affect rules that have been deactivated in an extended Quality Profile.
We are evaluating what we need to do to fix this issue. You can of course refer to your Quality Profile’s changelog after an upgrade to address the unexpected changes.