# Comunity license switch

**URL:** <https://community.cratedb.com/t/comunity-license-switch/164>\
**Category:** CrateDB\
**Created:** [March 1, 2019, 1:42pm UTC](https://community.cratedb.com/t/comunity-license-switch/164 "2019-03-01T13:42:06Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roman\_Kaminski](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/roman_kaminski/32/135_2.png) [@Roman\_Kaminski](https://community.cratedb.com/u/Roman_Kaminski)\
**Post date:** [March 1, 2019, 1:42pm UTC](https://community.cratedb.com/t/comunity-license-switch/164/1 "2019-03-01T13:42:06Z")

</div>

Hello,

I just installed cratedb via docker and the header at the top says: License: crate (exp: 2019-03-31)  
I assume it’s the trial license documented here: [https://crate.io/products/cratedb-community-edition/](https://crate.io/products/cratedb-community-edition/)  
that I’m running now.

Once expired will it automatically switch to community license?  
Is there a way to disable the trial license now and force it to switch to community one?  
(google doesn’t help)

Thank you in advance,  
Roman

---

<div class="post-metadata">

**Author:** ![smu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/smu/32/60_2.png) [@smu](https://community.cratedb.com/u/smu)\
**Post date:** [March 2, 2019, 7:42pm UTC](https://community.cratedb.com/t/comunity-license-switch/164/2 "2019-03-02T19:42:53Z")

</div>

See [https://crate.io/docs/crate/reference/en/3.2/enterprise/index.html](https://crate.io/docs/crate/reference/en/3.2/enterprise/index.html).

In short:  
You can switch to community edition by adding `license.enterprise: false` to your crate.yml configuration file of each node.

---

<div class="post-metadata">

**Author:** ![nook24](https://avatars.discourse-cdn.com/v4/letter/n/c0e974/32.png) [@nook24](https://community.cratedb.com/u/nook24)\
**Post date:** [October 24, 2019, 2:45pm UTC](https://community.cratedb.com/t/comunity-license-switch/164/3 "2019-10-24T14:45:14Z")

</div>

Unfortunately CrateDB 4.0.6 don’t know this config option anymore:

```
[2019-10-24T16:31:02,298][WARN][o.e.b.ElasticsearchUncaughtExceptionHandler] [Faulkogel] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [license.enterprise] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

```

Is there a new method of getting back to the community version?

---

<div class="post-metadata">

**Author:** ![smu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/smu/32/60_2.png) [@smu](https://community.cratedb.com/u/smu)\
**Post date:** [October 25, 2019, 7:03am UTC](https://community.cratedb.com/t/comunity-license-switch/164/4 "2019-10-25T07:03:36Z")

</div>

Since CrateDB 4.0, we differentiate between CrateDB CE (Community Edition) and CrateDB (Enterprise) at build time. A CrateDB version cannot be switched to CrateDB CE by configuration anymore. Although the CrateDB variant can be run without a paid license on up to 3 nodes. This license switch was introduced in 3.3, see also [https://crate.io/a/cratedb-3-3-is-now-stable-and-ready-for-use/](https://crate.io/a/cratedb-3-3-is-now-stable-and-ready-for-use/).  
We also don’t distribute any CrateDB CE variant but it can be easily build from source by `./gradlew communityEditionDistTar`, see [https://github.com/crate/crate/blob/master/devs/docs/basics.rst#manual-build](https://github.com/crate/crate/blob/master/devs/docs/basics.rst#manual-build).

---

<div class="post-metadata">

**Author:** ![bputt](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/bputt/32/131_2.png) [@bputt](https://community.cratedb.com/u/bputt)\
**Post date:** [October 29, 2019, 2:24am UTC](https://community.cratedb.com/t/comunity-license-switch/164/5 "2019-10-29T02:24:25Z")

</div>

@smu I hope you’re planning on offering a community edition rpm similar to how docker works (docker vs docker-ce)…If you’re requiring people to build crate community edition, it seems like a step backwards for those of us who’ve been with you since 0.5 days 😃 and makes me wonder if crate will eventually pull a memsql where you no longer will offer a community edition or if you do, you’d limit it to a max number of nodes.

---

<div class="post-metadata">

**Author:** ![jodok](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/jodok/32/59_2.png) [@jodok](https://community.cratedb.com/u/jodok)\
**Post date:** [November 6, 2019, 2:48pm UTC](https://community.cratedb.com/t/comunity-license-switch/164/6 "2019-11-06T14:48:13Z")

</div>

we don’t have plans to distribute a community edition, but you can either build it yourself - or apply for a special startup pricing (based on funding level and size of the cluster) or free licensing for non-commercial or educational projects.  
feel free to get in contact with me directly!

---

<div class="post-metadata">

**Author:** ![versatildefuy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/versatildefuy/32/142_2.png) [@versatildefuy](https://community.cratedb.com/u/versatildefuy)\
**Post date:** [January 20, 2020, 9:09am UTC](https://community.cratedb.com/t/comunity-license-switch/164/7 "2020-01-20T09:09:50Z")

</div>

@jodok, @smu with all those version changes I don’t understand the final terms.

Can CrateDB be used unlicensed up to three nodes?

Because I am trying to upgrade a mono node deployment from version 3.0.7 to 4.0.10 and a trial license has been created to the instance.

So, will my deployment stop when the trial license expires? would I be able to keep using version 4.0.10 if the deployment has 3 or fewer nodes? do I have to explicit this using any kind of env or configuration file?

Thank you in advance

---

<div class="post-metadata">

**Author:** ![sambhav](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/sambhav/32/293_2.png) [@sambhav](https://community.cratedb.com/u/sambhav)\
**Post date:** [January 21, 2020, 12:26pm UTC](https://community.cratedb.com/t/comunity-license-switch/164/8 "2020-01-21T12:26:57Z")

</div>

I am having a similar question as you’ve asked. +1

---

<div class="post-metadata">

**Author:** ![Dominik](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/dominik/32/57_2.png) [@Dominik](https://community.cratedb.com/u/Dominik)\
**Post date:** [January 22, 2020, 8:46am UTC](https://community.cratedb.com/t/comunity-license-switch/164/9 "2020-01-22T08:46:46Z")

</div>

Hi,  
starting with Crate 4.x the license for up to 3 nodes will not expire to allow using CrateDB without a license. If you add a 4th node, the cluster will run in restricted mode.

If the trial license was generated by a 4.x node itself during first start you should be good to go. You do not have to reconfigure anything.
