Skip to content

Commit eb52774

Browse files
committed
Docs: Tweak upgrade docs
Tweak the upgrade instructions for moving from pre-6.3-with-x-pack to post-6.3-default distribution. Specifically, you have to remove the x-pack plugin before upgrading because 6.4 doesn't understand how to remove it. Relates to #34307
1 parent de9cb1f commit eb52774

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

docs/reference/upgrade/cluster_restart.asciidoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ include::shut-down-node.asciidoc[]
3838
. *Upgrade all nodes.*
3939
+
4040
--
41+
include::remove-xpack.asciidoc[]
42+
--
43+
+
44+
--
4145
include::upgrade-node.asciidoc[]
4246
include::set-paths-tip.asciidoc[]
4347
--
@@ -47,8 +51,6 @@ include::set-paths-tip.asciidoc[]
4751
Use the `elasticsearch-plugin` script to install the upgraded version of each
4852
installed Elasticsearch plugin. All plugins must be upgraded when you upgrade
4953
a node.
50-
+
51-
include::remove-xpack.asciidoc[]
5254

5355
. *Start each upgraded node.*
5456
+
Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
IMPORTANT: If you use {xpack} and are upgrading from a version prior to 6.3,
2-
remove {xpack} before restarting: `bin/elasticsearch-plugin remove x-pack`. As
3-
of 6.3, {xpack} is included in the default distribution. The node will fail to
4-
start if the old {xpack} plugin is present.
1+
IMPORTANT: If you are upgrading from a version prior to 6.3 and use {xpack}
2+
then you must remove the {xpack} plugin before upgrading with
3+
`bin/elasticsearch-plugin remove x-pack`. As of 6.3, {xpack} is included in
4+
the default distribution so make sure to upgrade to that one. If you upgrade
5+
without removing the {xpack} plugin first the node will fail to start. If you
6+
did not remove the {xpack} plugin and the node fails to start then you must
7+
downgrade to your previous version, remove {xpack}, and then upgrade again.
8+
In general downgrading is not supported but in this particular case it is.

docs/reference/upgrade/rolling_upgrade.asciidoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ include::shut-down-node.asciidoc[]
4444
. *Upgrade the node you shut down.*
4545
+
4646
--
47+
include::remove-xpack.asciidoc[]
48+
--
49+
+
50+
--
4751
include::upgrade-node.asciidoc[]
4852
include::set-paths-tip.asciidoc[]
4953
--
@@ -53,8 +57,6 @@ include::set-paths-tip.asciidoc[]
5357
Use the `elasticsearch-plugin` script to install the upgraded version of each
5458
installed Elasticsearch plugin. All plugins must be upgraded when you upgrade
5559
a node.
56-
+
57-
include::remove-xpack.asciidoc[]
5860

5961
. *Start the upgraded node.*
6062
+

0 commit comments

Comments
 (0)