Updating Home Assistant failing

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | 9.7.1
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | `Linux N2Plus 6.6.37-current-meson64 #1 SMP PREEMPT Fri Jul 5 07:34:07 UTC 2024 aarch64 GNU/Linux

Additional Information (if applicable)

  • Software title | home assistant
  • Was the software title installed freshly or updated/migrated? updated
  • Can this issue be replicated on a fresh installation of DietPi? yes

Extra details


  • I have tried to update my Home Assistant Installations on two different platforms, but each is failing. I have tried on N2+ and FriendlyArm R5C with the same result. I get a log full of this error with many different packages after the update
Oct 03 07:32:48 N2Plus Home Assistant[4054214]: 2024-10-03 07:32:48.364 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package home-assistant-frontend==20241002.2: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install in
to a non-virtual environment
Oct 03 07:32:50 N2Plus Home Assistant[4054214]: 2024-10-03 07:32:50.452 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package home-assistant-frontend==20241002.2: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install in
to a non-virtual environment
Oct 03 07:32:52 N2Plus Home Assistant[4054214]: 2024-10-03 07:32:52.353 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package home-assistant-frontend==20241002.2: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install in
to a non-virtual environment
Oct 03 07:32:52 N2Plus Home Assistant[4054214]: 2024-10-03 07:32:52.355 ERROR (MainThread) [homeassistant.setup] Setup failed for 'frontend': Requirements for frontend not found: ['home-assistant-frontend==20241002.2'].
Oct 03 07:32:54 N2Plus Home Assistant[4054214]: 2024-10-03 07:32:54.387 ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package home-assistant-intents==2024.10.2: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into
 a non-virtual environment
Oct 03 07:32:56 N2Plus Home Assistant[4054214]: 2024-10-03 07:32:56.433 ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package home-assistant-intents==2024.10.2: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into
 a non-virtual environment
Oct 03 07:32:58 N2Plus Home Assistant[4054214]: 2024-10-03 07:32:58.317 ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package home-assistant-intents==2024.10.2: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into
 a non-virtual environment
Oct 03 07:33:00 N2Plus Home Assistant[4054214]: 2024-10-03 07:33:00.330 ERROR (SyncWorker_7) [homeassistant.util.package] Unable to install package python-matter-server==6.5.2: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non
-virtual environment
Oct 03 07:33:02 N2Plus Home Assistant[4054214]: 2024-10-03 07:33:02.235 ERROR (SyncWorker_7) [homeassistant.util.package] Unable to install package python-matter-server==6.5.2: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non
-virtual environment
Oct 03 07:33:04 N2Plus Home Assistant[4054214]: 2024-10-03 07:33:04.193 ERROR (SyncWorker_7) [homeassistant.util.package] Unable to install package python-matter-server==6.5.2: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non
-virtual environment
Oct 03 07:33:04 N2Plus Home Assistant[4054214]: 2024-10-03 07:33:04.195 ERROR (MainThread) [homeassistant.setup] Setup failed for 'cloud': Requirements for matter not found: ['python-matter-server==6.5.2'].
Oct 03 07:33:04 N2Plus Home Assistant[4054214]: 2024-10-03 07:33:04.196 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'recovery_mode'. Setup failed for dependencies: ['frontend', 'cloud']
Oct 03 07:33:04 N2Plus Home Assistant[4054214]: 2024-10-03 07:33:04.196 ERROR (MainThread) [homeassistant.setup] Setup failed for 'recovery_mode': Could not setup dependencies: frontend, cloud

I also ran dietpi-software reinstall 157 but still receiving envelope errors.


Oct 03 08:18:09 Aura Home Assistant[967497]: 2024-10-03 08:18:09.126 ERROR (SyncWorker_6) [homeassistant.util.package] Unable to install package PyQRCode==1.2.1: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non-virtual environment
Oct 03 08:18:09 Aura Home Assistant[967497]: 2024-10-03 08:18:09.128 ERROR (MainThread) [homeassistant.bootstrap] Home Assistant core failed to initialize. Further initialization aborted
Oct 03 08:18:09 Aura Home Assistant[967497]: 2024-10-03 08:18:09.129 WARNING (MainThread) [homeassistant.bootstrap] Unable to set up core integrations. Activating recovery mode
Oct 03 08:18:13 Aura Home Assistant[967497]: 2024-10-03 08:18:13.896 ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package pyotp==2.8.0: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non-virtual environment
Oct 03 08:18:17 Aura Home Assistant[967497]: 2024-10-03 08:18:17.707 ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package pyotp==2.8.0: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non-virtual environment
Oct 03 08:18:21 eAura Home Assistant[967497]: 2024-10-03 08:18:21.529 ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package pyotp==2.8.0: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non-virtual environment
Oct 03 08:18:25 Aura Home Assistant[967497]: 2024-10-03 08:18:25.345 ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package PyQRCode==1.2.1: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non-virtual environment
Oct 03 08:18:29 Aura Home Assistant[967497]: 2024-10-03 08:18:29.152 ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package PyQRCode==1.2.1: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non-virtual environment
Oct 03 08:18:32 Aura Home Assistant[967497]: 2024-10-03 08:18:32.964 ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package PyQRCode==1.2.1: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non-virtual environment
Oct 03 08:18:32 Aura Home Assistant[967497]: 2024-10-03 08:18:32.967 ERROR (MainThread) [homeassistant.bootstrap] Home Assistant core failed to initialize. Further initialization aborted

Duplicate of Home Assistant 2024.10 failed after update from 2024.9.3 · Issue #7231 · MichaIng/DietPi · GitHub

Closing.