Authorization not found when running influxdb 2.x in compose
pushc6 opened this issue · comments
Everything seems to start fine, I can log in, but when trying to create API tokens, I am never presented with the token, but it says it was created successfully.
Looking at the logs I see:
ts=2022-07-27T16:30:01.250710Z lvl=info msg=Unauthorized log_id=0bx7jsPW000 error="session not found"
ts=2022-07-27T16:30:05.854053Z lvl=info msg=Unauthorized log_id=0bx7jsPW000 error="authorization not found"
ts=2022-07-27T16:30:08.060165Z lvl=info msg=Unauthorized log_id=0bx7jsPW000 error="authorization not found"
ts=2022-07-27T16:30:09.173151Z lvl=info msg=Unauthorized log_id=0bx7jsPW000 error="authorization not found"
ts=2022-07-27T16:30:11.393559Z lvl=info msg=Unauthorized log_id=0bx7jsPW000 error="authorization not found"
ts=2022-07-27T16:31:06.948966Z lvl=info msg=Unauthorized log_id=0bx7jsPW000 error="authorization not found"
ts=2022-07-27T16:31:09.170845Z lvl=info msg=Unauthorized log_id=0bx7jsPW000 error="authorization not found"
Here is my docker-compose.yml
influxdb:
image: influxdb:latest
container_name: influxdb
restart: unless-stopped
privileged: true
ports:
- 8086:8086
environment: - INFLUXDB_HTTP_AUTH_ENABLED=true
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_BUCKET=lab-influxdb
- DOCKER_INFLUXDB_INIT_USERNAME=labuser
- DOCKER_INFLUXDB_INIT_PASSWORD=pw
- DOCKER_INFLUXDB_INIT_ORG=home-lab
- DOCKER_INFLUXDB_INIT_RETENTION=365d
volumes: - ./influxdb/data:/var/lib/influxdb2
- ./influxdb/config:/etc/influxdb2
networks: - monitor-net
labels:
org.label-schema.group: "monitoring"
Closed due to brain fart on my behalf. Click the name of the token, it doesn't automatically pop-up.