Projects Not Appearing in SonarQube Dashboard After Successful Scans

We recently upgraded from SonarQube Community Edition to SonarQube Developer Edition, and since the upgrade, we have encountered an issue where projects are not appearing in the SonarQube dashboard, even though scans are successfully running in TeamCity.

Issue Details:

Previous Setup:

  • SonarQube Community Edition
  • TeamCity for CI/CD
  • Projects successfully appeared in SonarQube after TeamCity builds and scans

Current Setup (Post Upgrade to Developer Edition):

  • SonarQube Developer Edition
  • TeamCity for CI/CD
  • TeamCity builds and SonarQube scans are completing successfully, but the scanned projects are not appearing in the SonarQube dashboard

Additional Observations:

  • We are seeing a “Line of Code (LoC) exceeded” message in SonarQube Developer Edition.
  • After reviewing our actual LoC usage, it appears that we have not exceeded the limit.
  • The logs indicate that scans are completing successfully, but they are not being reflected in the SonarQube dashboard.

Troubleshooting Conducted:

  1. Verified the LoC count in Administration > Configuration > License Manager.
  2. Checked SonarQube logs (sonar.log, ce.log, web.log) for any errors.
  3. Ensured that TeamCity’s SonarQube scanner settings correctly point to the upgraded SonarQube instance.
  4. Manually triggered a project re-analysis in SonarQube.
  5. Verified that the SonarQube project keys and permissions are correctly configured.

Request for Assistance:

We would appreciate your guidance in resolving the following:

  1. Why are projects not appearing in the SonarQube Developer Edition dashboard after a successful TeamCity build and scan?
  2. Why are we seeing an incorrect “Line of Code exceeded” message?
  3. Are there any additional configurations or settings that need to be adjusted post-upgrade to ensure projects are reflected in the dashboard?

Please let us know if you require any additional logs or configuration details to further analyze the issue.

Looking forward to your support.

Hi,

Welcome to the community!

This is why your new projects aren’t showing up.

If you check your Background tasks you’ll see that analysis report processing is failing on the server side because actually processing the reports would push you over your licensed LOC.

Does this make sense?

 
Ann