Upgrade from InfluxDB 2.x to 2.9

API token hashing is enabled by default in InfluxDB OSS 2.9.0

Stronger token security: tokens are stored as hashes on disk, so a copy of the database file doesn’t expose usable tokens. Existing tokens are hashed on first startup and the original strings can’t be recovered afterward — capture any plaintext tokens you still need before you upgrade.

For more information, see Token hashing.

Upgrade to InfluxDB 2.9 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.9 for macOS in place of your current 2.x version.

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

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

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

influxdb:2.9.1

Was this page helpful?

Thank you for your feedback!