I added a new automation via the GUI today, then did a “check config”… It said something along the lines of “error with list, got ‘get’” … which didn’t make any sense. I decided to comment out (#) the automation and try again… Same error. I guess this is where I made the mistake of rebooting the server… Now I’m stuck with the following. (HA crashed)
Can you create a core issue for this? I don’t know exactly what’s happening, I am guessing you have a malformed config. If you start posting pieces perhaps folks can spot it.
But even if it is a config error, there’s still a bug here IMO. Broken configs aren’t supposed to crash core anymore. The worst that is supposed to happen is it starts in emergency mode with a big red banner and whatever guidance it can give you on what went wrong.
So wondering if it’s a hardware fault, however it rather odd that this only started after upgrading from HA core 2022.8.7 to 2022.9.2 and no hardware changes have been made.
After restoring my full backup from when the crash occurred, I can still access the files via Samba but the GUI isn’t loading.
This is the log error once again:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/src/homeassistant/homeassistant/__main__.py", line 203, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 191, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 119, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/usr/src/homeassistant/homeassistant/runner.py", line 101, in setup_and_run_hass
hass = await bootstrap.async_setup_hass(runtime_config)
File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 138, in async_setup_hass
config_dict = await conf_util.async_hass_config_yaml(hass)
File "/usr/src/homeassistant/homeassistant/config.py", line 355, in async_hass_config_yaml
await merge_packages_config(hass, config, core_config.get(CONF_PACKAGES, {}))
File "/usr/src/homeassistant/homeassistant/config.py", line 779, in merge_packages_config
error = _recursive_merge(conf=config[comp_name], package=comp_conf)
File "/usr/src/homeassistant/homeassistant/config.py", line 693, in _recursive_merge
error = _recursive_merge(conf=conf[key], package=pack_conf)
File "/usr/src/homeassistant/homeassistant/config.py", line 701, in _recursive_merge
if conf.get(key) is not None:
AttributeError: 'list' object has no attribute 'get'