Closed srLinux closed 1 year ago
This has way has been implemented since the very first version: https://github.com/jomjol/AI-on-the-edge-device/commit/eb53db00d07df0eff36dc4f9fa8791eb286ac42a#diff-d3856a99d7b6cab0d2e1eae90aa70a1a8fda60e1c56051a0431d2458c5e8f602
Are you sure, that the problem is in the code and not in the database itself?
Hi, take a look here:
https://docs.influxdata.com/influxdb/v1.8/guides/write_data/#
To write to a database using the InfluxDB 1.8 API = curl -i -XPOST 'http://localhost:8086/write?db=mydb' To write to a database using the InfluxDB 2.0 API = curl -i -XPOST 'http://localhost:8086/api/v2/write?bucket=db'
But i can live with my workaround to collect the topic from mqtt via telegraf. The document says api calls for v2 are compatible in version 1.8+ idk if they mean including the 1.8 or since 2.0 :-)
I have modified the latest rolling. Can you check?
hi there, sadly not fixed cause tailing /
[0d00h00m50s] 2023-03-23T21:54:53
Fixed in PR #2233 thank you!
@caco3 i am new to github, can you please tell my why you closed the issue? i made a mistake?
@srLinux It got automatically closed because I referred to it in PR https://github.com/jomjol/AI-on-the-edge-device/pull/2233
I have understood, thank you :-)
If it’s not too much of an effort, could you make the current rolling a bug fix release? I wasn’t able to build it by myself on a mac :(, and now I’m missing values from my counters since 5 days with having 15.1.1 running.
@glennsen Until we add it to a new bugfix release, you can use https://github.com/jomjol/AI-on-the-edge-device/actions?query=branch%3Afix-influxDBv1-trailing-slash
just use the update zip for the update as if it were a normal release.
@glennsen Until we add it to a new bugfix release, you can use https://github.com/jomjol/AI-on-the-edge-device/actions?query=branch%3Afix-influxDBv1-trailing-slash
just use the update zip for the update as if it were a normal release.
Thanks!
For the record: With v15.1.1 I did not even see any TCP Packet coming on the InfluxDB host coming in. With above hotfix I get my data again.
The Problem
Hi,
I have configured InfluxDBv1 and it does not work. I checked the logs and noticed that the API URI: is http://192.168.10.17:8086/api/v2/write?bucket=test/ which looks like it is for v2 type of database.
Version
Release: v15.1.0 (Commit: 7d33c3e+)
Logfile
Expected Behavior
something like http://192.168.10.17:8086/write?db=test'
Screenshots
No response
Additional Context
No response