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

Before you dig into reading this guide, have you tried asking OpsGPT what this log means? You’ll receive a customized analysis of your log.

Try OpsGPT now for step-by-step guidance and tailored insights into your Elasticsearch operation.

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.

For a complete solution to your to your search operation, try for free AutoOps for Elasticsearch & OpenSearch . With AutoOps and Opster’s proactive support, you don’t have to worry about your search operation – we take charge of it. Get improved performance & stability with less hardware.

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();


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?