From 00448fd70fde78999aeea2ae205119ad66d4478e Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Wed, 15 Mar 2017 13:40:26 -0700 Subject: [PATCH] Docs: Add note about updating plugins requiring removal and reinstallation closes #20321 --- docs/plugins/plugin-script.asciidoc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/plugins/plugin-script.asciidoc b/docs/plugins/plugin-script.asciidoc index 3234b6ae226f5..c17c0d4b08304 100644 --- a/docs/plugins/plugin-script.asciidoc +++ b/docs/plugins/plugin-script.asciidoc @@ -80,8 +80,8 @@ to a local Java truststore and pass the location to the script as follows: sudo ES_JAVA_OPTS="-Djavax.net.ssl.trustStore=/path/to/trustStore.jks" bin/elasticsearch-plugin install https://.... ----------------------------------- -[[listing-removing]] -=== Listing and Removing Installed Plugins +[[listing-removing-updating]] +=== Listing, Removing and Updating Installed Plugins [float] === Listing plugins @@ -109,6 +109,18 @@ sudo bin/elasticsearch-plugin remove [pluginname] After a Java plugin has been removed, you will need to restart the node to complete the removal process. +[float] +=== Updating plugins + +Plugins are built for a specific version of Elasticsearch, and therefore must be reinstalled +each time Elasticsearch is updated. + +[source,shell] +----------------------------------- +sudo bin/elasticsearch-plugin remove [pluginname] +sudo bin/elasticsearch-plugin install [pluginname] +----------------------------------- + === Other command line parameters The `plugin` scripts supports a number of other command line parameters: