Hi,
We recently upgraded our SonarQube instance (Community Edition 7.6 → 9.9.8) and noticed that the project-level quality profile settings lost their language mappings.
For example:
- Before the upgrade, a specific project was using a custom C++ quality profile (
CppCheck
). - After the upgrade, the profile
CppCheck
still exists and is available under “Quality Profiles”. - However, when I check the project’s “Quality Profiles” settings, no languages are assigned at all.
- In the project activity history, I also see logs like:
Stopped using 'chhcheck' (C++)
.
To fix this, I had to manually go into the project settings and reassign the quality profile to C++.
My questions are:
- Why did this happen during the upgrade? Is this expected behavior?
- Is there a way to automatically reassign default profiles for missing language mappings at the project level?
- How can I prevent this from happening in future upgrades?
Any insight or recommendations would be appreciated!
Thanks!