InfluxDB Stopped Collecting Data

I have an HA installation running on a Raspberry Pi that had InfluxDB and Grafana installed, configured and working. However, as of about September it stopped logging data to the InfluxDB.

The InfluxDB service still seems to be running correctly. I can query the data which is what showed me the last values as of 10/18/2023. I’ve restarted HA multiple times since then, HA and all services/add-ons/etc. are on the latest updates. According to disk used %, it’s at 14.4% so there should be plenty of available drive space.

I’m fairly technically proficient, but am not at all experienced with InfluxDB. Any help in how to track down the disconnect here would be appreciated. I’m not super concerned about loss of data as this is just a home install, but it would be nice to keep it if possible. I just don’t know if this is due to entities changing (that happens frequently in my house) or something else entirely.

Influx integration logs?

Let me know if these are the wrong logs. The InfluxDB Logs show a bunch of the following after startup… which seems to say the service is responding?

time="2023-12-29T09:19:55-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:59602" response_time=3.036012ms status=200
time="2023-12-29T09:19:55-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:59584" response_time=41.773134ms status=200
time="2023-12-29T09:20:00-08:00" level=info msg="Response: No Content" component=server method=GET remote_addr="127.0.0.1:59614" response_time=2.062261ms status=204
time="2023-12-29T09:20:00-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:59618" response_time=64.520334ms status=200
time="2023-12-29T09:20:00-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:59634" response_time="178.387µs" status=200
time="2023-12-29T09:20:00-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:59638" response_time=4.977384ms status=200
time="2023-12-29T09:20:00-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:59646" response_time=3.873023ms status=200
time="2023-12-29T09:20:02-08:00" level=info msg="Response: No Content" component=server method=GET remote_addr="127.0.0.1:55012" response_time=1.59132ms status=204
time="2023-12-29T09:20:02-08:00" level=info msg="Serving assets" component=server method=GET remote_addr="127.0.0.1:55026" url=/RobotoMono-Medium.6ab04320.ttf
time="2023-12-29T09:20:02-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:55036" response_time=2.838273ms status=200
time="2023-12-29T09:20:02-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:55026" response_time=32.630081ms status=200
time="2023-12-29T09:20:02-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:55050" response_time=2.540979ms status=200
time="2023-12-29T09:20:02-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:55054" response_time=1.88978ms status=200
time="2023-12-29T09:20:02-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:55064" response_time=4.875312ms status=200
time="2023-12-29T09:20:02-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:55074" response_time=3.081771ms status=200
time="2023-12-29T09:20:02-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:55088" response_time=3.403972ms status=200
time="2023-12-29T09:20:02-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:55092" response_time=3.268047ms status=200
time="2023-12-29T09:20:02-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:55106" response_time=3.546563ms status=200
time="2023-12-29T09:20:02-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:55110" response_time=2.072687ms status=200
time="2023-12-29T09:20:05-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:55124" response_time="144.277µs" status=200
time="2023-12-29T09:20:15-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:41192" response_time="96.851µs" status=200
time="2023-12-29T09:20:20-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:41198" response_time="597.995µs" status=200
time="2023-12-29T09:20:20-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:41212" response_time="532.44µs" status=200
time="2023-12-29T09:20:20-08:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:41218" response_time=31.664033ms status=200
time="2023-12-29T09:20:25-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:60500" response_time="131.129µs" status=200
time="2023-12-29T09:20:35-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:41002" response_time="109.925µs" status=200
time="2023-12-29T09:20:45-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:37822" response_time="94.611µs" status=200
time="2023-12-29T09:20:55-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:38688" response_time="212.647µs" status=200
time="2023-12-29T09:21:05-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:57178" response_time="146.017µs" status=200
time="2023-12-29T09:21:15-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:47918" response_time="92.37µs" status=200
time="2023-12-29T09:21:25-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:52326" response_time="127.147µs" status=200
time="2023-12-29T09:21:35-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:38794" response_time="126.684µs" status=200
time="2023-12-29T09:21:45-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:57538" response_time="192.554µs" status=200
time="2023-12-29T09:21:55-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:32922" response_time="101.166µs" status=200
time="2023-12-29T09:22:05-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:51964" response_time="89.869µs" status=200
time="2023-12-29T09:22:15-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:37320" response_time="121.424µs" status=200
time="2023-12-29T09:22:26-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:41268" response_time="103.407µs" status=200
time="2023-12-29T09:22:36-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:40746" response_time="122.832µs" status=200
time="2023-12-29T09:22:46-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:58894" response_time="88.203µs" status=200
time="2023-12-29T09:22:56-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:39916" response_time="211.702µs" status=200
time="2023-12-29T09:23:06-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:44872" response_time="101.018µs" status=200
time="2023-12-29T09:23:16-08:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:60820" response_time="93.61µs" status=200

I just found the issue. I re-IP’d my network a while back in order to start subnetting it. I’m working on segregating IoT devices onto their own for security reasons. I moved from a 192.168 address space to a 172.16 address space. However, I apparently missed telling my configuration that the InfluxDB instance (HA) was now at a new IP address.

Initially I had trouble with using localhost for the address of home assistant, so I had used the 192.168 address. I just updated it to localhost and everything is fine now. How embarrassing.