influxdata / influxdata/docs-v2

influx setup and influxd upgrade are exclusive

Open
#3,828 0 comments 1 reaction 1 assignee View on GitHub

@pierwill is already working on this.

Since Mar 4, 2022.

InfluxDB v2 product:v2
Dominant language
JavaScript
Stars
82
Forks
326
Avg merge
1d 1h
Merged PRs (30d)
82

Description

@PoloKltz mentions that it is difficult to tell how `influx setup` and `influxd upgrade` interact. In fact they are mutually exclusive (a new 2.x database should be created via `influx setup`, and an existing 1.x install should be upgraded with `influxd upgrade`)

Perhaps a note on https://docs.influxdata.com/influxdb/v2.1/reference/cli/influxd/upgrade/ explicitly mentioning that https://docs.influxdata.com/influxdb/v2.1/reference/cli/influx/setup/ is unnecessary would be enough.

##### Relevant URLs
https://docs.influxdata.com/influxdb/v2.1/upgrade/v1-to-v2/automatic-upgrade/ - no `influx setup`
https://docs.influxdata.com/influxdb/v2.1/upgrade/v1-to-v2/manual-upgrade/ - does need `influx setup`
https://docs.influxdata.com/influxdb/v2.1/install/?t=CLI+Setup#set-up-influxdb-through-the-influx-cli - `influx setup` docs
https://docs.influxdata.com/influxdb/v2.1/reference/cli/influx/setup/
https://docs.influxdata.com/influxdb/v2.1/reference/cli/influxd/upgrade/

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.