Unable to upload Home Assistant Core or Addons due to "audio" plugin error

Hi all, looking for some help diagnosing an issue I am having running Home Assistant OS within a VM (VirtualBox) on Ubuntu Server.

I’ve got myself in a situation where I cannot update Home Assistant Core or any Addon’s due to the following error:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/update.py:169
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:03:17 (5 occurrences)
Last logged: 12:09:26

[140557936997472] Error updating Terminal & SSH: 'AddonManager.update' blocked from execution, was unable to update plugin(s) audio and all plugins must be up to date first
[140557936997472] Error updating File editor: 'AddonManager.update' blocked from execution, was unable to update plugin(s) audio and all plugins must be up to date first
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 167, in async_install
    await async_update_addon(self.hass, slug=self._addon_slug, backup=backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 45, in _wrapper
    raise HassioAPIError(data["message"])
homeassistant.components.hassio.handler.HassioAPIError: 'AddonManager.update' blocked from execution, was unable to update plugin(s) audio and all plugins must be up to date first

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1713, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1750, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 930, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 152, in async_install
    await entity.async_install_with_progress(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 411, in async_install_with_progress
    await self.async_install(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 169, in async_install
    raise HomeAssistantError(f"Error updating {self.title}: {err}") from err
homeassistant.exceptions.HomeAssistantError: Error updating Terminal & SSH: 'AddonManager.update' blocked from execution, was unable to update plugin(s) audio and all plugins must be up to date first

I always get the error 'AddonManager.update' blocked from execution, was unable to update plugin(s) audio and all plugins must be up to date first and cannot find a way around it. Any amount of Googleing didn’t help either.

Any assistance would be greatly appreciated, thank you!

2 Likes

having the same issue. using “audio update” simply leads to the error “Error: Audio update failed”

Now I have the same problem. Did you ever find a solution?

For anyone who is interested, this helped: Supervisor is unable to start because it can't download the Audio plugin docker image - #2 by nbalkovskyi1

Same (or similar) problem on my Raspberry Pi 4B 8 GB with HAOS. “banner” does not help, nor does rebooting. Totally stuck, at least I have a full backup so that I can start from scratch

Home Assistant observer
Supervisor: 	Connected
Supported: 	Processing...
Healthy: 	Processing...

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
cont-init: info: running /etc/cont-init.d/udev.sh
[17:46:58] INFO: Using udev information from host
cont-init: info: /etc/cont-init.d/udev.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
[17:46:58] INFO: Starting local supervisor watchdog...
s6-rc: info: service legacy-services successfully started
24-01-05 17:47:04 INFO (MainThread) [__main__] Initializing Supervisor setup
24-01-05 17:47:04 INFO (MainThread) [supervisor.utils.sentry] Initializing Supervisor Sentry
24-01-05 18:47:04 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: raspberrypi4-64
24-01-05 18:47:04 INFO (MainThread) [supervisor.docker.supervisor] Attaching to Supervisor ghcr.io/home-assistant/aarch64-hassio-supervisor with version 2023.12.0
24-01-05 18:47:04 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state initialize
24-01-05 18:47:04 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-01-05 18:47:04 INFO (MainThread) [__main__] Setting up Supervisor
24-01-05 18:47:04 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
24-01-05 18:47:04 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
24-01-05 18:47:04 INFO (MainThread) [supervisor.dbus.manager] Connected to system D-Bus.
24-01-05 18:47:04 INFO (MainThread) [supervisor.dbus.agent] Load dbus interface io.hass.os
24-01-05 18:47:04 INFO (MainThread) [supervisor.dbus.hostname] Load dbus interface org.freedesktop.hostname1
24-01-05 18:47:04 INFO (MainThread) [supervisor.dbus.logind] Load dbus interface org.freedesktop.login1
24-01-05 18:47:04 INFO (MainThread) [supervisor.dbus.network] Load dbus interface org.freedesktop.NetworkManager
24-01-05 18:47:04 INFO (MainThread) [supervisor.dbus.rauc] Load dbus interface de.pengutronix.rauc
24-01-05 18:47:04 INFO (MainThread) [supervisor.dbus.resolved] Load dbus interface org.freedesktop.resolve1
24-01-05 18:47:04 INFO (MainThread) [supervisor.dbus.systemd] Load dbus interface org.freedesktop.systemd1
24-01-05 18:47:04 INFO (MainThread) [supervisor.dbus.timedate] Load dbus interface org.freedesktop.timedate1
24-01-05 18:47:06 INFO (MainThread) [supervisor.host.services] Updating service information
24-01-05 18:47:06 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
24-01-05 18:47:06 WARNING (SyncWorker_0) [supervisor.host.sound] Can't update PulseAudio data: Failed to connect to pulseaudio server
24-01-05 18:47:07 INFO (MainThread) [supervisor.host.network] Updating local network information
24-01-05 18:47:08 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
24-01-05 18:47:08 ERROR (MainThread) [supervisor.host.apparmor] Can't load profile hassio-supervisor: Can't load profile '/mnt/data/supervisor/apparmor/hassio-supervisor': exit status 1
24-01-05 18:47:08 INFO (MainThread) [supervisor.docker.monitor] Started docker events monitor
24-01-05 18:47:08 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
24-01-05 18:47:08 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-cli with version 2023.11.0
24-01-05 18:47:08 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
24-01-05 18:47:08 INFO (SyncWorker_0) [supervisor.docker.manager] Cleaning hassio_cli application
24-01-05 18:47:18 INFO (MainThread) [supervisor.docker.cli] Starting CLI ghcr.io/home-assistant/aarch64-hassio-cli with version 2023.11.0 - 172.30.32.5
24-01-05 18:47:18 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-dns with version 2023.06.2
24-01-05 18:47:18 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
24-01-05 18:47:18 INFO (SyncWorker_0) [supervisor.docker.manager] Cleaning hassio_dns application
24-01-05 18:47:28 INFO (MainThread) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/aarch64-hassio-dns with version 2023.06.2 - 172.30.32.3
24-01-05 18:47:28 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
24-01-05 18:47:28 INFO (MainThread) [supervisor.plugins.base] No audio plugin Docker image ghcr.io/home-assistant/aarch64-hassio-audio found.
24-01-05 18:47:28 INFO (MainThread) [supervisor.plugins.audio] Setup Audio plugin
24-01-05 18:47:28 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/aarch64-hassio-audio with tag 2023.12.0.
24-01-05 18:47:29 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/aarch64-hassio-audio:2023.12.0: 500 Server Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/aarch64-hassio-audio:2023.12.0/json: Internal Server Error ("layer does not exist")
24-01-05 18:47:29 WARNING (MainThread) [supervisor.plugins.audio] Error on installing Audio plugin, retrying in 30sec
24-01-05 18:47:59 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/aarch64-hassio-audio with tag 2023.12.0.
24-01-05 18:48:01 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/aarch64-hassio-audio:2023.12.0: 500 Server Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/aarch64-hassio-audio:2023.12.0/json: Internal Server Error ("layer does not exist")

and so on and so on

Has anyone found a fix to this load fail… ‘AddonManager.install’ blocked from execution, was unable to update plugin(s) audio and all plugins must be up to date first"

1 Like

Having same problem has anyone found an answer yet. Please.