Installation is unhealthy and cannot install plugins

Hello all!

I recently tried to install HA on my RP4. I have already some docker container living happily there and I want them to live all together. So, i followed these instructions Install Home Assistant Supervised

I’m trying to install the Zigbee2mqtt plugin but i can’t because: ‘AddonManager.install’ blocked from execution, system is not healthy

it seams that my installation is unhealthy and this is the provided log. i don’t understand what’s wrong.

21-10-20 21:43:02 WARNING (MainThread) [supervisor.resolution.evaluations.base] AppArmor is required for Home Assistant. (more-info: https://www.home-assistant.io/more-info/unsupported/apparmor)
21-10-20 21:43:02 WARNING (MainThread) [supervisor.resolution.evaluations.base] Found images: {'watchtower'} which are not supported, remove these from the host! (more-info: https://www.home-assistant.io/more-info/unsupported/container)
21-10-20 21:43:02 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-10-20 21:43:02 INFO (MainThread) [__main__] Setting up Supervisor
21-10-20 21:43:03 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
21-10-20 21:43:03 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
21-10-20 21:43:03 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface io.hass.os
21-10-20 21:43:24 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.systemd1
21-10-20 21:43:24 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.login1
21-10-20 21:43:24 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.hostname1
21-10-20 21:43:24 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.timedate1
21-10-20 21:43:25 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.NetworkManager
21-10-20 21:43:25 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface de.pengutronix.rauc
21-10-20 21:43:31 WARNING (MainThread) [supervisor.dbus.rauc] Host has no rauc support. OTA updates have been disabled.
21-10-20 21:43:31 INFO (MainThread) [supervisor.host.info] Updating local host information
21-10-20 21:43:31 INFO (MainThread) [supervisor.host.services] Updating service information
21-10-20 21:43:32 INFO (MainThread) [supervisor.host.network] Updating local network information
21-10-20 21:43:38 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-10-20 21:43:38 INFO (MainThread) [supervisor.host.manager] Host information reload completed
21-10-20 21:43:38 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
21-10-20 21:43:38 INFO (MainThread) [supervisor.host.services] Reloading local service hassio-apparmor.service
21-10-20 21:43:38 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/armv7-hassio-cli with version 2021.09.0
21-10-20 21:43:39 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
21-10-20 21:43:39 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning hassio_cli application
21-10-20 21:43:41 INFO (SyncWorker_1) [supervisor.docker.cli] Starting CLI ghcr.io/home-assistant/armv7-hassio-cli with version 2021.09.0 - 172.30.32.5
21-10-20 21:43:41 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/armv7-hassio-dns with version 2021.06.0
21-10-20 21:43:41 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
21-10-20 21:43:41 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning hassio_dns application
21-10-20 21:43:43 INFO (SyncWorker_1) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/armv7-hassio-dns with version 2021.06.0 - 172.30.32.3
21-10-20 21:43:43 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
21-10-20 21:43:44 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/armv7-hassio-audio with version 2021.07.0
21-10-20 21:43:44 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
21-10-20 21:43:44 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning hassio_audio application
21-10-20 21:43:45 INFO (SyncWorker_1) [supervisor.docker.audio] Starting Audio ghcr.io/home-assistant/armv7-hassio-audio with version 2021.07.0 - 172.30.32.4
21-10-20 21:43:45 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/armv7-hassio-observer with version 2021.06.0
21-10-20 21:43:45 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/armv7-hassio-multicast with version 2021.04.0
21-10-20 21:43:46 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
21-10-20 21:43:46 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning hassio_multicast application
21-10-20 21:43:46 INFO (SyncWorker_0) [supervisor.docker.multicast] Starting Multicast ghcr.io/home-assistant/armv7-hassio-multicast with version 2021.04.0 - Host
21-10-20 21:43:46 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
21-10-20 21:43:46 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/raspberrypi4-homeassistant with version 2021.10.6
21-10-20 21:43:46 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 1 Home Assistant secrets
21-10-20 21:43:46 INFO (MainThread) [supervisor.os.manager] No Home Assistant Operating System found
21-10-20 21:43:47 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot' is deprecated, 'backup' should be used instead. Please report this to the maintainer of UniFi Controller
21-10-20 21:43:47 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot_exclude' is deprecated, 'backup_exclude' should be used instead. Please report this to the maintainer of AdGuard Home
21-10-20 21:43:48 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
21-10-20 21:43:48 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/45df7312 repository
21-10-20 21:43:48 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
21-10-20 21:43:48 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot' is deprecated, 'backup' should be used instead. Please report this to the maintainer of UniFi Controller
21-10-20 21:43:49 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot_exclude' is deprecated, 'backup_exclude' should be used instead. Please report this to the maintainer of AdGuard Home
21-10-20 21:43:49 INFO (MainThread) [supervisor.store] Loading add-ons from store: 65 all - 65 new - 0 remove
21-10-20 21:43:49 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons
21-10-20 21:43:49 INFO (MainThread) [supervisor.backups.manager] Found 0 backup files
21-10-20 21:43:49 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
21-10-20 21:43:49 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
21-10-20 21:43:49 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
21-10-20 21:43:49 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-10-20 21:43:49 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
21-10-20 21:43:49 WARNING (MainThread) [supervisor.resolution.evaluations.base] Detected unsupported OS: Raspbian GNU/Linux 10 (buster) (more-info: https://www.home-assistant.io/more-info/unsupported/os)
21-10-20 21:43:50 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-10-20 21:43:50 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy
21-10-20 21:43:50 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
21-10-20 21:43:50 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-10-20 21:43:50 INFO (MainThread) [__main__] Running Supervisor
21-10-20 21:43:50 WARNING (MainThread) [supervisor.core] System running in a unsupported environment!
21-10-20 21:43:50 CRITICAL (MainThread) [supervisor.core] System is running in an unhealthy state and needs manual intervention!
21-10-20 21:43:50 INFO (MainThread) [supervisor.jobs] 'OSManager.mark_healthy' blocked from execution, no Home Assistant OS available
21-10-20 21:43:50 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons
21-10-20 21:43:50 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SYSTEM' starting 0 add-ons
21-10-20 21:43:50 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SERVICES' starting 0 add-ons
21-10-20 21:43:50 INFO (MainThread) [supervisor.core] Start Home Assistant Core
21-10-20 21:43:50 INFO (SyncWorker_1) [supervisor.docker.interface] Starting homeassistant
21-10-20 21:43:51 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-10-20 21:44:00 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.STARTUP
21-10-20 21:44:00 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-10-20 21:44:01 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-10-20 21:44:06 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
21-10-20 21:44:06 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' starting 0 add-ons
21-10-20 21:44:06 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
21-10-20 21:44:06 INFO (MainThread) [supervisor.core] Supervisor is up and running
21-10-20 21:44:06 INFO (MainThread) [supervisor.host.info] Updating local host information
21-10-20 21:44:06 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
21-10-20 21:44:06 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
21-10-20 21:44:06 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
21-10-20 21:44:06 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.CORE
21-10-20 21:44:06 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
21-10-20 21:44:06 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
21-10-20 21:44:06 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.CREATE_FULL_BACKUP - ContextType.SYSTEM / None
21-10-20 21:44:06 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.PLUGIN
21-10-20 21:44:06 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-10-20 21:44:06 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-10-20 21:44:07 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-10-20 21:44:07 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy
21-10-20 21:44:07 INFO (MainThread) [supervisor.host.services] Updating service information
21-10-20 21:44:07 INFO (MainThread) [supervisor.host.network] Updating local network information
21-10-20 21:44:09 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-10-20 21:44:09 INFO (MainThread) [supervisor.host.manager] Host information reload completed
21-10-20 21:55:24 WARNING (MainThread) [supervisor.jobs] 'AddonManager.install' blocked from execution, system is not healthy

can you help me?

best regards

If you were already familiar with running other containers, it sounds like HA Container would have been a good choice instead of HA Supervised. HA Supervised has very specific requirements that need to be met (which were explained in a link on the page you shared a link to) for things to work properly.

I’d recommend undoing HA Supervised and running HA Container.

1 Like

What OS are you running ? It needs to be Debian for Supervised.

Hello!

I followed that particular tutorial (actually a YT video that followed that) because i wanted to use zigbee2mqtt. for that i think i need supervised to install the correct add-on. it that wrong? is there a better way?

sorry, i’m very noob :stuck_out_tongue:

I’m running Raspbian GNU/Linux 10 (buster)

I guess you have 3 problems :
1/ Raspbian is not supported, Debian is
2/ Buster is still supported, but only for a month or so longer (august-sept-oct-nov = 4 months, end of november support stops)
3/ You probably did not install os-agent yet.

It all depends on the other containers how to solve this.If you can easily back them up, I would take the plunge and install Debian Bullseye.

ok! so, this is my situation. i have:

  1. A Raspberry Pi 4 running Raspbian GNU/Linux 10 (buster)
  2. A ConBee II USB updated according to this tutorial
  3. Some zigbee devices that are not compatible with ZHA and require zigbee2mqtt

What should i do?

As I see it :

  • either undo the supervised install, run HA Container and Zigbee2MQTT container
  • or backup your config, install Supervised on Debian and restore your config

thanks! i will try the first approach. for now i dont want to mess with the OS and i want to keep te official raspbian OS

i plan to upgrade the server in the future and then i will either go synology ou a mini pc with debian.

so at the end i will only have 2 containers, right? HA and the Zigbee2MQTT

thanks

You will still need an mqtt broker !
So
apt-get install mosquitto
and then 2 docker containers, HA and Zigbee2MQTT

1 Like

is there any reason you didn’t suggest to install mosquitto as a docker container?

No. I just don’t know a mosquitto container. I should search one.

https://hub.docker.com/_/eclipse-mosquitto

1 Like

I’m using dockstarter and they have there HA and mosquitto so it should be easy to setup. but they don’t list Zigbee2MQTT so that will give me a bit more work

I’ve installed/configured those 3 containers… i still can’t see the zigbee2mqtt integration.when i do “add integration” what should i be able to see on the list? do i need anything else first?

There’s no integration for it; if you enabled home assistant discovery in zigbee2mqtt and connected HA to your MQTT broker, you should see zigbee2mqtt devices and entities at Configuration > Integrations > MQTT

when you say MQTT broker you mean mosquitto, right?

i’ve added that container but is doesnt have any configuration or ui to set up. but when i add mqtt integration is asks for port and some credentials

port is 1883, if no user/password leave these blank

I have set up the 3 containers:

  1. Home assistant
  2. Mosquitto
  3. Zigbee2mqtt

how i can i add a sensor to the HA? i don’t understand what’s the next step

If you have set

homeassistant: true

in zigbee2mqtt configuration.yaml, all you have to do is pair your sensor.

Done that! i still don’t see anything new on the HA GUI. where’s the button to add a sensor?