influxdata / influxdb

Scalable datastore for metrics, events, and real-time analytics
https://influxdata.com
Apache License 2.0
28.63k stars 3.54k forks source link

Unable to process input: liner: function not supported in this terminal #18036

Open cnestor1 opened 4 years ago

cnestor1 commented 4 years ago

I am using docker-compose to create an influxdb container with authentication: Following the docs here is my docker-compose: `

influxdb: image: influxdb:latest container_name: influxdb ports:

running docker-compose up -d --build influxdb. starts the container successfully.

Docker logs -> `.

ts=2020-05-11T18:14:57.745617Z lvl=info msg="Auth is enabled but shared-secret is blank. BearerAuthentication is disabled."`

` docker exec -it influxdb influx Connected to http://localhost:8086 version 1.8.0 InfluxDB shell version: 1.8.0

admin ERR: unable to parse authentication credentials Warning: It is possible this error is due to not setting a database. Please set a database with the command "use ". auth username: admin Unable to process input: liner: function not supported in this terminal>

`

Is there something wrong in the setup or is is it a bug?

russorat commented 4 years ago

@cnestor1 thanks for the issue. the log line can be ignored. for the cli, just pass the username and password using the correct flags: https://docs.influxdata.com/influxdb/v1.8/tools/influx-cli/#flags