Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Influxdb V1 database not found #2317

Closed
khoebling opened this issue Apr 16, 2023 · 1 comment
Closed

Influxdb V1 database not found #2317

khoebling opened this issue Apr 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@khoebling
Copy link

khoebling commented Apr 16, 2023

The Problem

Es werden die Werte nicht in die Influxdb geschrieben. Laut Fehlermeldung existiert die Datenbank nicht, obwohl sie mit create database angelegt wurde. Auth ist auf der influx deaktivert. Zum testen habe ich auch versucht, ein definitiv existierende Datenbank wo schon Daten auflaufen aus openhab einzutragen. gleicher Fehler - Der Fehler tritt bei mir auch in 15.0.3 auf

Version

v15.1.1

Logfile

[0d00h04m56s] 2023-04-16T11:01:11 <INF> [INFLUXDB] API URI: http://192.168.1.217:8086/write?db=wasser/
[0d00h04m56s] 2023-04-16T11:01:11 <DBG> [INFLUXDB] client is initialized
[0d00h04m56s] 2023-04-16T11:01:11 <DBG> [INFLUXDB] header is set
[0d00h04m56s] 2023-04-16T11:01:11 <DBG> [INFLUXDB] post payload is set
[0d00h04m56s] 2023-04-16T11:01:11 <DBG> [INFLUXDB] HTTP Client Error encountered
[0d00h04m56s] 2023-04-16T11:01:11 <DBG> [INFLUXDB] HTTP Client sent all request headers
[0d00h04m56s] 2023-04-16T11:01:11 <DBG> [INFLUXDB] Header: key=Content-Type, value=application/json
[0d00h04m56s] 2023-04-16T11:01:11 <DBG> [INFLUXDB] Header: key=Request-Id, value=3c2fc99b-dc35-11ed-be68-56e0e25aeb87
[0d00h04m56s] 2023-04-16T11:01:11 <DBG> [INFLUXDB] Header: key=X-Influxdb-Build, value=OSS
[0d00h04m56s] 2023-04-16T11:01:11 <DBG> [INFLUXDB] Header: key=X-Influxdb-Error, value=database not found: "wasser/"
[0d00h04m56s] 2023-04-16T11:01:11 <DBG> [INFLUXDB] Header: key=X-Influxdb-Version, value=1.8.10
[0d00h04m56s] 2023-04-16T11:01:12 <DBG> [INFLUXDB] Header: key=X-Request-Id, value=3c2fc99b-dc35-11ed-be68-56e0e25aeb87
[0d00h04m56s] 2023-04-16T11:01:12 <DBG> [INFLUXDB] Header: key=Date, value=Sun, 16 Apr 2023 09:01:11 GMT
[0d00h04m56s] 2023-04-16T11:01:12 <DBG> [INFLUXDB] Header: key=Content-Length, value=44
[0d00h04m56s] 2023-04-16T11:01:12 <DBG> [INFLUXDB] HTTP Client data recevied: len=44
[0d00h04m56s] 2023-04-16T11:01:12 <DBG> [INFLUXDB] HTTP Client finished
[0d00h04m56s] 2023-04-16T11:01:12 <DBG> [INFLUXDB] HTTP request was performed
[0d00h04m56s] 2023-04-16T11:01:12 <DBG> [INFLUXDB] HTTP status code404
[0d00h04m56s] 2023-04-16T11:01:12 <DBG> [INFLUXDB] HTTP Client Disconnected

Expected Behavior

Daten an Influxdb übertragen

Screenshots

No response

Additional Context

Config section influx

[InfluxDB]
Uri = http://192.168.1.217:8086
Database = wasser
Measurement = Wasserverbrauch
;user = undefined
;password = undefined

Log aus dem Syslog der influx

Apr 16 11:07:10 smarthome influxd-systemd-start.sh[90900]: [httpd] 192.168.1.217 - openhab [16/Apr/2023:11:07:10 +0200] "POST /write?db=openhab&rp=autogen&precision=n&consistency=one HTTP/1.1 " 204 0 "-" "okhttp/3.14.9" 122243cc-dc36-11ed-bfab-56e0e25aeb87 26952
Apr 16 11:07:21 smarthome influxd-systemd-start.sh[90900]: [httpd] 192.168.1.122 - - [16/Apr/2023:11:07:21 +0200] "POST /write?db=openhab/ HTTP/1.1 " 404 45 "-" "ESP32 Meter reader" 184a4f8c-dc36-11ed-bfb3-56e0e25aeb87 308
@khoebling khoebling added the bug Something isn't working label Apr 16, 2023
@khoebling
Copy link
Author

Sorry erst jetzt gefunden

#2233

Wurde schon gemeldet und gefixt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant