-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
sqlalchemy error: A string literal cannot contain NUL (0x00) characters #117303
Comments
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) recorder documentation |
The recorder cannot record null bytes. You'll need to locate the integration that is providing the entity or event |
Hi, Logger: homeassistant.components.recorder.core Error while processing event CommitTask() |
Same problem here. It is a new and not specific to a particular integration I think. I have a lot of those logs (80000 lines in one hour), for a large variety of entity. Here is one example:
I have the same one for remote.shield (harmony integration), mqtt entities etc I think this error does not come from a particular integration. Seems very weird that several entities coming from several integration starts sending "NUL" characters all at once... @ldiegos Have you figured what is/was the problem for you ? Oh and I am using 2024.9.3 version of HA, running HAOS. |
Same here, started a few days ago. All my entities are recording one point here and there, most of the data is being lost and that error keeps popping up all the time |
Happy to hear that I'm not alone.
|
Noooope, I still having issues, but, the last one was on the 25ft(today is 29th), I treat it like an endemic issue and live with it. It seems that nobody wants to solve it or at least show us how to identify the origin. All my daily used sensors are working fine, so actually i forgot this bug lol :P Maybe in a future i will try to check other forgotten sensor and it smack me in the face again. My PostGreSQL is outside the HA and only stores 15 days, the influx database is also outside home assistant in other server and stores forever the data, and everything works fine. And as a said, the hundred sensors that i check everyday, are fine. |
Might be slightly different then, because this affects all my entities across every integration (mqtt, dyson, myenergi ..), I can't find a single entity recording properly in the past few days. I also wonder if the recording somehow comes into automation triggering ? I'm not sure but I have a feeling automations that depend on states being held for some time aren't firing |
sorry to hear that... Hope you find the cause... |
Thank you for the fix ! |
Thanks for the fix, any chance this could be included in a minor patch ? Presumably 2024.10 is still a few days away and this issue is affecting all of my entities, it's recording so rarely the energy dashboard doesn't even load any data anymore for example. Thanks |
There is no new minor patch coming before 2024.10 |
I was more asking could there be one, given how broken it is right now ? |
For anyone else running into this, I got around to testing it and downgrading to |
Nevermind, downgrading doesn't actually fix the issue even all the way to 2024.9.0. |
The problem
Hey,
I've been experiencing an error with the recorder lately, linked to some issue in the database. Would be great to understand if this is a bug or if I did something stupid ;-)
What version of Home Assistant Core has the issue?
2024.5.2
What was the last working version of Home Assistant Core?
2024.5.1
What type of installation are you running?
Home Assistant Core
Integration causing the issue
recorder
Link to integration documentation on our website
https://www.home-assistant.io/integrations/recorder/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: