-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
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 limits event type to 32 chars, core does not, causes crash in recorder #16074
Comments
Still happens. version 0.77.3 |
32 bytes is too short for some event types. Fixes home-assistant#16074 home-assistant#15984
32 bytes is too short for some event types. Fixes home-assistant#16074 home-assistant#15984
32 bytes is too short for some event types. Fixes home-assistant#16074 home-assistant#15984
32 bytes is too short for some event types. Fixes home-assistant#16074 home-assistant#15984
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 |
32 bytes is too short for some event types. Fixes home-assistant#16074 home-assistant#15984
I'm seeing this as well in 0.84.6. Is this the preferred workaround changing the column size? Or will something be changing on the HA side? |
|
Thank you.
Searching for the specifics of how and what to modify. Any quick tips on how I should make this change?
…-Talon
________________________________
From: sagilo <[email protected]>
Sent: Monday, December 31, 2018 9:44:18 AM
To: home-assistant/home-assistant
Cc: ziptbm; Comment
Subject: Re: [home-assistant/home-assistant] Recorder limits event type to 32 chars, core does not, causes crash in recorder (#16074)
I'm seeing this as well in 0.84.6.
Is this the preferred workaround changing the column size? Or will something be changing on the HA side?
I've created a fix as you can see but it will only fix future configurations.
You'll have to alter the column type manually to fix this on your current configuration.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Fhome-assistant%2Fissues%2F16074%23issuecomment-450660079&data=02%7C01%7C%7C9372bbfd44aa48cfbf2808d66f36d390%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636818678592559517&sdata=2%2FHIiJabEsC5f%2Fy6q7tcHeK1MbVnNOpWP3qeoKWlpeM%3D&reserved=0>, or mute the thread<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAr_881PN4YbO6EsuDQQSsG9OdB5AZOwDks5u-jDSgaJpZM4WD4uH&data=02%7C01%7C%7C9372bbfd44aa48cfbf2808d66f36d390%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636818678592715769&sdata=kZXp1YiPghIJjfsOBiUrpG8VIVGwGZ8yYx3C4yr6vlE%3D&reserved=0>.
|
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
This still seems like it's an issue, see #15984 (comment). |
Home Assistant release with the issue:
0.76.0
Last working Home Assistant release (if known):
??
Operating environment (Hass.io/Docker/Windows/etc.):
Ubuntu venv
Component/platform:
recorder / mysql
Description of problem:
Home Assistant allows events to fire with event_type longer than VARCHAR(32). However, the MySQL table structure created by Home Assistant doesn't support it.
Once the error (see below) is thrown, recorder stops updating records entirely until Home Assistant is restarted.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
I've since upgrades to 0.76.1. The problem may be corrected in that version. I'm not sure because I altered the MySQL table to be a VARCHAR(64) in order to stop this error from happening.
The text was updated successfully, but these errors were encountered: