[23:46:57] openhabian@openhab:~$ curl -sL
https://repos.influxdata.com/influxdb.key | sudo apt-key add -
OK
[23:52:14] openhabian@openhab:~$ echo "deb
https://repos.influxdata.com/debian stretch stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
deb
https://repos.influxdata.com/debian stretch stable
[23:52:24] openhabian@openhab:~$ sudo apt update
Hit:1
http://archive.raspberrypi.org/debian buster InRelease
Get:2
https://repos.influxdata.com/debian stretch InRelease [4,732 B]
Get:3
http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Ign:4
https://dl.bintray.com/openhab/apt-repo2 stable InRelease
Get:5
https://dl.bintray.com/openhab/apt-repo2 stable Release [6,051 B]
Hit:6
https://packages.grafana.com/oss/deb stable InRelease
Get:7
https://repos.influxdata.com/debian stretch/stable armhf Packages [924 B]
Get:8
http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Fetched 13.0 MB in 11s (1,168 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
[23:52:47] openhabian@openhab:~$ sudo apt install influxdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
influxdb is already the newest version (1.7.10-1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
[23:52:57] openhabian@openhab:~$ apt list --upgradable
Listing... Done
binutils-arm-linux-gnueabihf/stable 2.31.1-16+rpi2 armhf [upgradable from: 2.31.1-16+rpi1]
binutils-common/stable 2.31.1-16+rpi2 armhf [upgradable from: 2.31.1-16+rpi1]
binutils/stable 2.31.1-16+rpi2 armhf [upgradable from: 2.31.1-16+rpi1]
libbinutils/stable 2.31.1-16+rpi2 armhf [upgradable from: 2.31.1-16+rpi1]
raspberrypi-sys-mods/testing 20191105 armhf [upgradable from: 20190429]
[23:53:23] openhabian@openhab:~$ sudo systemctl enable influxdb
[23:53:43] openhabian@openhab:~$ sudo systemctl start influxdb
[23:53:51] openhabian@openhab:~$ influx
Connected to
http://localhost:8086 version 1.7.10
InfluxDB shell version: 1.7.10
> CREATE DATABASE openhab_db
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 <database>".