# Downgrade Sonar from Enterprise to Community Edition

**URL:** <https://community.sonarsource.com/t/downgrade-sonar-from-enterprise-to-community-edition/107994>\
**Category:** SonarQube Server / Community Build\
**Tags:** sonarqube\
**Created:** [January 25, 2024, 3:13pm UTC](https://community.sonarsource.com/t/downgrade-sonar-from-enterprise-to-community-edition/107994 "2024-01-25T15:13:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![siva\_kiran](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/siva_kiran/32/42378_2.png) [@siva\_kiran](https://community.sonarsource.com/u/siva_kiran)\
**Post date:** [January 25, 2024, 3:13pm UTC](https://community.sonarsource.com/t/downgrade-sonar-from-enterprise-to-community-edition/107994/1 "2024-01-25T15:13:05Z")

</div>

Hi,  
I am currently running sonarQube on Enterprise edition and we are planning to switch from Enterprise to Community Edition asap.  
I am not sure about this process of changing the licenses to community edition.  
My instance is hosted on Openshift 4.x  
current version of Sonar - 9.9 (build 65466)

I have find one article in sonar : [https://docs.sonarsource.com/sonarqube/latest/setup-and-upgrade/upgrade-the-server/upgrade-guide/#changing-your-edition](https://docs.sonarsource.com/sonarqube/latest/setup-and-upgrade/upgrade-the-server/upgrade-guide/#changing-your-edition) and its suggesting to download community version and install.  
My query is - can we install same version of enterprise version?  
Can we use same DB for the new community version?  
can we use same configuration files in community version from Enterprise version

Can some help me on this!  
Thanks in advance for your support 🙂

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [January 26, 2024, 4:14pm UTC](https://community.sonarsource.com/t/downgrade-sonar-from-enterprise-to-community-edition/107994/2 "2024-01-26T16:14:48Z")

</div>

Hi,

Yes, you can downgrade. Simply set up a 9.9.3 Community Edition instance and point it at the same database you’ve been using for Enterprise Edition.

Out of curiosity, would you mind sharing why you’re downgrading?

&nbsp;  
Thx,  
Ann

---

<div class="post-metadata">

**Author:** ![siva\_kiran](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/siva_kiran/32/42378_2.png) [@siva\_kiran](https://community.sonarsource.com/u/siva_kiran)\
**Post date:** [January 26, 2024, 7:46pm UTC](https://community.sonarsource.com/t/downgrade-sonar-from-enterprise-to-community-edition/107994/3 "2024-01-26T19:46:39Z")

</div>

Hi @ganncamp : Thanks for the clarification.  
The decision to switch from SonarQube Enterprise Edition to the Community Edition was primarily driven by a combination of client requirements and budget constraints. We’ve reassessed our needs and decided to go for community edition.

i have one query, Is it possible to switch the version using a license key instead of installing new community installer. For example, can we change the license key from the Enterprise Edition to the Community Edition, similar to how it’s done with some other tools like Atlassian products?

Thanks,  
Siva.

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [January 26, 2024, 7:52pm UTC](https://community.sonarsource.com/t/downgrade-sonar-from-enterprise-to-community-edition/107994/4 "2024-01-26T19:52:19Z")

</div>

Hi Siva,

We’re not Atlassian. 😉

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![siva\_kiran](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/siva_kiran/32/42378_2.png) [@siva\_kiran](https://community.sonarsource.com/u/siva_kiran)\
**Post date:** [January 26, 2024, 8:25pm UTC](https://community.sonarsource.com/t/downgrade-sonar-from-enterprise-to-community-edition/107994/5 "2024-01-26T20:25:51Z")

</div>

Hi @ganncamp : Okay 🙂  
I will let you know if i face any issues while downgrading the version.

Thanks,  
Siva.

---

<div class="post-metadata">

**Author:** ![siva\_kiran](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/siva_kiran/32/42378_2.png) [@siva\_kiran](https://community.sonarsource.com/u/siva_kiran)\
**Post date:** [January 29, 2024, 10:05am UTC](https://community.sonarsource.com/t/downgrade-sonar-from-enterprise-to-community-edition/107994/6 "2024-01-29T10:05:17Z")

</div>

Hi @ganncamp : Can you tell, what will happen to SonarQube when the Enterprise License expires? will it still keep running or change to community edition itself.  
We wanted to do this test our-self’s but we are not able to remove the Enterprise license from the License manager page.

Thanks,  
Siva

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [January 29, 2024, 12:05pm UTC](https://community.sonarsource.com/t/downgrade-sonar-from-enterprise-to-community-edition/107994/7 "2024-01-29T12:05:49Z")

</div>

Hi Siva,

> [@siva\_kiran](#):
>
> change to community edition itself.

If it did that, then you could downgrade with just a license change 😅

It will stop accepting new analyses.

> [@siva\_kiran](#):
>
> We wanted to do this test our-self’s but we are not able to remove the Enterprise license from the License manager page.

You could update your license to an invalid (i.e. random) key.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![siva\_kiran](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/siva_kiran/32/42378_2.png) [@siva\_kiran](https://community.sonarsource.com/u/siva_kiran)\
**Post date:** [January 29, 2024, 2:16pm UTC](https://community.sonarsource.com/t/downgrade-sonar-from-enterprise-to-community-edition/107994/8 "2024-01-29T14:16:25Z")

</div>

Hi @ganncamp :Thank you for all your replies. they make sense to us.

Thanks,  
Siva.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/31083_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [February 5, 2024, 2:17pm UTC](https://community.sonarsource.com/t/downgrade-sonar-from-enterprise-to-community-edition/107994/9 "2024-02-05T14:17:13Z")

</div>

Closed on February 5, 2024, 2:17pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
