Homeassistant not starting properly

My HA worked fine, but when i woke up this morning i saw my zigbee entities had disappeared. I figured a reboot would do the trick, but it didn’t. Lovelace is unavailable, terminal, samba and ssh are available. Observer is reachable via http.

Can anyone shed some light?

Hassio on a RPi4b

Log:

2023-10-28 10:33:54.430 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 216, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 204, in main
    exit_code = runner.run(runtime_conf)
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/runner.py", line 186, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/runner.py", line 152, in setup_and_run_hass
    hass = await bootstrap.async_setup_hass(runtime_config)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 155, in async_setup_hass
    await async_from_config_dict(config_dict, hass) is not None
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 268, in async_from_config_dict
    await hass.config_entries.async_initialize()
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1176, in async_initialize
    for entry in config["entries"]:
                 ~~~~~~^^^^^^^^^^^
KeyError: 'entries'

if running on a SD card, its probably failing.

Running on an external SSD

Still no clue what happened, but I just reset everything, and had to manually add all the zigbee devices again. Perfect moment to use a new naming system, and to switch from Conbee/Phoscon to Zigbee2MQTT. Highly advised, it’s great and even allows you to set “default power on” modes for your lights so you don’t wake up from a power outage.