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

Opster Team

August-23, Version: 6.8-7.15

Briefly, this error occurs when there is a mismatch in the Elasticsearch versions across different nodes in the cluster. This could be due to an incomplete or partial upgrade process. To resolve this issue, ensure that all nodes in the cluster are running the same version of Elasticsearch. You can do this by checking the version of each node and then upgrading or downgrading as necessary. Also, ensure that the license plugin is updated to the latest version compatible with your Elasticsearch version.

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

Log Context

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

 version *= -1;
 }
 if (version == 0) {
 throw new ElasticsearchException("malformed signature for license [" + builder.uid + "]");
 } else if (version > VERSION_CURRENT) {
 throw new ElasticsearchException("Unknown license version found; please upgrade all nodes to the latest " +
 "elasticsearch-license plugin");
 }
 // signature version is the source of truth
 builder.version(version);
 }

 

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?