Vaikis2006
(Vaikis2006)
November 27, 2024, 8:41pm
1
RPI 5 latest with openHAB 4.2.3 (64 bit) fresh install just influxdb database restored from the backup, all permissions in place for users. Openhab InfluxDB Persistence works without issues.
Grafana v11.3.1
Influxdb v1.11.8
When creating new data source from grafana I get error:
Post "http://192.168.xxx.xxx:8086/query?db=openhab_db&epoch=ms": dial tcp 192.168.xxx.xxx:8086: connect: connection refused error reading influxDB
With old data source where Influxdb v1.8.10 no any issues, can add without any errors.
Also on new Influxdb I don’t see database “_internal” which for example can be found on v1.8.10
Any ideas ?
Vaikis2006
(Vaikis2006)
November 27, 2024, 8:51pm
2
did some connectivity test via PowerShell script:
PS C:\Users\Egis> Test-Port -Address new_influxdb -Port 8086
False
PS C:\Users\Egis> Test-Port -Address old_influxdb -Port 8086
True
Vaikis2006
(Vaikis2006)
November 28, 2024, 10:19am
3
found yesterday error, seems by default 8086 bind only for localhost and not available from “outside”
openhabian@openhabian:~ $ ss -lntu | grep 8086
tcp LISTEN 0 4096 127.0.0.1:8086 0.0.0.0:*
after /etc/influxdb/influxdb.conf edit
# The bind address used by the HTTP service.
bind-address = ":8086"
and
sudo systemctl restart influxdb
all fine now
Vaikis2006
(Vaikis2006)
November 28, 2024, 10:23am
4
@mstormi I used latest build for RPI5, this file /etc/influxdb/influxdb.conf
is not “touched” during install ?