-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
Recorder logs error since 2025.1.0b0 #134002
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 |
@luca-angemi can you share the database to either my Dropbox [email protected] or gdrive [email protected]? |
Done. Zipped and shared on gdrive. |
The cause is some un-migrated rows from 2023-01-25 that still exist in the database that have an attributes_id and metadata_id but a NULL last_updated_ts |
Was there a chance that Home Assistant was downgraded to an earlier version with this database in place after the migration took place? |
I'm going to check the realese notes for Jan/Feb 2023 in case I remember something, but I doubt I ever downgraded. |
On a sidenote, this data can't be purged because there's no way to index it. So this has been a problem for a very long time. |
So I'll have those errors every day from now on? |
Its pretty easy to migrate manually if thats what it comes to. I'd really like to figure out how it was even possible for those rows to be missed as I've looked at the queries and I can't find a way. The only thing I can think of is they were added after the migration was done |
I can only see this related to DB in 2023.2 #84870 |
I don't remember downgrading but 2023-1-25 was the first beta day of 2023.2 so it could have happened. |
The problem
Since 2025.1.0b0 every night at 4.12 am these errors are showing up in the logs
What version of Home Assistant Core has the issue?
2025.1.0b0
What was the last working version of Home Assistant Core?
2024.12
What type of installation are you running?
Home Assistant OS
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?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: