Project profile language setting disappears after upgrade

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:

  1. Why did this happen during the upgrade? Is this expected behavior?
  2. Is there a way to automatically reassign default profiles for missing language mappings at the project level?
  3. How can I prevent this from happening in future upgrades?

Any insight or recommendations would be appreciated!

Thanks!

Hey there.

What you’re describing sounds like a case of upgrading SonarQube without reinstalling the community-supported plugin you use for C/C++ analysis. Reinstalling it should fix things up.

:warning: Only the latest version of SonarQube Community Build is considered active, so you’ll need to upgrade and see if the situation is still replicable before we can help you.

Your upgrade path is:

9.9.8 → 24.12 → 25.3