Unknown license version found please upgrade all nodes to the latest elasticsearch-license – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-7.5

Briefly, this error occurs when there is a mismatch in the Elasticsearch license versions across different nodes in the cluster. This could be due to an incomplete upgrade or a node running an outdated version. To resolve this issue, ensure all nodes in the cluster are running the same version of Elasticsearch. Upgrade any outdated nodes to the latest version. Also, ensure that the Elasticsearch license plugin is updated to the latest version on all nodes. This should resolve the license version mismatch error.

This guide will help you check for common problems that cause the log ” Unknown license version found; please upgrade all nodes to the latest elasticsearch-license ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: version, upgrade, plugin, license.

Log Context

Log “Unknown license version found; please upgrade all nodes to the latest elasticsearch-license” class name is License.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 }  public static License readLicense(StreamInput in) throws IOException {
 int version = in.readVInt(); // Version for future extensibility
 if (version > VERSION_CURRENT) {
 throw new ElasticsearchException("Unknown license version found; please upgrade all nodes to the latest elasticsearch-license" +
 " plugin");
 }
 Builder builder = builder();
 builder.version(version);
 builder.uid(in.readString());

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?