influxdata / influxdata/influx-cli
influx setup: Error: instance has already been set up
- Dominant language
- Go
- Stars
- 75
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
## Issue
We cannot force the client to reset the influxdb config using this command
```
influx setup -f
Error: instance has already been set up
```
This is really weird as this problem still exists even if I remove, delete the files installed on macos using brew
```
brew uninstall influxdb-cli
brew uninstall influxdb
rm -rf /usr/local/etc/influxdb2
rm -rf ~/.influxdbv2
brew services restart influxdb
brew install influxdb-cli
brew install influxdb
influx setup -f
Error: instance has already been set up
```
**Version**: influxdb - 2.2.1
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce `influx setup -f` with InfluxDB 2.2.1 after removing the Homebrew and local configuration paths listed in the report. Start at the CLI setup command and trace why the already-set-up state is not reset; done means the forced setup completes successfully after cleanup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100