hacs / integration

HACS gives you a powerful UI to handle downloads of all your custom needs.
https://hacs.xyz
MIT License
5.44k stars 1.29k forks source link

HACS Integration does not load after upgrade to 2023.9.1 #3259

Closed mo-vdc closed 1 year ago

mo-vdc commented 1 year ago

System Health details

System Information

version core-2023.9.2
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.5
os_name Linux
os_version 6.1.45
arch x86_64
timezone America/New_York
config_dir /config
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 10.5 -- | -- update_channel | stable supervisor_version | supervisor-2023.09.2 agent_version | 1.5.1 docker_version | 23.0.6 disk_total | 30.8 GB disk_used | 11.5 GB healthy | true supported | true board | ova supervisor_api | ok version_api | ok installed_addons | Advanced SSH & Web Terminal (15.0.8), FTP (4.7.2), File editor (5.6.0), Glances (0.19.3), Home Assistant Google Drive Backup (0.111.1), Hydroqc Add-on (v0.12.3-1), Let's Encrypt (4.12.9), Mosquitto broker (6.3.1), NGINX Home Assistant SSL proxy (3.5.0), Node-RED (14.5.0), SQLite Web (3.9.3), Studio Code Server (5.10.2), Terminal & SSH (9.7.1), Cloudflared (4.2.6)
Dashboards dashboards | 3 -- | -- resources | 1 views | 3 mode | storage
Recorder oldest_recorder_run | September 7, 2023 at 2:31 AM -- | -- current_recorder_run | September 15, 2023 at 8:35 PM estimated_db_size | 1574.81 MiB database_engine | mysql database_version | 8.0.34

Checklist

Describe the issue

After upgrade Home assistant core from 2023.7.1 to 2023.9.2 Hacs Integration won't start. 2023-09-15 20:35:20.460 ERROR (MainThread) [homeassistant.setup] Setup failed for hacs: Integration not found.

same applies to all custom integrations installed through HACS.

image

reverting back to 2023.7.1 fixes the issue

Reproduction steps

  1. upgrade HA from 2023.7.1 to 2023.9.1
  2. ...

Debug logs

2023-09-15 20:35:09.087 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.0 seconds
2023-09-15 20:35:09.087 INFO (MainThread) [homeassistant.bootstrap] Setting up frontend: {'frontend'}
2023-09-15 20:35:09.098 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2023-09-15 20:35:09.098 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.0 seconds
2023-09-15 20:35:09.155 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2023-09-15 20:35:09.157 INFO (MainThread) [homeassistant.setup] Setting up http
2023-09-15 20:35:09.159 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.0 seconds
2023-09-15 20:35:09.172 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds
2023-09-15 20:35:09.181 INFO (MainThread) [homeassistant.setup] Setting up api
2023-09-15 20:35:09.182 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds
2023-09-15 20:35:09.183 INFO (MainThread) [homeassistant.setup] Setting up auth
2023-09-15 20:35:09.183 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds
2023-09-15 20:35:09.190 INFO (MainThread) [homeassistant.setup] Setting up config
2023-09-15 20:35:09.196 INFO (MainThread) [homeassistant.setup] Setting up diagnostics
2023-09-15 20:35:09.203 INFO (MainThread) [homeassistant.setup] Setting up repairs
2023-09-15 20:35:09.203 INFO (MainThread) [homeassistant.setup] Setup of domain repairs took 0.0 seconds
2023-09-15 20:35:09.265 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.1 seconds
2023-09-15 20:35:09.265 INFO (MainThread) [homeassistant.setup] Setup of domain diagnostics took 0.1 seconds
2023-09-15 20:35:09.276 INFO (MainThread) [homeassistant.setup] Setting up file_upload
2023-09-15 20:35:09.276 INFO (MainThread) [homeassistant.setup] Setup of domain file_upload took 0.0 seconds
2023-09-15 20:35:09.355 INFO (MainThread) [homeassistant.setup] Setting up image_upload
2023-09-15 20:35:09.356 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2023-09-15 20:35:09.356 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds
2023-09-15 20:35:09.357 INFO (MainThread) [homeassistant.setup] Setup of domain image_upload took 0.0 seconds
2023-09-15 20:35:09.360 INFO (SyncWorker_1) [homeassistant.loader] Loaded device_tracker from homeassistant.components.device_tracker
2023-09-15 20:35:09.360 INFO (SyncWorker_4) [homeassistant.loader] Loaded group from homeassistant.components.group
2023-09-15 20:35:09.892 INFO (MainThread) [homeassistant.setup] Setting up analytics
2023-09-15 20:35:09.929 INFO (MainThread) [homeassistant.setup] Setting up search
2023-09-15 20:35:09.929 INFO (MainThread) [homeassistant.setup] Setup of domain search took 0.0 seconds
2023-09-15 20:35:09.930 INFO (MainThread) [homeassistant.setup] Setting up person
2023-09-15 20:35:09.931 INFO (MainThread) [homeassistant.setup] Setup of domain analytics took 0.0 seconds
2023-09-15 20:35:09.934 INFO (MainThread) [homeassistant.setup] Setup of domain person took 0.0 seconds
2023-09-15 20:35:09.935 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2023-09-15 20:35:09.936 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.0 seconds
2023-09-15 20:35:09.941 INFO (MainThread) [homeassistant.setup] Setting up frontend
2023-09-15 20:35:09.943 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds
2023-09-15 20:35:09.944 INFO (MainThread) [homeassistant.bootstrap] Setting up recorder: {'recorder'}
2023-09-15 20:35:09.946 INFO (MainThread) [homeassistant.setup] Setting up recorder
2023-09-15 20:35:09.990 INFO (MainThread) [homeassistant.components.http] Now listening on port 8123
2023-09-15 20:35:10.327 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.4 seconds
2023-09-15 20:35:10.328 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 1: {'bluetooth', 'network', 'api', 'http', 'webhook', 'websocket_api', 'usb', 'hassio', 'zeroconf', 'cloud', 'ssdp', 'dhcp', 'logger'}
2023-09-15 20:35:10.340 INFO (MainThread) [homeassistant.setup] Setting up webhook
2023-09-15 20:35:10.340 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds
2023-09-15 20:35:10.341 INFO (MainThread) [homeassistant.setup] Setting up hassio
2023-09-15 20:35:10.345 INFO (MainThread) [homeassistant.setup] Setting up network
2023-09-15 20:35:10.348 INFO (MainThread) [homeassistant.setup] Setup of domain network took 0.0 seconds
2023-09-15 20:35:10.370 INFO (MainThread) [homeassistant.setup] Setting up usb
2023-09-15 20:35:10.370 INFO (MainThread) [homeassistant.setup] Setup of domain usb took 0.0 seconds
2023-09-15 20:35:10.430 INFO (MainThread) [homeassistant.setup] Setting up dhcp
2023-09-15 20:35:10.430 INFO (MainThread) [homeassistant.setup] Setup of domain dhcp took 0.0 seconds
2023-09-15 20:35:10.437 INFO (SyncWorker_7) [homeassistant.loader] Loaded alexa from homeassistant.components.alexa
2023-09-15 20:35:10.438 INFO (SyncWorker_5) [homeassistant.loader] Loaded google_assistant from homeassistant.components.google_assistant
2023-09-15 20:35:10.490 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2023-09-15 20:35:10.493 INFO (MainThread) [zeroconf] Address in use when adding (('fd7c:bd11:30ce:0:5e5a:528d:9f36:13a3', 0, 0), 2) to multicast group, it is expected to happen on some systems
2023-09-15 20:35:10.494 INFO (MainThread) [zeroconf] Address in use when adding (('fe80::7653:41e2:510a:6f9f', 0, 2), 2) to multicast group, it is expected to happen on some systems
2023-09-15 20:35:10.498 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.0 seconds
2023-09-15 20:35:10.576 INFO (MainThread) [homeassistant.setup] Setting up bluetooth
2023-09-15 20:35:10.591 INFO (MainThread) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
2023-09-15 20:35:10.594 INFO (SyncWorker_7) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player
2023-09-15 20:35:11.668 INFO (MainThread) [homeassistant.setup] Setting up cloud
2023-09-15 20:35:11.725 INFO (MainThread) [homeassistant.setup] Setting up ssdp
2023-09-15 20:35:11.729 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.1 seconds
2023-09-15 20:35:11.736 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.0 seconds
2023-09-15 20:35:11.757 INFO (MainThread) [homeassistant.setup] Setup of domain bluetooth took 1.2 seconds
2023-09-15 20:35:11.762 INFO (MainThread) [homeassistant.setup] Setup of domain hassio took 1.4 seconds
2023-09-15 20:35:11.764 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [139842432010048] Received unknown command: mobile_app/push_notification_channel
2023-09-15 20:35:11.767 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [139842432010048] Received unknown command: mobile_app/push_notification_channel
2023-09-15 20:35:11.767 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [139842432010048] Received unknown command: mobile_app/push_notification_channel
2023-09-15 20:35:11.767 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [139842432010048] Received unknown command: mobile_app/push_notification_channel
2023-09-15 20:35:20.307 INFO (SyncWorker_2) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor
2023-09-15 20:35:20.307 INFO (SyncWorker_3) [homeassistant.loader] Loaded systemmonitor from homeassistant.components.systemmonitor
2023-09-15 20:35:20.308 INFO (SyncWorker_7) [homeassistant.loader] Loaded update from homeassistant.components.update
2023-09-15 20:35:20.309 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2023-09-15 20:35:20.309 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds
2023-09-15 20:35:20.314 INFO (MainThread) [homeassistant.setup] Setting up update
2023-09-15 20:35:20.315 INFO (MainThread) [homeassistant.setup] Setup of domain update took 0.0 seconds
2023-09-15 20:35:20.331 INFO (MainThread) [homeassistant.setup] Setting up sensor
2023-09-15 20:35:20.331 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.0 seconds
2023-09-15 20:35:20.337 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.hassio
2023-09-15 20:35:20.337 INFO (MainThread) [homeassistant.components.update] Setting up update.hassio
2023-09-15 20:35:20.341 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.systemmonitor
2023-09-15 20:35:20.342 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.hassio
2023-09-15 20:35:20.348 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'input_datetime', 'assist_pipeline', 'mqtt', 'tasmota', 'search', 'image_upload', 'stt', 'logbook', 'onboarding', 'homekit', 'alexa_media', 'conversation', 'pyscript', 'input_text', 'default_config', 'schedule', 'wake_word', 'system_health', 'stream', 'brother', 'media_source', 'trace', 'camera', 'sun', 'scene', 'config', 'sensor', 'person', 'counter', 'history', 'timer', 'hacs', 'nodered', 'auth', 'mobile_app', 'shelly', 'samsungtv', 'dlna_dmr', 'application_credentials', 'input_boolean', 'device_automation', 'radio_browser', 'lovelace', 'ipp', 'ffmpeg', 'diagnostics', 'zone', 'yolink', 'homeassistant_alerts', 'zha', 'repairs', 'input_select', 'my', 'glances', 'input_button', 'openweathermap', 'blueprint', 'tts', 'file_upload', 'cloudflare', 'automation', 'tapo_control', 'analytics', 'script', 'hardware', 'tag', 'energy', 'map', 'input_number', 'upnp', 'blink'}
2023-09-15 20:35:20.352 INFO (MainThread) [homeassistant.setup] Setting up input_datetime
2023-09-15 20:35:20.353 INFO (MainThread) [homeassistant.setup] Setting up stt
2023-09-15 20:35:20.353 INFO (MainThread) [homeassistant.setup] Setup of domain stt took 0.0 seconds
2023-09-15 20:35:20.355 INFO (MainThread) [homeassistant.setup] Setting up conversation
2023-09-15 20:35:20.356 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.0 seconds
2023-09-15 20:35:20.360 INFO (MainThread) [homeassistant.setup] Setting up input_text
2023-09-15 20:35:20.362 INFO (MainThread) [homeassistant.setup] Setting up schedule
2023-09-15 20:35:20.363 INFO (MainThread) [homeassistant.setup] Setting up wake_word
2023-09-15 20:35:20.363 INFO (MainThread) [homeassistant.setup] Setup of domain wake_word took 0.0 seconds
2023-09-15 20:35:20.364 INFO (MainThread) [homeassistant.setup] Setting up trace
2023-09-15 20:35:20.364 INFO (MainThread) [homeassistant.setup] Setup of domain trace took 0.0 seconds
2023-09-15 20:35:20.366 INFO (SyncWorker_4) [homeassistant.loader] Loaded proxy from homeassistant.components.proxy
2023-09-15 20:35:20.366 INFO (MainThread) [homeassistant.setup] Setting up sun
2023-09-15 20:35:20.366 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.0 seconds
2023-09-15 20:35:20.367 INFO (MainThread) [homeassistant.setup] Setting up scene
2023-09-15 20:35:20.369 INFO (MainThread) [homeassistant.setup] Setting up counter
2023-09-15 20:35:20.398 INFO (MainThread) [homeassistant.setup] Setting up history
2023-09-15 20:35:20.398 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds
2023-09-15 20:35:20.399 INFO (MainThread) [homeassistant.setup] Setting up timer
2023-09-15 20:35:20.401 INFO (MainThread) [homeassistant.setup] Setting up input_boolean
2023-09-15 20:35:20.402 INFO (MainThread) [homeassistant.setup] Setting up zone
2023-09-15 20:35:20.413 INFO (MainThread) [homeassistant.setup] Setting up homeassistant_alerts
2023-09-15 20:35:20.413 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant_alerts took 0.0 seconds
2023-09-15 20:35:20.414 INFO (MainThread) [homeassistant.setup] Setting up input_select
2023-09-15 20:35:20.415 INFO (MainThread) [homeassistant.setup] Setting up input_button
2023-09-15 20:35:20.416 INFO (MainThread) [homeassistant.setup] Setting up blueprint
2023-09-15 20:35:20.416 INFO (MainThread) [homeassistant.setup] Setup of domain blueprint took 0.0 seconds
2023-09-15 20:35:20.417 INFO (SyncWorker_7) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
2023-09-15 20:35:20.431 INFO (MainThread) [homeassistant.setup] Setting up hardware
2023-09-15 20:35:20.442 INFO (MainThread) [homeassistant.setup] Setting up tag
2023-09-15 20:35:20.443 INFO (MainThread) [homeassistant.setup] Setting up input_number
2023-09-15 20:35:20.451 ERROR (MainThread) [homeassistant.setup] Setup failed for alexa_media: Integration not found.
2023-09-15 20:35:20.456 ERROR (MainThread) [homeassistant.setup] Setup failed for pyscript: Integration not found.
2023-09-15 20:35:20.458 INFO (MainThread) [homeassistant.setup] Setting up camera
2023-09-15 20:35:20.460 INFO (MainThread) [homeassistant.setup] Setup of domain camera took 0.0 seconds
2023-09-15 20:35:20.460 ERROR (MainThread) [homeassistant.setup] Setup failed for hacs: Integration not found.

Diagnostics dump

Getting diagnostics logs is not possible since HACS won't load

hacs-bot[bot] commented 1 year ago

Make sure you have read the issue guidelines and that you filled out the entire template.

If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a :+1: reaction to the issue description. Thanks! :+1:

tjorim commented 1 year ago

Try reinstalling or removing HACS.

ludeeus commented 1 year ago

You no longer have HACS under custom_components folder. Reinstall it to get it working.

YaNa73 commented 1 year ago

Same problem. Uninstalled, reinstalled. Nothing helps.

mo-vdc commented 1 year ago

Try reinstalling or removing HACS.

Tried it, no luck

mo-vdc commented 1 year ago

You no longer have HACS under custom_components folder. Reinstall it to get it working.

It’s there, have already reinstalled, even removed it and reinstalled

ludeeus commented 1 year ago

If they really are there you have permission or other issues with your home assistant. This is not a HACS bug.