How do I remove the "residue" from a raspberry pi install after migrating to docker install?

The migration went pretty smoothly. I copied over all the config files from my raspberry pi (os) to a new docker (container) install on my ubuntu x86 computer. Everything seems to be working, but I get some annoying errors in my log file related to my old setup. Anyone know how I can clean this up?

2022-09-10 09:49:33.624 ERROR (MainThread) [homeassistant.setup] Setup failed for hassio: Integration failed to initialize.

2022-09-10 09:49:34.115 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of raspberry_pi. Setup failed for dependencies: hassio

2022-09-10 09:49:34.116 ERROR (MainThread) [homeassistant.setup] Setup failed for raspberry_pi: (DependencyError(...), 'Could not setup dependencies: hassio')

2022-09-10 09:49:34.281 ERROR (MainThread) [homeassistant.components.binary_sensor] rpi_power: Error on device update!

Traceback (most recent call last):

File "/usr/src/homeassistant/homeassistant/helpers/", line 477, in _async_add_entity

await entity.async_device_update(warning=False)

File "/usr/src/homeassistant/homeassistant/helpers/", line 703, in async_device_update

await task

File "/usr/local/lib/python3.10/concurrent/futures/", line 58, in run

result = self.fn(*self.args, **self.kwargs)

File "/usr/src/homeassistant/homeassistant/components/rpi_power/", line 50, in update

value = self._under_voltage.get()

AttributeError: 'NoneType' object has no attribute 'get'
1 Like

What docker image are you using?

Were you able to resolve this? I just migrated to docker and have the same errors.

I had the same error and I was able to resolve this. I went into the /config/.storage folder and opened up all of the core files and searched for hassio, rpi, and rasp, and then deleted those instances. There were a few rpi integrations (like rpi_power) and then most of the hassio items I found were from old/deleted integrations. After I removed all of those and restarted home assistant the errors went away.


i have same problem. after transfer from raspberry to docker i obtain this error
Invalid config

The following integrations and platforms could not be set up:

* [hassio]( ([Show logs](
* [raspberry_pi]( ([Show logs](

Please check your config and [logs](

I moved from supervised inside docker to standard in docker on a RPi.
The error reported and I searched for was:

Setup failed for ‘hassio’: Integration failed to initialize.

I can confirm that removing all ‘hassio’ blocks in all occurrences in files starting with /config/.storage/config_* (sudo grep -rn hassio) and restarting the instance fixed the issue.

Thanks for the tip !