influxdata / influxdata/influxdb

How to create admin / root user and set its password after a freshly installed InfluxDB 2.3?

Open
#23,656 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

Maybe somebody has a step-by-step-manual for that. No matter what i do, i always get a 401 error.

`
root@test:/var/lib/influxdb# influx auth create --org my-org --all-access
Error: failed to lookup org with name "my-org": 401 Unauthorized: unauthorized access
`

`
root@test:/var/lib/influxdb# influx auth list
Error: could not find authorization with given parameters: 401 Unauthorized: unauthorized access
`

`
root@test:/var/lib/influxdb# curl http://localhost/api/v2/authorizations

404 Not Found

Not Found


The requested URL was not found on this server.




Apache/2.4.25 (Debian) Server at localhost Port 80

`

`
root@test:/var/lib/influxdb# influx user ls
Error: failed to list users: 401 Unauthorized: unauthorized access
`

`
root@test:/var/lib/influxdb# influx user list
Error: failed to list users: 401 Unauthorized: unauthorized access
`

`
root@test:/var/lib/influxdb# influx user create -n root -p Test12345 -o myorg-com
Error: failed to lookup org with name "myorg-com": 401 Unauthorized: unauthorized access
`

Thank you very very much for your feedback(s) :-)

With best regards from Switzerland,
Patrick

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce the fresh InfluxDB 2.3 setup using the documented `influx` commands and the shown localhost requests; first determine whether initial setup has been completed and whether the CLI reaches the correct API endpoint. Update the relevant installation and authentication documentation with the supported bootstrap sequence, then verify that user and organization creation no longer returns 401.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, shell
Domain
cli, databases, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.