Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

influxd upgrade writes config.toml to a confusing location #20104

Closed
danxmoran opened this issue Nov 19, 2020 · 0 comments · Fixed by #20110
Closed

influxd upgrade writes config.toml to a confusing location #20104

danxmoran opened this issue Nov 19, 2020 · 0 comments · Fixed by #20110
Assignees
Labels
area/2.x OSS 2.0 related issues and PRs

Comments

@danxmoran
Copy link
Contributor

When influxd upgrade converts a V1 config file to V2, it writes the output config.toml into the same directory as the V1 file. This results in confusing behavior like config.toml being written into ~/.influxdb instead of ~/.influxdbv2. We don't expose an option to override this behavior.

We should fix the command to:

  1. Expose a new CLI option to set the output path of the V2 config
  2. Update the default path to be ~/.influxdbv2/config.toml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/2.x OSS 2.0 related issues and PRs
Projects
None yet
1 participant