From 105bc0ee1fd6ef50cc80d5fa2b00cc8a0e904c70 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Tue, 21 Mar 2017 11:59:21 -0700 Subject: [PATCH] Docs: Add note about updating plugins requiring removal and reinstallation (#23597) 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 3a3616ac0e7..e57a452ba52 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: