influxdata-docker icon indicating copy to clipboard operation
influxdata-docker copied to clipboard

User admit doesn't get added

Open pinkynrg opened this issue 6 years ago • 3 comments

Trying to add an admin user in order to activate http authentication.

However the admin user doesn't seem to get added.

Here's my docker compose file:

influx-client-web:     
   image: influxdb:latest     
   restart: always     
   environment:       
      INFLUXDB_DB: 'metrics'           
      INFLUXDB_HTTP_AUTH_ENABLED: 'true'
      INFLUXDB_ADMIN_USER: '***'       
      INFLUXDB_ADMIN_PASSWORD: '***' 
      INFLUXDB_HTTP_LOG_ENABLED: 'false'
      INFLUXDB_DATA_QUERY_LOG_ENABLED: 'false'     
   volumes:         
      - influx-web-data:/var/lib/influxdb     
   ports:       
      - '8086:8086'

pinkynrg avatar Apr 21 '19 18:04 pinkynrg

DId you solve your problem? I have the same issue and I do not know what should I do

piotrbrzezina avatar Jul 01 '19 11:07 piotrbrzezina

The administrator interface is deprecated as of 1.1.0 and will be removed in 1.3.0.

https://hub.docker.com/_/influxdb?tab=description

lchachurski avatar Jul 26 '19 19:07 lchachurski

Just in case, it looks like the only way to get authentication running is to delete and recreate the volume until now, e.g. #232

cooling75 avatar May 22 '20 23:05 cooling75