core
core copied to clipboard
HA Core Not Sending Data to InfluxDB after 2024.4.2
The problem
I have noticed that since the release of HA 2024.4.3 onwards - there is no data being sent to remote InfluxDB instances. This is confirmed by rolling back to 2024.4.2, where the data starts to be recorded once again.
No entries in the logs show any kind of failure.
What version of Home Assistant Core has the issue?
2024.4.3 upwards
What was the last working version of Home Assistant Core?
2024.4.2
What type of installation are you running?
Home Assistant OS
Integration causing the issue
InfluxDB
Link to integration documentation on our website
https://www.home-assistant.io/integrations/influxdb/
Diagnostics information
No response
Example YAML snippet
`influxdb:
api_version: 2
ssl: false
host: <ip redacted>
port: 8086
token: <redacted>
organization: <16 digit code>
bucket: homeassistant
tags:
source: HA
tags_attributes:
- friendly_name
include:
domains:
- sensor
- binary_sensor
- sun`
Anything in the logs that might be useful for us?
-
Additional information
Hey there @mdegat01, mind taking a look at this issue as it has been labeled with an integration (influxdb
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of influxdb
can trigger bot actions by commenting:
-
@home-assistant close
Closes the issue. -
@home-assistant rename Awesome new title
Renames the issue. -
@home-assistant reopen
Reopen the issue. -
@home-assistant unassign influxdb
Removes the current integration label and assignees on the issue, add the integration domain after the command. -
@home-assistant add-label needs-more-information
Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. -
@home-assistant remove-label needs-more-information
Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
influxdb documentation influxdb source (message by IssueLinks)
I ran into the same issue. token has read and write access. I also created a full access token, which didn't solve the error.
Cannot connect to InfluxDB due to '[Errno 30] Read-only file system'. Please check that the provided connection details (host, port, etc.) are correct and that your InfluxDB server is running and accessible.
Same problem, I have no more data coming into influxdb from HA after 2024.4.2
Here also the very same problem after the update with HA 2404.4.3 and influx2
I have the same problem with HA 2404.4.3 and influxDB v2.7.6
Same issue for me - in HA logs for influxdb2 I'm getting 'file system is read-only' . Reverting back to 2024.4.2 fixed it for me
I updatet this morning to HA 2024.4.4 and the problem seems to be fixed, influx is getting data from HA.
I'm already on 2024.4.4 but still same issue. InfluxDB v2.7.6. No data posted since I upgraded yesterday.
ha 2024.4.4 + influx 5.0.0 - no data
There was a supervisor issue for Cannot connect to InfluxDB due to '[Errno 30] Read-only file system'
Try updating supervisor, and restarting the host
ha 2024.4.3 + influxdb 2.7.6 - OK
ha 2024.4.4 - NotOK supervisor 2024.04.0 haos 12.2
I'm having the same issue.
Core 2024.4.4 Supervisor 2024.04.0 InfluxDB v2.7.5
this is my first time posting a HA issue and i do not wish or mean to be rude but are these postings just to notify the development team of issues and no responses are to be expected? Typically I see responses from developers whenever issues are posted. But so far, no updates except continued postings of more users having issue with the latest update. Would be nice to at least get an acknowledgement of "yup, this is an issue and will be fixed in next release etc".
Downgrading the version helps with the problem and works without any problems. Enter this on the terminal in the Home Assistant: ha core update --version 2024.4.2
Yeah I downgraded to 2024.4.2 until homeassistant can fix this important integration. It's pretty much the only way if you want longterm graphs of..anything.
Just upgraded to core 2024.5.0 and I'm no longer experiencing this issue.
Still not working, all latest versions with InfluxDB v2.7.6. Rolling back to HAOS 12.1 works with Core 2024.5.0. The moment I upgrade to HAOS 12.2, influxdb stops getting updates. Be nice if the developer comes out and clarifies at this point what combinations work.
Still not working with InfluxDB v2.7.6 and Home Assistant Core 2024.5.1
maybe something to do with influx v1 (username/password) and v2 (organisation/token) auth?
https://github.com/home-assistant/supervisor/issues/4996
https://github.com/home-assistant/operating-system/issues/3282
I read all the treads on this problem but i can't find a solution for connection homeassistant to a remote influxdb docker image located on a different server. There is some pointer to recreate the docker image of influxdb (on an external , separate server ) that avoid the read only problem? Thanks!
I read all the treads on this problem but i can't find a solution for connection homeassistant to a remote influxdb docker image located on a different server. There is some pointer to recreate the docker image of influxdb (on an external , separate server ) that avoid the read only problem?
Thanks!
Plenty of guides on setting up InfluxDB in docker. My instance is on a separate machine so although I was worried about this issue, I wasn't affected. Unless you permanently want to move your db elsewhere, you might be better off waiting for fix instead of the hassle of migrating.
my old influxdb instance is on a separate server, the upgrade of docker on that server caused the problem with homeassistant (and i can't roll back the update ) , i have no risk of losing db data even if i recreate the docker but i can't figure how to solve the read only problem of homeassistant accessing that docker. I have read various guides but can't figure bymyself how to solve the read only error. But if there is no other way i'll wait for a fix.
Many versions later and still not working with latest. Is the developer still working on this integration or is it dead?
I'm no longer having this issue after I updated to Core version 2024.5.5 and OS version 12.3
I still have this issue with HA 2024.6.4 running in docker compose with influxdb:2
I have installed the HA Version 2024.6.4 and HA OS 12.0. In this case the recording to influxdb 2 works. If i update the HA OS to the newest (12.4), the recording to influxdb 2 doesn´t work.
I encountered the same error mentioned earlier, '[Errno 30] Read-only file system'. My system had been running without issues until the last update. To resolve this, I rebuilt the HA core.
My setup includes Home Assistant running on a NUC and InfluxDB V2 on a Proxmox LXC.
To rebuild the HA core, run the following command in the HA terminal:
ha core rebuild
I hope this helps someone.
After the command "ha core rebuild" it works with the latest HA OS and HA Version. Thanks for your tip.