Issue after migrating from Docker container to Home Assistant OS

Hello

After migrating to a virtual Home Assistans OS I have this issue in my config:
image

Because of this im unable to restart the home assistans instance.

I have googled alot but cannot find anything related.

Area Registry

It says, look at logs. What do logs say?
Maybe need to edit areas?

Did you go from docker Version xx yo same version or you choose to update at same time? Maybe breaking change between version you didn’t apply.

I have pasted the log below. My old server had thesame version of home assistant as the new one.
One thing I recognized is that this entry “area_registry_updatedhomeassistant” is at the top of my configuration.yaml. That was not found in my old configuration file.
When I comment out that part of the configuration file it says that almost every entry of the configuration file has issues.

image

Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/init.py:705
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 08:31:46 (1 occurrences)
Last logged: 08:31:46

[140548862096432] The system cannot restart because the configuration is not valid: Integration error: area_registry_updatedhomeassistant - Integration ‘area_registry_updatedhomeassistant’ not found.
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 202, in handle_call_service
await hass.services.async_call(
File “/usr/src/homeassistant/homeassistant/core.py”, line 1738, in async_call
task.result()
File “/usr/src/homeassistant/homeassistant/core.py”, line 1775, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File “/usr/src/homeassistant/homeassistant/components/hassio/init.py”, line 705, in async_handle_core_service
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Integration error: area_registry_updatedhomeassistant - Integration ‘area_registry_updatedhomeassistant’ not found.

how’d that get there

Need to see config File.
Problem is definitely there

remove the “area_registry_updated” part and leave the “homeassistant:” part.

so it should look like this:

homeassistant:
  #unit_system: metric
  .
  .
  .