Safe mode suddenly activated after restart?

Hey everyone,

Don’t know exactly what happened, but after a restart I am suddenly in Safe Mode, I got the following errors and warnings in my log:

2022-04-30 13:09:13 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration afvalwijzer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2022-04-30 13:09:13 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2022-04-30 13:09:14 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly

2022-04-30 13:09:14 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=14 from 2022-04-30 10:51:11.857662)

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.config] Invalid config for [http]: not a valid value @ data['http']['trusted_proxies'][1]. Got '192.168.0.0/12'. (See /config/configuration.yaml, line 26). Please check the docs at https://www.home-assistant.io/integrations/http

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for http: Invalid config.

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of diagnostics. Setup failed for dependencies: http

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for diagnostics: (DependencyError(...), 'Could not setup dependencies: http')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of auth. Setup failed for dependencies: http

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for auth: (DependencyError(...), 'Could not setup dependencies: http')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of hassio. Setup failed for dependencies: http

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for hassio: (DependencyError(...), 'Could not setup dependencies: http')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of webhook. Setup failed for dependencies: http

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for webhook: (DependencyError(...), 'Could not setup dependencies: http')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of api. Setup failed for dependencies: http

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for api: (DependencyError(...), 'Could not setup dependencies: http')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of websocket_api. Setup failed for dependencies: http

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for websocket_api: (DependencyError(...), 'Could not setup dependencies: http')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of image. Setup failed for dependencies: http

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for image: (DependencyError(...), 'Could not setup dependencies: http')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of config. Setup failed for dependencies: http

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for config: (DependencyError(...), 'Could not setup dependencies: http')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of cloud. Setup failed for dependencies: http, webhook

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: (DependencyError(...), 'Could not setup dependencies: http, webhook')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of network. Setup failed for dependencies: websocket_api

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for network: (DependencyError(...), 'Could not setup dependencies: websocket_api')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of usb. Setup failed for dependencies: websocket_api

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for usb: (DependencyError(...), 'Could not setup dependencies: websocket_api')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of search. Setup failed for dependencies: websocket_api

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for search: (DependencyError(...), 'Could not setup dependencies: websocket_api')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of analytics. Setup failed for dependencies: api, websocket_api

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for analytics: (DependencyError(...), 'Could not setup dependencies: api, websocket_api')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for person: (DependencyError(...), 'Could not setup dependencies: image')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of zeroconf. Setup failed for dependencies: network, api

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for zeroconf: (DependencyError(...), 'Could not setup dependencies: network, api')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of ssdp. Setup failed for dependencies: network

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for ssdp: (DependencyError(...), 'Could not setup dependencies: network')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: analytics, auth, http, person

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: (DependencyError(...), 'Could not setup dependencies: analytics, auth, http, person')

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: api, auth, config, diagnostics, http, onboarding, search, websocket_api

2022-04-30 13:09:15 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: (DependencyError(...), 'Could not setup dependencies: api, auth, config, diagnostics, http, onboarding, search, websocket_api')

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of hacs. Setup failed for dependencies: http, websocket_api, frontend

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration hacs: (DependencyError(...), 'Could not setup dependencies: http, websocket_api, frontend')

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Setup failed for map: (DependencyError(...), 'Could not setup dependencies: frontend')

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of tts. Setup failed for dependencies: http

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Setup failed for tts: (DependencyError(...), 'Could not setup dependencies: http')

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Setup failed for mqtt: (DependencyError(...), 'Could not setup dependencies: http')

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of media_source. Setup failed for dependencies: http

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Setup failed for media_source: (DependencyError(...), 'Could not setup dependencies: http')

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history. Setup failed for dependencies: http

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Setup failed for history: (DependencyError(...), 'Could not setup dependencies: http')

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of my. Setup failed for dependencies: frontend

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Setup failed for my: (DependencyError(...), 'Could not setup dependencies: frontend')

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of system_health. Setup failed for dependencies: http

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Setup failed for system_health: (DependencyError(...), 'Could not setup dependencies: http')

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend, http

2022-04-30 13:09:16 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: (DependencyError(...), 'Could not setup dependencies: frontend, http')

2022-04-30 13:09:17 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of energy. Setup failed for dependencies: websocket_api, history

2022-04-30 13:09:17 ERROR (MainThread) [homeassistant.setup] Setup failed for energy: (DependencyError(...), 'Could not setup dependencies: websocket_api, history')

2022-04-30 13:09:17 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of sonos. Setup failed for dependencies: ssdp

2022-04-30 13:09:17 ERROR (MainThread) [homeassistant.setup] Setup failed for sonos: (DependencyError(...), 'Could not setup dependencies: ssdp')

2022-04-30 13:09:17 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mobile_app. Setup failed for dependencies: http, webhook, person, websocket_api

2022-04-30 13:09:17 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: (DependencyError(...), 'Could not setup dependencies: http, webhook, person, websocket_api')

2022-04-30 13:09:17 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of dsmr_reader. Setup failed for dependencies: mqtt

2022-04-30 13:09:17 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform dsmr_reader.sensor: (DependencyError(...), 'Could not setup dependencies: mqtt')

2022-04-30 13:09:17 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: cloud, energy, frontend, history, logbook, map, media_source, mobile_app, my, network, person, ssdp, system_health, usb, webhook, zeroconf

2022-04-30 13:09:17 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: cloud, energy, frontend, history, logbook, map, media_source, mobile_app, my, network, person, ssdp, system_health, usb, webhook, zeroconf')

2022-04-30 13:09:17 WARNING (MainThread) [homeassistant.bootstrap] Detected that frontend did not load. Activating safe mode

Anyone know what happened and where to start fixing this?

Thanks in advance for your help!

Cheers,
Fabio

Looks like Line 26 of your configuration.yaml file has a problem.

great, thx for your quick reply! I commented this part of the configuration.yaml out for now and the system is working again.

Cheers,
Fabio