Documentation

Upgrade from InfluxDB 2.x to InfluxDB 2.1

Upgrade to InfluxDB 2.1 from an earlier version of InfluxDB 2.x.

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.

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 2.1 for macOS in place of your current 2.x version.

Download and install the latest version of InfluxDB 2.1 for Linux in place of current 2.x version.

Download and install the latest version of InfluxDB 2.1 for Windows in place of current 2.x version.

To upgrade to InfluxDB 2.1 with Docker, update your Docker image to use the latest InfluxDB image.

influxdb:2.1.1

Set your InfluxDB URL

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.