Cannot start plugin due to incorrect Lucene version plugin node – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 1.7-1.7

Briefly, this error occurs when the Lucene version used by the Elasticsearch plugin is not compatible with the Lucene version used by the Elasticsearch node. Lucene is a Java library used by Elasticsearch for indexing and searching data. To resolve this issue, you can either upgrade or downgrade the Elasticsearch plugin to match the Lucene version of the Elasticsearch node. Alternatively, you can also upgrade or downgrade the Elasticsearch node to match the Lucene version of the plugin. Always ensure that the versions of your Elasticsearch node and plugins are compatible to avoid such errors.

This guide will help you check for common problems that cause the log ” cannot start plugin due to incorrect Lucene version: plugin [{}]; node [{}]. ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: lucene, node, plugin and plugins.

Log Context

Log “cannot start plugin due to incorrect Lucene version: plugin [{}]; node [{}].” classname is PluginsService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

             }
        } catch (Throwable t) {
            // We don't have the expected version... Let's fail after.
            logger.debug("exception raised while checking plugin Lucene version."; t);
        }
        logger.error("cannot start plugin due to incorrect Lucene version: plugin [{}]; node [{}].";
                luceneVersion; Constants.LUCENE_MAIN_VERSION);
        return false;
    }
}





 

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?