influxdata / influxdata/influxdb

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

Open
#18,036 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

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:
- "8083:8083"
- "8086:8086"
- "8090:8090"
environment:
- INFLUXDB_ADMIN_USER=admin
- INFLUXDB_ADMIN_USER_PASSWORD=admin
- INFLUXDB_USER=user
- INFLUXDB_USER_PASSWORD=user
- INFLUXDB_DB=mydb
- INFLUXDB_HTTP_AUTH_ENABLED=true
# env_file:
# - influxdb/env.influxdb
networks:
- net
volumes:
- influxdb:/var/lib/influxdb`

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?

Contributor guide

Open the contributing guide

Research direction

Reproduce the setup from the posted docker-compose configuration, then run `docker exec -it influxdb influx` and the `auth` command shown in the report. Investigate the terminal interaction that produces the liner error and verify that authentication works from this invocation without the unsupported-input message.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
cli, databases
Issue type
Bug
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.