I’m trying to setup influxdb in a reproducible way in macOS, that means, I try to do everything using influx-cli
This is the version I’m using:
influx version
Influx CLI 2.7.3 (git: 8b962c7e75) build_date: 2023-04-28T14:22:49Z
influxd version
InfluxDB 2.7.1 (git: 407
fa622e9) build_date: 2023-04-27T19:36:53Z
So I created an organization without problems:
influx setup --org my_org --name config_name
influx config list
Active Name URL Org
* config_name http://localhost:8086 my_org
But it seems that I need a token to create a new user?
influx user create -n myusername -p my_pass -o my_org
Error: failed to lookup org with name "my_org": 401 Unauthorized: unauthorized acces
So I type the documented command to create a new token:
> influx auth create --org my_org --all-access
Error: failed to lookup org with name "my_org": 401 Unauthorized: unauthorized access
Any tips?