2.5 KiB
title | description | menu | weight | related | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Upgrade from InfluxDB 2.x to InfluxDB 2.1 | To upgrade from InfluxDB 2.0 beta 16 or earlier to InfluxDB 2.1 (stable), manually upgrade all resources and data to the latest version by completing these steps. |
|
10 |
|
Upgrade to InfluxDB {{< current-version >}} from an earlier version of InfluxDB 2.x.
{{% note %}}
InfluxDB 2.0 beta-16 or earlier
If you're upgrading from InfluxDB 2.0 beta-16 or earlier, you must first upgrade to InfluxDB 2.0, and then complete the steps below. {{% /note %}}
{{< tabs-wrapper >}} {{% tabs %}} macOS Linux Windows Docker {{% /tabs %}}
{{% tab-content %}} Do one of the following:
Use homebrew to upgrade
brew upgrade influxdb
Manually upgrade
To manually upgrade, download and install the latest version of InfluxDB {{< current-version >}} for macOS in place of your current 2.x version. {{% /tab-content %}}
{{% tab-content %}}
Download and install the latest version of InfluxDB {{< current-version >}} for Linux in place of current 2.x version.
{{% /tab-content %}}
{{% tab-content %}}
Download and install the latest version of InfluxDB {{< current-version >}} for Windows in place of current 2.x version.
{{% /tab-content %}}
{{% tab-content %}}
To upgrade to InfluxDB {{< current-version >}} with Docker, update your Docker image to use the latest InfluxDB image.
influxdb:{{< latest-patch >}}
{{% /tab-content %}}
{{< /tabs-wrapper >}}