Skip to content

Commit e60dd59

Browse files
committed
Docs: Add note about updating plugins requiring removal and reinstallation (#23597)
closes #20321
1 parent 7aedb2a commit e60dd59

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

docs/plugins/plugin-script.asciidoc

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ to a local Java truststore and pass the location to the script as follows:
8080
sudo ES_JAVA_OPTS="-Djavax.net.ssl.trustStore=/path/to/trustStore.jks" bin/elasticsearch-plugin install https://....
8181
-----------------------------------
8282

83-
[[listing-removing]]
84-
=== Listing and Removing Installed Plugins
83+
[[listing-removing-updating]]
84+
=== Listing, Removing and Updating Installed Plugins
8585

8686
[float]
8787
=== Listing plugins
@@ -109,6 +109,18 @@ sudo bin/elasticsearch-plugin remove [pluginname]
109109

110110
After a Java plugin has been removed, you will need to restart the node to complete the removal process.
111111

112+
[float]
113+
=== Updating plugins
114+
115+
Plugins are built for a specific version of Elasticsearch, and therefore must be reinstalled
116+
each time Elasticsearch is updated.
117+
118+
[source,shell]
119+
-----------------------------------
120+
sudo bin/elasticsearch-plugin remove [pluginname]
121+
sudo bin/elasticsearch-plugin install [pluginname]
122+
-----------------------------------
123+
112124
=== Other command line parameters
113125

114126
The `plugin` scripts supports a number of other command line parameters:

0 commit comments

Comments
 (0)