LOC after upgrading from community edition to Developer

  • SonarQube Edition, Version

SonarQube Edition and Version

SonarQube Developer Edition Version 8.9.9

  • what are you trying to achieve

LOC limit issue (exclude old projects without deleting)

We upgraded of SonarQube from community edition to developer edition in September 2022 after using community edition for last few years. Our Developer Edition LOC limit is 1M. But we have a lot of projects that are there but no development is done for last one or two years. As soon as we upgraded to Developer Edition, it has started to complaining that the limit is about to reach. How to exclude the old projects from the sonarQube LOC limit without deleting them.

Thanks

1 Like

Hey there.

There isn’t a mechanism in SonarQube to “archive” projects – as long as the results are on your instance, they’ll persit no matter what. This really leaves you with two options (other than increasing the license limit):

  • Delete the inactive projects
  • Keep those inactive projects on a separate Community Edition instance (perhaps by cloning your existing database and linking up a Community Edition) while keeping your active projects on a Developer Edition instance