I’m trying to update to the latest HA, but received errors. I tried to upgrade anyways and, naturally, it broke a lot of integrations I had set up. I’m not sure where to begin with troubleshooting this information that the configuration check addon is giving to me. Can anyone advise me on where to start? It seems like a Python error but I’m not sure.
[18:37:44] INFO: Don't worry, this temporary installation is not overwriting your current one.
[18:37:44] INFO: Installing Home Assistant: latest...
[18:37:44] INFO: Please be patient, this might take a few minutes...
[18:38:20] INFO: Installed Home Assistant 2021.6.6
[18:38:20] INFO: Making a copy of your configuration for checking...
[18:38:20] INFO: Checking your configuration against this version...
[18:40:15] ERROR: The configuration check did not pass!
[18:40:15] ERROR: See the output below for more details.
Testing configuration at /tmp/config
ERROR:homeassistant.helpers.check_config:Unexpected error validating config
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/homeassistant/helpers/check_config.py", line 155, in async_check_ha_config_file
await config_validator.async_validate_config( # type: ignore
File "/usr/local/lib/python3.8/site-packages/homeassistant/components/automation/config.py", line 127, in async_validate_config
await asyncio.gather(
File "/usr/local/lib/python3.8/site-packages/homeassistant/components/automation/config.py", line 104, in _try_async_validate_config_item
config = await async_validate_config_item(hass, config, full_config)
File "/usr/local/lib/python3.8/site-packages/homeassistant/components/automation/config.py", line 72, in async_validate_config_item
config[CONF_TRIGGER] = await async_validate_trigger_config(
File "/usr/local/lib/python3.8/site-packages/homeassistant/helpers/trigger.py", line 49, in async_validate_trigger_config
conf = await platform.async_validate_trigger_config(hass, conf)
File "/usr/local/lib/python3.8/site-packages/homeassistant/components/device_automation/trigger.py", line 21, in async_validate_trigger_config
return await getattr(platform, "async_validate_trigger_config")(hass, config)
grep: write error: Broken pipe
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
The errors mentioned seem to be “async_validate_config” errors listed in various Python config files. I’m not sure if I should reinstall/upgrade Python specifically, or if something else could be causing the problems, I’m really at a loss of how to move forward to get to the latest HA version.
The current version is working fine, but just to clarify, are you suggesting downgrading one version and then trying to upgrade to the latest?
Its a virtual machine that has been running fine for months now currently on version 2021.3.4. I installed it via the Home Assistant VDI file so its the image that HA supplies with everything all bundled together.
There looks to be an error in your config file. Look at the updates that you’re installing for the “breaking changes” it has listed. Are there any items that are on the list that you use?
And to @Mikefila 's note, I am looking at my config as well as breaking changes, but I don’t see anything obvious that is being broken.
Is there a way to update to a different version rather than the latest? It may be easier to upgrade small revisions at a time and fix things that are broken along the way rather than make a big jump.
Thanks, MQQT isn’t actually used so I guess Im not really worried about it anyways. I tried removing the whole MQQT and sensor/sensornode section and ran the Check Home Assistant Configuration Addon again but continue to get the same errors from the original post.
I have also tried running the Check Home Assistant Configuration Addon against the next version up, 2021.4.0 rather than the latest version, and continue to get the same errors…
The Configuration Validation check says everything looks okay.
For testing, I set the version to 2021.3.4 in the Check Home Assistant Configuration Addon which is the same version I am running. The addon again threw errors. So I’m wondering maybe it is not reliable.