SonarQube analysis is failing with the error server-wide lines of code total to exceed your 500000

We are using developer edition of SonarQube 9.2. Our license details are like below

Our code analysis is failing with the below error

{"task":{"id":"AYFL9d206YvWba2a7DkU","type":"REPORT","componentId":"AX1SjmUGgaicIN43lF-5","componentKey":"Spotnana-Tech_spotnana","componentName":"spotnana-parent","componentQualifier":"TRK","status":"FAILED","submittedAt":"2022-06-10T04:53:35+0000","submitterLogin":"admin","startedAt":"2022-06-10T04:53:36+0000","executedAt":"2022-06-10T04:54:59+0000","executionTimeMs":83049,"errorMessage":"The last analysis failed because it would have caused your server-wide lines of code total to exceed your 500000 limit.","hasScannerContext":true,"branch":"master","branchType":"BRANCH","errorType":"LICENSING_LOC","warningCount":1,"warnings":[]}}

In sonar I can see our current lines of code only 230K

Can someone let us know how can we know what is going wrong and why analysis has stopped?

Anyone any suggestion here? I have posted the same in stackoverflow also.

Hi,

Can you take a look at the analysis configuration for Spotnana-Tech_spotnana? Can you also make sure that a project with that key already exists on the server?

What this looks like is that your largest project had some lines added to it, and then someone tried to analyze it with another key (to not walk on the normal version of the project?).

 
HTH,
Ann

Is there any audit log on sonarqube side to check if someone tried to analyze it with a different key or not?

Hi,

There’s no real audit log, although the Background Tasks list is a list of what SonarQube has processed. It may be easier to filter the Projects page by project size and see what you find, though.

 
HTH,
Ann