Can´t install Grafana+InfluxDB

Hi, I´m trying to install Grafana+InfluxDB from openhabian-config, but it always finishes with the follwing error on the screenshot. The verbose output says:

$ systemctl enable --now influxdb.service
+ systemctl enable --now influxdb.service
Job for influxdb.service failed because the control process exited with error code.
See "systemctl status influxdb.service" and "journalctl -xe" for details.
+ return 1
+ echo 'FAILED (enable service)'
FAILED (enable service)
+ return 1
+ return 1
+ echo FAILED
FAILED
+ return 1
+ '[' 1 -ne 0 ']'
+ whiptail --msgbox 'There was an error or interruption during the execution of:\n  "20 | Optional Components"\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or https://github.com/openhab/openhabian/blob/main/docs/openhabian-DEBUG.md how to proceed.' 14 80

Screenshot 2021-10-04 190031|654x245

openhabian@openhab:~ $ systemctl status influxdb.service
● influxdb.service - InfluxDB is an open-source, distributed, time series database
   Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
   Active: activating (start) since Mon 2021-10-04 19:16:55 CEST; 4s ago
     Docs: https://docs.influxdata.com/influxdb/
Cntrl PID: 15598 (influxd-systemd)
    Tasks: 12 (limit: 2178)
   CGroup: /system.slice/influxdb.service
           ├─15598 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.sh
           ├─15599 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
           └─15699 sleep 1

Okt 04 19:16:55 openhab influxd-systemd-start.sh[15598]: ts=2021-10-04T17:16:55.875664Z lvl=info msg="Opened file" log_id=0W~4mP~l000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/74/000000003-000000002.tsm id=0 duration=1.440ms
Okt 04 19:16:55 openhab influxd-systemd-start.sh[15598]: ts=2021-10-04T17:16:55.883507Z lvl=info msg="Opened shard" log_id=0W~4mP~l000 service=store trace_id=0W~4mQQG000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/73 duration=73.198ms
Okt 04 19:16:55 openhab influxd-systemd-start.sh[15598]: ts=2021-10-04T17:16:55.888399Z lvl=info msg="Opened file" log_id=0W~4mP~l000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/76/000000003-000000002.tsm id=0 duration=0.851ms
Okt 04 19:16:55 openhab influxd-systemd-start.sh[15598]: ts=2021-10-04T17:16:55.890967Z lvl=info msg="Opened shard" log_id=0W~4mP~l000 service=store trace_id=0W~4mQQG000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/72 duration=86.082ms
Okt 04 19:16:55 openhab influxd-systemd-start.sh[15598]: ts=2021-10-04T17:16:55.894685Z lvl=info msg="Opened shard" log_id=0W~4mP~l000 service=store trace_id=0W~4mQQG000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/74 duration=29.582ms
Okt 04 19:16:55 openhab influxd-systemd-start.sh[15598]: ts=2021-10-04T17:16:55.898116Z lvl=info msg="Opened file" log_id=0W~4mP~l000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/78/000000003-000000002.tsm id=0 duration=0.718ms
Okt 04 19:16:55 openhab influxd-systemd-start.sh[15598]: ts=2021-10-04T17:16:55.898261Z lvl=info msg="Opened file" log_id=0W~4mP~l000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/77/000000003-000000002.tsm id=0 duration=0.648ms
Okt 04 19:16:55 openhab influxd-systemd-start.sh[15598]: ts=2021-10-04T17:16:55.913183Z lvl=info msg="Opened shard" log_id=0W~4mP~l000 service=store trace_id=0W~4mQQG000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/76 duration=29.469ms
Okt 04 19:16:55 openhab influxd-systemd-start.sh[15598]: ts=2021-10-04T17:16:55.928614Z lvl=info msg="Opened shard" log_id=0W~4mP~l000 service=store trace_id=0W~4mQQG000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/78 duration=33.654ms
Okt 04 19:16:55 openhab influxd-systemd-start.sh[15598]: ts=2021-10-04T17:16:55.928973Z lvl=info msg="Opened shard" log_id=0W~4mP~l000 service=store trace_id=0W~4mQQG000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/77 duration=36.809ms

openhabian@openhab:~ $ journalctl -xe
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.331088Z lvl=info msg="Opened file" log_id=0W~4tDcW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/76/000000003-000000002.tsm id=0 duration=2.810ms
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.333371Z lvl=info msg="Opened file" log_id=0W~4tDcW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/73/000000003-000000002.tsm id=0 duration=1.868ms
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.356241Z lvl=info msg="Opened shard" log_id=0W~4tDcW000 service=store trace_id=0W~4tE1W000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/72 duration=41.074ms
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.356682Z lvl=info msg="Opened file" log_id=0W~4tDcW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/74/000000003-000000002.tsm id=0 duration=0.871ms
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.361619Z lvl=info msg="Opened file" log_id=0W~4tDcW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/77/000000003-000000002.tsm id=0 duration=0.791ms
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.376720Z lvl=info msg="Opened shard" log_id=0W~4tDcW000 service=store trace_id=0W~4tE1W000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/76 duration=61.127ms
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.381472Z lvl=info msg="Opened file" log_id=0W~4tDcW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/75/000000003-000000002.tsm id=0 duration=0.814ms
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.389623Z lvl=info msg="Opened shard" log_id=0W~4tDcW000 service=store trace_id=0W~4tE1W000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/73 duration=74.710ms
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.398908Z lvl=info msg="Opened shard" log_id=0W~4tDcW000 service=store trace_id=0W~4tE1W000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/77 duration=41.658ms
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.401233Z lvl=info msg="Opened shard" log_id=0W~4tDcW000 service=store trace_id=0W~4tE1W000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/74 duration=86.091ms
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.404018Z lvl=info msg="Reading file" log_id=0W~4tDcW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/79/_00001.wal size=10491071
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.405860Z lvl=info msg="Opened file" log_id=0W~4tDcW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/78/000000003-000000002.tsm id=0 duration=1.711ms
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.410468Z lvl=info msg="Opened shard" log_id=0W~4tDcW000 service=store trace_id=0W~4tE1W000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/75 duration=33.438ms
Okt 04 19:18:47 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:47.434467Z lvl=info msg="Opened shard" log_id=0W~4tDcW000 service=store trace_id=0W~4tE1W000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/78 duration=34.662ms
Okt 04 19:18:56 openhab influxd-systemd-start.sh[17494]: ts=2021-10-04T17:18:56.612428Z lvl=info msg="Reading file" log_id=0W~4tDcW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/79/_00002.wal size=10490387
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17494]: Failed to reach influxdb http endpoint at http://localhost:8086/health
Okt 04 19:18:58 openhab systemd[1]: influxdb.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit influxdb.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Okt 04 19:18:58 openhab systemd[1]: influxdb.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit influxdb.service has entered the 'failed' state with result 'exit-code'.
Okt 04 19:18:58 openhab systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.
-- Subject: A start job for unit influxdb.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit influxdb.service has finished with a failure.
--
-- The job identifier is 5697 and the job result is failed.
Okt 04 19:18:58 openhab systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling restart.
Okt 04 19:18:58 openhab systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 74.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Automatic restarting of the unit influxdb.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Okt 04 19:18:58 openhab systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
-- Subject: A stop job for unit influxdb.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A stop job for unit influxdb.service has finished.
--
-- The job identifier is 5761 and the job result is done.
Okt 04 19:18:58 openhab systemd[1]: Starting InfluxDB is an open-source, distributed, time series database...
-- Subject: A start job for unit influxdb.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit influxdb.service has begun execution.
--
-- The job identifier is 5761.
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: Merging with configuration at: /etc/influxdb/influxdb.conf
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.430209Z lvl=info msg="InfluxDB starting" log_id=0W~4tuVW000 version=1.8.9 branch=1.8 commit=d9b56321d579
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.430928Z lvl=info msg="Go runtime" log_id=0W~4tuVW000 version=go1.13.8 maxprocs=4
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: Merging with configuration at: /etc/influxdb/influxdb.conf
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.534099Z lvl=info msg="Using data dir" log_id=0W~4tuVW000 service=store path=/var/lib/influxdb/data
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.535042Z lvl=info msg="Compaction settings" log_id=0W~4tuVW000 service=store max_concurrent_compactions=2 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.535191Z lvl=info msg="Open store (start)" log_id=0W~4tuVW000 service=store trace_id=0W~4tuul000 op_name=tsdb_open op_event=start
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.557004Z lvl=info msg="Reading file" log_id=0W~4tuVW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/79/_00001.wal size=10491071
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.563015Z lvl=info msg="Opened file" log_id=0W~4tuVW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/77/000000003-000000002.tsm id=0 duration=1.279ms
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.563015Z lvl=info msg="Opened file" log_id=0W~4tuVW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/75/000000003-000000002.tsm id=0 duration=1.390ms
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.596231Z lvl=info msg="Opened shard" log_id=0W~4tuVW000 service=store trace_id=0W~4tuul000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/75 duration=50.424ms
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.603028Z lvl=info msg="Opened file" log_id=0W~4tuVW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/78/000000003-000000002.tsm id=0 duration=0.722ms
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.605946Z lvl=info msg="Opened shard" log_id=0W~4tuVW000 service=store trace_id=0W~4tuul000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/77 duration=60.035ms
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.609631Z lvl=info msg="Opened file" log_id=0W~4tuVW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/72/000000004-000000002.tsm id=0 duration=0.716ms
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.613486Z lvl=info msg="Opened file" log_id=0W~4tuVW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/73/000000003-000000002.tsm id=0 duration=0.823ms
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.630379Z lvl=info msg="Opened shard" log_id=0W~4tuVW000 service=store trace_id=0W~4tuul000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/78 duration=32.960ms
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.641079Z lvl=info msg="Opened file" log_id=0W~4tuVW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/74/000000003-000000002.tsm id=0 duration=0.770ms
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.655761Z lvl=info msg="Opened shard" log_id=0W~4tuVW000 service=store trace_id=0W~4tuul000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/72 duration=109.083ms
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.657684Z lvl=info msg="Opened shard" log_id=0W~4tuVW000 service=store trace_id=0W~4tuul000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/73 duration=51.370ms
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.659310Z lvl=info msg="Opened file" log_id=0W~4tuVW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/76/000000003-000000002.tsm id=0 duration=0.795ms
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.661277Z lvl=info msg="Opened shard" log_id=0W~4tuVW000 service=store trace_id=0W~4tuul000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/74 duration=30.565ms
Okt 04 19:18:58 openhab influxd-systemd-start.sh[17669]: ts=2021-10-04T17:18:58.675441Z lvl=info msg="Opened shard" log_id=0W~4tuVW000 service=store trace_id=0W~4tuul000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/76 duration=19.493ms
lines 2166-2249/2249 (END)

Any idea?!

PS running openhabian 3.1.0 Release Build

PPS these are my outputs when I run influx and influxd anyway from the command line, so sth. must have been installed!?

openhabian@openhab:~ $ influxd

 8888888           .d888 888                   8888888b.  888888b.
   888            d88P"  888                   888  "Y88b 888  "88b
   888            888    888                   888    888 888  .88P
   888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
   888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
   888   888  888 888    888 888  888   X88K   888    888 888    888
   888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
 8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"

2021-10-04T17:27:25.940021Z     info    InfluxDB starting       {"log_id": "0W~5Nswl000", "version": "1.8.9", "branch": "1.8", "commit": "d9b56321d579"}
2021-10-04T17:27:25.940173Z     info    Go runtime      {"log_id": "0W~5Nswl000", "version": "go1.13.8", "maxprocs": 4}
run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in use
openhabian@openhab:~ $ influx
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused
Please check your connection settings and ensure 'influxd' is running.
openhabian@openhab:~ $ influxd

 8888888           .d888 888                   8888888b.  888888b.
   888            d88P"  888                   888  "Y88b 888  "88b
   888            888    888                   888    888 888  .88P
   888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
   888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
   888   888  888 888    888 888  888   X88K   888    888 888    888
   888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
 8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"

2021-10-04T17:27:45.055515Z     info    InfluxDB starting       {"log_id": "0W~5P2cl000", "version": "1.8.9", "branch": "1.8", "commit": "d9b56321d579"}
2021-10-04T17:27:45.055710Z     info    Go runtime      {"log_id": "0W~5P2cl000", "version": "go1.13.8", "maxprocs": 4}
run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in use
openhabian@openhab:~ $

What is the output of

netstat -tulpn |grep influx

It should show ports that are in use by the influx daemon.

openhabian@openhab:~ $ sudo netstat -tulpn |grep influx
tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      20384/influxd

Is there any other service running on port 8086 ?

netstat -tulpn | grep 8086

I get no output with this command:

openhabian@openhab:~ $ sudo netstat -tulpn | grep 8086
openhabian@openhab:~ $

Could you try to stop influxdb ( sudo systemctl stop influxdb.service ) and start it on the console:

sudo influxdb

Does it show information about why 8086 cannot be opened ?

openhabian@openhab:~ $ sudo systemctl stop influxdb.service
openhabian@openhab:~ $ sudo influxdb
sudo: influxdb: Befehl nicht gefunden
openhabian@openhab:~ $ sudo influxd

 8888888           .d888 888                   8888888b.  888888b.
   888            d88P"  888                   888  "Y88b 888  "88b
   888            888    888                   888    888 888  .88P
   888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
   888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
   888   888  888 888    888 888  888   X88K   888    888 888    888
   888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
 8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"

2021-10-06T06:18:53.421768Z     info    InfluxDB starting       {"log_id": "0X13vURG000", "version": "1.8.9", "branch": "1.8", "commit": "d9b56321d579"}
2021-10-06T06:18:53.421867Z     info    Go runtime      {"log_id": "0X13vURG000", "version": "go1.13.8", "maxprocs": 4}
2021-10-06T06:18:53.524447Z     info    Using data dir  {"log_id": "0X13vURG000", "service": "store", "path": "/var/lib/influxdb/data"}
2021-10-06T06:18:53.524628Z     info    Compaction settings     {"log_id": "0X13vURG000", "service": "store", "max_concurrent_compactions": 2, "throughput_bytes_per_second": 50331648, "throughput_bytes_per_second_burst": 50331648}
2021-10-06T06:18:53.524733Z     info    Open store (start)      {"log_id": "0X13vURG000", "service": "store", "trace_id": "0X13vUq0000", "op_name": "tsdb_open", "op_event": "start"}
2021-10-06T06:18:53.541576Z     info    Opened file     {"log_id": "0X13vURG000", "engine": "tsm1", "service": "filestore", "path": "/var/lib/influxdb/data/_internal/monitor/75/000000003-000000002.tsm", "id": 0, "duration": "1.060ms"}
2021-10-06T06:18:53.541748Z     info    Opened file     {"log_id": "0X13vURG000", "engine": "tsm1", "service": "filestore", "path": "/var/lib/influxdb/data/_internal/monitor/72/000000004-000000002.tsm", "id": 0, "duration": "0.716ms"}
2021-10-06T06:18:53.543364Z     info    Reading file    {"log_id": "0X13vURG000", "engine": "tsm1", "service": "cacheloader", "path": "/var/lib/influxdb/wal/_internal/monitor/79/_00001.wal", "size": 10491071}
2021-10-06T06:18:53.545162Z     info    Opened file     {"log_id": "0X13vURG000", "engine": "tsm1", "service": "filestore", "path": "/var/lib/influxdb/data/_internal/monitor/77/000000003-000000002.tsm", "id": 0, "duration": "0.649ms"}
2021-10-06T06:18:53.566822Z     info    Opened shard    {"log_id": "0X13vURG000", "service": "store", "trace_id": "0X13vUq0000", "op_name": "tsdb_open", "index_version": "inmem", "path": "/var/lib/influxdb/data/_internal/monitor/72", "duration": "34.878ms"}
2021-10-06T06:18:53.577381Z     info    Opened file     {"log_id": "0X13vURG000", "engine": "tsm1", "service": "filestore", "path": "/var/lib/influxdb/data/_internal/monitor/78/000000003-000000002.tsm", "id": 0, "duration": "1.041ms"}
2021-10-06T06:18:53.580201Z     info    Opened shard    {"log_id": "0X13vURG000", "service": "store", "trace_id": "0X13vUq0000", "op_name": "tsdb_open", "index_version": "inmem", "path": "/var/lib/influxdb/data/_internal/monitor/77", "duration": "48.047ms"}
2021-10-06T06:18:53.582095Z     info    Opened shard    {"log_id": "0X13vURG000", "service": "store", "trace_id": "0X13vUq0000", "op_name": "tsdb_open", "index_version": "inmem", "path": "/var/lib/influxdb/data/_internal/monitor/75", "duration": "50.032ms"}
2021-10-06T06:18:53.583813Z     info    Opened file     {"log_id": "0X13vURG000", "engine": "tsm1", "service": "filestore", "path": "/var/lib/influxdb/data/_internal/monitor/73/000000003-000000002.tsm", "id": 0, "duration": "0.745ms"}
2021-10-06T06:18:53.596880Z     info    Opened file     {"log_id": "0X13vURG000", "engine": "tsm1", "service": "filestore", "path": "/var/lib/influxdb/data/_internal/monitor/76/000000003-000000002.tsm", "id": 0, "duration": "1.232ms"}
2021-10-06T06:18:53.607330Z     info    Opened shard    {"log_id": "0X13vURG000", "service": "store", "trace_id": "0X13vUq0000", "op_name": "tsdb_open", "index_version": "inmem", "path": "/var/lib/influxdb/data/_internal/monitor/73", "duration": "26.877ms"}
2021-10-06T06:18:53.608686Z     info    Opened shard    {"log_id": "0X13vURG000", "service": "store", "trace_id": "0X13vUq0000", "op_name": "tsdb_open", "index_version": "inmem", "path": "/var/lib/influxdb/data/_internal/monitor/78", "duration": "39.775ms"}
2021-10-06T06:18:53.611450Z     info    Opened file     {"log_id": "0X13vURG000", "engine": "tsm1", "service": "filestore", "path": "/var/lib/influxdb/data/_internal/monitor/74/000000003-000000002.tsm", "id": 0, "duration": "0.693ms"}
2021-10-06T06:18:53.629595Z     info    Opened shard    {"log_id": "0X13vURG000", "service": "store", "trace_id": "0X13vUq0000", "op_name": "tsdb_open", "index_version": "inmem", "path": "/var/lib/influxdb/data/_internal/monitor/74", "duration": "21.966ms"}
2021-10-06T06:18:53.640424Z     info    Opened shard    {"log_id": "0X13vURG000", "service": "store", "trace_id": "0X13vUq0000", "op_name": "tsdb_open", "index_version": "inmem", "path": "/var/lib/influxdb/data/_internal/monitor/76", "duration": "52.813ms"}


edit: it looks like its starting…it takes a while obviously…I will report back soon.

edit2:

ok, it looks like it stopped here:

it is not started in daemon background mode thus it is not showing more items.
In case of further connections I would expect to see more messages.
Unfortunately I don’t see an error message there.
What happens in case you start the service in one window and in another window you try to run the influxdb client ? Does the connection then work resp. is more information shown then ?

you mean like this:

?

No. I did not mean starting influxdb manually and the service on top of. That ( of course ) fails.
What I meant is to start influx ( the client that can connect to the database ) in a second window.
It could be that you need to install it first in case it is not already installed.
The client is available in the influxdb-client package.

I think I had the same errors after updating the packages on my armbian (Debian) system.
I put the sleep parameter of the start script to 10 like it is described here. This helped.

Thanks for the idea @Tuny , I tried the proposed settings but unfortunately Is till get the error:

https://community.openhab.org/uploads/short-url/pSrH1nW1rHfKkj2AmJ92AJEP0Jf.png

is there a way to make a complete uninstall of grafana and influxdb which where both installed through openhabian-config?

I am not a linux expert. But you can always uninstall packages, with commands like this:

sudo apt-get purge --auto-remove influxdb 

Also google is your friend :wink:

I don’t think there is a problem in general. So something must be wrong with your installation. It could take some time to fix this.

Have you tried to adjust your debug level to see what went wrong with your installation?