License is incompatible with Elasticsearch 2.1.0

After upgrading ES to 2.1.0, ES won't start anymore and following lines appear in the log:

[2015-11-27 17:18:27,660][ERROR][bootstrap                ] Exception
java.lang.IllegalArgumentException: Plugin [license] is incompatible with Elasticsearch [2.1.0]. Was designed for version [2.0.0]

It seems I have to update the license, but how do I do that?

bin/plugin remove license
bin/plugin install license
1 Like

Thanks! Since I also had Marvel installed I also had to do a

bin/plugin remove marvel-agent
bin/plugin install marvel-agent

After that Elasticsearch started smoothly again