2014-04-01 12:28:08 -04:00
|
|
|
|
[[setup-upgrade]]
|
2019-03-13 17:38:13 -04:00
|
|
|
|
= Upgrade {es}
|
2017-12-05 13:58:52 -05:00
|
|
|
|
|
|
|
|
|
[partintro]
|
|
|
|
|
--
|
2019-03-13 17:38:13 -04:00
|
|
|
|
{es} can usually be upgraded using a <<rolling-upgrades,Rolling upgrade>>
|
|
|
|
|
process so upgrading does not interrupt service. Rolling upgrades are supported:
|
|
|
|
|
|
|
|
|
|
* Between minor versions
|
2019-05-20 15:32:44 -04:00
|
|
|
|
* From 5.6 to 6.8
|
|
|
|
|
* From 6.8 to {version}
|
2020-04-14 11:28:55 -04:00
|
|
|
|
ifeval::[ "{version}" != "{minor-version}.0" ]
|
|
|
|
|
* From any version since {minor-version}.0 to {version}
|
|
|
|
|
endif::[]
|
2019-03-13 17:38:13 -04:00
|
|
|
|
|
2020-05-05 10:09:41 -04:00
|
|
|
|
[TIP]
|
|
|
|
|
====
|
|
|
|
|
For rolling upgrades between major versions (e.g., 5.6 to 6.8), we recommend
|
|
|
|
|
using the {kibana-ref}/upgrade-assistant.html[Kibana Upgrade Assistant].
|
|
|
|
|
|
|
|
|
|
The upgrade assistant identifies deprecated settings in your cluster and guides
|
|
|
|
|
you through the process of resolving issues, including reindexing.
|
|
|
|
|
|
|
|
|
|
We also recommend checking your <<deprecation-logging,deprecation logs>> for any
|
|
|
|
|
other functionality that may have changed.
|
|
|
|
|
====
|
2019-08-28 08:32:05 -04:00
|
|
|
|
|
|
|
|
|
The following table shows the recommended upgrade paths to {version}.
|
|
|
|
|
|
2020-04-14 11:28:55 -04:00
|
|
|
|
[cols="<1,3",options="header",]
|
2019-08-28 08:32:05 -04:00
|
|
|
|
|====
|
|
|
|
|
|Upgrade from
|
2020-04-14 11:28:55 -04:00
|
|
|
|
|Recommended upgrade path to {version}
|
|
|
|
|
|
|
|
|
|
ifeval::[ "{version}" != "{minor-version}.0" ]
|
|
|
|
|
|A previous {minor-version} version (e.g., {minor-version}.0)
|
|
|
|
|
|<<rolling-upgrades,Rolling upgrade>> to {version}
|
|
|
|
|
endif::[]
|
2019-08-28 08:32:05 -04:00
|
|
|
|
|
2020-05-06 11:47:39 -04:00
|
|
|
|
|7.0–7.8
|
2019-08-28 08:32:05 -04:00
|
|
|
|
|<<rolling-upgrades,Rolling upgrade>> to {version}
|
|
|
|
|
|
|
|
|
|
|6.8
|
|
|
|
|
|<<rolling-upgrades,Rolling upgrade>> to {version}
|
|
|
|
|
|
|
|
|
|
|6.0–6.7
|
|
|
|
|
a|
|
|
|
|
|
|
|
|
|
|
. https://www.elastic.co/guide/en/elasticsearch/reference/6.8/rolling-upgrades.html[Rolling upgrade] to 6.8
|
|
|
|
|
. <<rolling-upgrades,Rolling upgrade>> to {version}
|
|
|
|
|
|
|
|
|
|
|5.6
|
|
|
|
|
a|
|
|
|
|
|
|
|
|
|
|
. https://www.elastic.co/guide/en/elasticsearch/reference/6.8/rolling-upgrades.html[Rolling upgrade] to 6.8
|
|
|
|
|
. <<rolling-upgrades,Rolling upgrade>> to {version}
|
|
|
|
|
|
|
|
|
|
|5.0–5.5
|
|
|
|
|
a|
|
|
|
|
|
|
|
|
|
|
. https://www.elastic.co/guide/en/elasticsearch/reference/5.6/rolling-upgrades.html[Rolling upgrade] to 5.6
|
|
|
|
|
. https://www.elastic.co/guide/en/elasticsearch/reference/6.8/rolling-upgrades.html[Rolling upgrade] to 6.8
|
|
|
|
|
. <<rolling-upgrades,Rolling upgrade>> to {version}
|
|
|
|
|
|====
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[WARNING]
|
|
|
|
|
====
|
2020-03-20 14:02:08 -04:00
|
|
|
|
The upgrade path from 6.8 to 7.0 is *not* supported (both full cluster restart and rolling upgrade).
|
|
|
|
|
====
|
|
|
|
|
|
|
|
|
|
To upgrade directly to {version} from 6.7 or earlier, you must shut down the
|
|
|
|
|
cluster, install {version}, and restart. For more information, see
|
|
|
|
|
<<restart-upgrade, Full cluster restart upgrade>>.
|
2019-08-28 08:32:05 -04:00
|
|
|
|
|
2020-03-20 14:02:08 -04:00
|
|
|
|
[WARNING]
|
|
|
|
|
====
|
|
|
|
|
In-place downgrades to earlier versions are *not* supported. To downgrade to an
|
|
|
|
|
earlier version, <<snapshots-restore-snapshot,restore a snapshot>> taken prior
|
|
|
|
|
to the version upgrade.
|
2019-08-28 08:32:05 -04:00
|
|
|
|
====
|
|
|
|
|
|
2019-03-13 17:38:13 -04:00
|
|
|
|
{es} can read indices created in the previous major version. If you
|
|
|
|
|
have indices created in 5.x or before, you must reindex or delete them
|
|
|
|
|
before upgrading to {version}. {es} nodes will fail to start if
|
|
|
|
|
incompatible indices are present. Snapshots of 5.x or earlier indices cannot be
|
|
|
|
|
restored to a 7.x cluster even if they were created by a 6.x cluster. For
|
|
|
|
|
information about upgrading old indices, see <<reindex-upgrade, Reindex to upgrade>>.
|
|
|
|
|
|
|
|
|
|
When upgrading to a new version of {es}, you need to upgrade each
|
|
|
|
|
of the products in your Elastic Stack. For more information, see the
|
|
|
|
|
{stack-ref}/upgrading-elastic-stack.html[Elastic Stack Installation and Upgrade Guide].
|
|
|
|
|
|
2017-12-05 13:58:52 -05:00
|
|
|
|
--
|
2016-10-11 06:14:35 -04:00
|
|
|
|
|
2017-08-23 17:03:14 -04:00
|
|
|
|
include::upgrade/rolling_upgrade.asciidoc[]
|
2014-04-01 12:28:08 -04:00
|
|
|
|
|
2017-08-23 17:03:14 -04:00
|
|
|
|
include::upgrade/cluster_restart.asciidoc[]
|
2016-10-11 06:14:35 -04:00
|
|
|
|
|
2017-12-15 03:42:36 -05:00
|
|
|
|
include::upgrade/reindex_upgrade.asciidoc[]
|