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:~ $