Recovery mode after updating HA to 2025.1.3

Hi Guys

So, i am only 1 month into my HA journey, and it has been a crazy ride.

Though, i now discovered my first major problem.

After updating HA to v 2025.1.3 it is now entering recovery mode upon boot.

In my overview tab i get the following screen.

When i go to my error log i have 2 errors:

First one says:
Logger: hass_nabucasa.cloud_api
Source: components/cloud/alexa_config.py:324
First occurred: 9:43:48 AM (1 occurrences)
Last logged: 9:43:48 AM

Fetched https://alexa-api.nabucasa.com/access_token (400)

Next one says:
Logger: homeassistant.components.hassio.handler
Source: components/hassio/handler.py:243
integration: Home Assistant Supervisor (documentation, issues)
First occurred: 9:43:45 AM (1 occurrences)
Last logged: 9:43:45 AM

Found incompatible HTTP option ā€˜server_hostā€™. Watchdog feature disabled

My configuration.yaml looks like this:

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
powercalc:
frontend:
  themes: !include_dir_merge_named themes
  
  frontend:
  extra_module_url:
    - /hacsfiles/lovelace-card-mod/card-mod.js
    
    resources:
  - url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
    type: module

And the raw error log goes like this (i didnt know how many lines to include, so this is my best guess)

2025-01-21 09:33:02.190 ERROR (SyncWorker_0) [homeassistant.util.yaml.loader] while parsing a block collection
  in "/config/configuration.yaml", line 18, column 5
expected <block end>, but found '?'
  in "/config/configuration.yaml", line 20, column 5
2025-01-21 09:33:02.191 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: while parsing a block collection
  in "configuration.yaml", line 18, column 5
expected <block end>, but found '?'
  in "configuration.yaml", line 20, column 5. Activating recovery mode
2025-01-21 09:33:02.980 WARNING (MainThread) [homeassistant.components.hassio.handler] 2025-01-21 09:33:02.980 WARNING (MainThread) [homeassistant.components.hassio.handler] Found incompatible HTTP option 'server_host'. Watchdog feature disabled
2025-01-21 09:33:05.458 WARNING (MainThread) [hass_nabucasa.cloud_api] 2025-01-21 09:33:05.458 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://alexa-api.nabucasa.com/access_token (400) 
2025-01-21 09:42:08.295 ERROR (SyncWorker_6) [homeassistant.util.yaml.loader] 2025-01-21 09:42:08.295 ERROR (SyncWorker_6) [homeassistant.util.yaml.loader] while parsing a block collection
  in "/config/configuration.yaml", line 18, column 5
expected <block end>, but found '?'
  in "/config/configuration.yaml", line 20, column 5
2025-01-21 09:42:08.296 ERROR (MainThread) [homeassistant.components.homeassistant] 2025-01-21 09:42:08.296 ERROR (MainThread) [homeassistant.components.homeassistant] The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: while parsing a block collection
  in "/config/configuration.yaml", line 18, column 5
expected <block end>, but found '?'
  in "/config/configuration.yaml", line 20, column 5
2025-01-21 09:42:08.296 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] 2025-01-21 09:42:08.296 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139923945994944] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1109, in _async_admin_handler
    await result
  File "/usr/src/homeassistant/homeassistant/components/homeassistant/__init__.py", line 204, in async_handle_core_service
    raise HomeAssistantError(
    ...<2 lines>...
    )
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: while parsing a block collection
  in "/config/configuration.yaml", line 18, column 5
expected <block end>, but found '?'
  in "/config/configuration.yaml", line 20, column 5
s6-rc: info: service legacy-services: stopping
[08:42:28] INFO: Home Assistant Core finish process exit code 0
[08:42:28] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
2025-01-21 09:43:44.454 ERROR (SyncWorker_0) [homeassistant.util.yaml.loader] while parsing a block collection
  in "/config/configuration.yaml", line 18, column 5
expected <block end>, but found '?'
  in "/config/configuration.yaml", line 20, column 5
2025-01-21 09:43:44.455 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: while parsing a block collection
  in "configuration.yaml", line 18, column 5
expected <block end>, but found '?'
  in "configuration.yaml", line 20, column 5. Activating recovery mode
2025-01-21 09:43:45.255 WARNING (MainThread) [homeassistant.components.hassio.handler] 2025-01-21 09:43:45.255 WARNING (MainThread) [homeassistant.components.hassio.handler] Found incompatible HTTP option 'server_host'. Watchdog feature disabled
2025-01-21 09:43:48.628 WARNING (MainThread) [hass_nabucasa.cloud_api] 2025-01-21 09:43:48.628 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://alexa-api.nabucasa.com/access_token (400)

Please let me know if you need any further information from me.

Thank you!

Might be helpful to know how you installed HA, and which hardware it is running on.

HA is running on a ThinkCentre m710q.

I bought it with HA installed, so cant really help with that. But i would be interested in wiping it all clean and go about installing it the ā€œbestā€ way.

But first i would need to know how i can access my backup files. The backup tab dosent show up in settings FYI.

As long the drive containing your backup files isnā€™t corrupted, you have a range of options for accessing them, including:

  • Boot a Live USB OS such as SystemRescue and use that to copy the files off your ThinkCentre onto another USB stick or a NAS or whatever.
  • Take the drive out of the ThinkCentre and plug it into a working computer (make sure the latter is switched off when you plug the drive in - donā€™t hotplug it).

I managed to get my backups, and have installed a fresh HA.

Learned the hard way to always backup before an update.

Thanks for you help!

1 Like

Excellent! Please mark this thread as ā€œsolvedā€ :slight_smile: