Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After HA update to Version 2025.1.0 HACS is not starting: "custom integration 'hacs' sets option flow config_entry explicitly, which is deprecated at custom_components/hacs/config_flow.py" #4314

Closed
8 tasks done
hugogithubs opened this issue Jan 4, 2025 · 63 comments · Fixed by #4315
Labels
issue:backend For issues with the backend/integration
Milestone

Comments

@hugogithubs
Copy link

System Health details

System Information

version core-2025.1.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.1
os_name Linux
os_version 6.6.63-haos
arch x86_64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.1
Stage null
Available Repositories 1553
Downloaded Repositories 1
Disabled restore
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 14.0
update_channel stable
supervisor_version supervisor-2024.12.3
agent_version 1.6.0
docker_version 27.2.0
disk_total 30.8 GB
disk_used 19.8 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization kvm
board ova
supervisor_api ok
version_api ok
installed_addons Mosquitto broker (6.4.1), File editor (5.8.0), InfluxDB (5.0.1), Grafana (10.2.2), Terminal & SSH (9.16.0), MariaDB (2.7.1), Samba share (12.3.2), phpMyAdmin (0.11.0), Zigbee2MQTT (2.0.0-1), Node-RED (18.1.1)
Dashboards
dashboards 5
resources 0
views 3
mode storage
Recorder
oldest_recorder_run 20. Dezember 2024 um 19:56
current_recorder_run 4. Januar 2025 um 17:39
estimated_db_size 1451.97 MiB
database_engine mysql
database_version 10.11.6

Checklist

Describe the issue

After HA update to Version 2025.1.0 HACS is not starting and I get Information "custom integration 'hacs' sets option flow config_entry explicitly, which is deprecated at custom_components/hacs/config_flow.py"

In log-files it is stated that one have to create a issue about this problem.

Reproduction steps

...

Debug logs

2025-01-04 18:44:39.286 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration apsystemsapi_local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-04 18:44:39.286 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration flightradar24 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-04 18:44:39.287 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-04 18:44:40.015 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.07 seconds
2025-01-04 18:44:40.015 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.07 seconds
2025-01-04 18:44:40.015 INFO (MainThread) [homeassistant.bootstrap] Setting up frontend: {'frontend'}
2025-01-04 18:44:40.015 INFO (MainThread) [homeassistant.setup] Setting up http
2025-01-04 18:44:40.015 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2025-01-04 18:44:40.016 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.00 seconds
2025-01-04 18:44:40.022 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.01 seconds
2025-01-04 18:44:40.022 INFO (MainThread) [homeassistant.setup] Setting up auth
2025-01-04 18:44:40.023 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.00 seconds
2025-01-04 18:44:40.023 INFO (MainThread) [homeassistant.setup] Setting up config
2025-01-04 18:44:40.025 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.00 seconds
2025-01-04 18:44:40.025 INFO (MainThread) [homeassistant.setup] Setting up diagnostics
2025-01-04 18:44:40.025 INFO (MainThread) [homeassistant.setup] Setup of domain diagnostics took 0.00 seconds
2025-01-04 18:44:40.025 INFO (MainThread) [homeassistant.setup] Setting up file_upload
2025-01-04 18:44:40.026 INFO (MainThread) [homeassistant.setup] Setup of domain file_upload took 0.00 seconds
2025-01-04 18:44:40.026 INFO (MainThread) [homeassistant.setup] Setting up image_upload
2025-01-04 18:44:40.026 INFO (MainThread) [homeassistant.setup] Setup of domain image_upload took 0.00 seconds
2025-01-04 18:44:40.026 INFO (MainThread) [homeassistant.setup] Setting up repairs
2025-01-04 18:44:40.027 INFO (MainThread) [homeassistant.setup] Setup of domain repairs took 0.00 seconds
2025-01-04 18:44:40.027 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2025-01-04 18:44:40.027 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.00 seconds
2025-01-04 18:44:40.027 INFO (MainThread) [homeassistant.setup] Setting up api
2025-01-04 18:44:40.028 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.00 seconds
2025-01-04 18:44:40.029 INFO (MainThread) [homeassistant.setup] Setting up person
2025-01-04 18:44:40.029 INFO (MainThread) [homeassistant.setup] Setting up search
2025-01-04 18:44:40.029 INFO (MainThread) [homeassistant.setup] Setup of domain search took 0.00 seconds
2025-01-04 18:44:40.030 INFO (MainThread) [homeassistant.setup] Setup of domain person took 0.00 seconds
2025-01-04 18:44:40.030 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2025-01-04 18:44:40.031 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.00 seconds
2025-01-04 18:44:40.031 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2025-01-04 18:44:40.032 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.00 seconds
2025-01-04 18:44:40.032 INFO (MainThread) [homeassistant.setup] Setting up frontend
2025-01-04 18:44:40.036 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.00 seconds
2025-01-04 18:44:40.036 INFO (MainThread) [homeassistant.bootstrap] Setting up recorder: {'recorder'}
2025-01-04 18:44:40.036 INFO (MainThread) [homeassistant.setup] Setting up recorder
2025-01-04 18:44:40.039 INFO (MainThread) [homeassistant.components.http] Now listening on port 8123
2025-01-04 18:44:40.040 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.00 seconds
2025-01-04 18:44:40.135 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.10 seconds
2025-01-04 18:44:40.136 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 1: {'websocket_api', 'ssdp', 'cloud', 'zeroconf', 'hassio', 'usb', 'network', 'dhcp', 'api', 'repairs', 'http', 'webhook', 'bluetooth', 'auth'}
2025-01-04 18:44:40.136 INFO (MainThread) [homeassistant.setup] Setting up network
2025-01-04 18:44:40.137 INFO (MainThread) [homeassistant.setup] Setup of domain network took 0.00 seconds
2025-01-04 18:44:40.137 INFO (MainThread) [homeassistant.setup] Setting up webhook
2025-01-04 18:44:40.138 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.00 seconds
2025-01-04 18:44:40.139 INFO (MainThread) [homeassistant.setup] Setting up hassio
2025-01-04 18:44:40.171 INFO (MainThread) [homeassistant.setup] Setting up ssdp
2025-01-04 18:44:40.181 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.01 seconds
2025-01-04 18:44:40.263 INFO (MainThread) [homeassistant.setup] Setup of domain hassio took 0.12 seconds
2025-01-04 18:44:40.291 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2025-01-04 18:44:40.292 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.00 seconds
2025-01-04 18:44:40.292 INFO (MainThread) [homeassistant.setup] Setting up sensor
2025-01-04 18:44:40.293 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.00 seconds
2025-01-04 18:44:40.293 INFO (MainThread) [homeassistant.setup] Setting up update
2025-01-04 18:44:40.295 INFO (MainThread) [homeassistant.setup] Setup of domain update took 0.00 seconds
2025-01-04 18:44:40.302 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up hassio.binary_sensor
2025-01-04 18:44:40.302 INFO (MainThread) [homeassistant.components.sensor] Setting up hassio.sensor
2025-01-04 18:44:40.306 INFO (MainThread) [homeassistant.components.update] Setting up hassio.update
2025-01-04 18:44:40.455 INFO (MainThread) [homeassistant.setup] Setting up cloud
2025-01-04 18:44:40.460 INFO (MainThread) [homeassistant.setup] Setting up ffmpeg
2025-01-04 18:44:40.460 INFO (MainThread) [homeassistant.setup] Setup of domain ffmpeg took 0.00 seconds
2025-01-04 18:44:40.461 INFO (MainThread) [homeassistant.setup] Setting up tts
2025-01-04 18:44:40.461 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.01 seconds
2025-01-04 18:44:40.464 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.00 seconds
2025-01-04 18:44:40.482 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2025-01-04 18:44:40.487 INFO (MainThread) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
2025-01-04 18:44:40.487 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.00 seconds
2025-01-04 18:44:40.493 INFO (MainThread) [homeassistant.setup] Setting up usb
2025-01-04 18:44:40.493 INFO (MainThread) [homeassistant.setup] Setup of domain usb took 0.00 seconds
2025-01-04 18:44:40.950 INFO (MainThread) [homeassistant.setup] Setting up dhcp
2025-01-04 18:44:40.951 INFO (MainThread) [homeassistant.setup] Setup of domain dhcp took 0.00 seconds
2025-01-04 18:44:40.993 INFO (MainThread) [homeassistant.setup] Setting up bluetooth
2025-01-04 18:44:41.015 INFO (MainThread) [homeassistant.setup] Setup of domain bluetooth took 0.02 seconds
2025-01-04 18:44:41.015 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'assist_pipeline', 'scene', 'person', 'template', 'google_translate', 'forecast_solar', 'automation', 'application_credentials', 'rest', 'config', 'file_upload', 'flightradar24', 'wake_word', 'stt', 'backup', 'counter', 'media_source', 'system_health', 'rest_command', 'mobile_app', 'script', 'radio_browser', 'input_select', 'go2rtc', 'ffmpeg', 'device_automation', 'onboarding', 'blueprint', 'hacs', 'mqtt', 'hardware', 'conversation', 'tts', 'timer', 'input_text', 'input_datetime', 'met', 'shopping_list', 'integration', 'generic', 'tag', 'persistent_notification', 'logbook', 'influxdb', 'homeassistant_alerts', 'camera', 'lovelace', 'search', 'diagnostics', 'zone', 'history', 'intent', 'image_upload', 'apsystemsapi_local', 'my', 'analytics', 'sun', 'trace', 'fritzbox', 'input_boolean', 'input_number', 'input_button', 'default_config', 'schedule', 'tasmota', 'utility_meter', 'energy', 'stream'}
2025-01-04 18:44:41.016 INFO (MainThread) [homeassistant.setup] Setting up scene
2025-01-04 18:44:41.018 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.00 seconds
2025-01-04 18:44:41.018 INFO (MainThread) [homeassistant.setup] Setting up camera
2025-01-04 18:44:41.019 INFO (MainThread) [homeassistant.setup] Setup of domain camera took 0.00 seconds
2025-01-04 18:44:41.020 INFO (MainThread) [homeassistant.setup] Setting up wake_word
2025-01-04 18:44:41.020 INFO (MainThread) [homeassistant.setup] Setup of domain wake_word took 0.00 seconds
2025-01-04 18:44:41.020 INFO (MainThread) [homeassistant.setup] Setting up stt
2025-01-04 18:44:41.020 INFO (MainThread) [homeassistant.setup] Setup of domain stt took 0.00 seconds
2025-01-04 18:44:41.020 INFO (MainThread) [homeassistant.setup] Setting up blueprint
2025-01-04 18:44:41.020 INFO (MainThread) [homeassistant.setup] Setup of domain blueprint took 0.00 seconds
2025-01-04 18:44:41.021 INFO (MainThread) [homeassistant.setup] Setting up timer
2025-01-04 18:44:41.021 INFO (MainThread) [homeassistant.setup] Setting up trace
2025-01-04 18:44:41.021 INFO (MainThread) [homeassistant.setup] Setup of domain trace took 0.00 seconds
2025-01-04 18:44:41.029 INFO (MainThread) [homeassistant.setup] Setting up stream
2025-01-04 18:44:41.030 INFO (MainThread) [homeassistant.setup] Setting up logbook
2025-01-04 18:44:41.030 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.00 seconds
2025-01-04 18:44:41.031 INFO (MainThread) [homeassistant.setup] Setting up zone
2025-01-04 18:44:41.032 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.00 seconds
2025-01-04 18:44:41.032 INFO (MainThread) [homeassistant.setup] Setting up backup
2025-01-04 18:44:41.034 INFO (MainThread) [homeassistant.setup] Setup of domain backup took 0.00 seconds
2025-01-04 18:44:41.035 INFO (MainThread) [homeassistant.setup] Setting up history
2025-01-04 18:44:41.035 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.00 seconds
2025-01-04 18:44:41.035 INFO (MainThread) [homeassistant.setup] Setting up media_source
2025-01-04 18:44:41.036 INFO (MainThread) [homeassistant.setup] Setup of domain media_source took 0.00 seconds
2025-01-04 18:44:41.036 INFO (MainThread) [homeassistant.setup] Setting up system_health
2025-01-04 18:44:41.036 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.00 seconds
2025-01-04 18:44:41.038 INFO (MainThread) [homeassistant.setup] Setting up script
2025-01-04 18:44:41.041 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.00 seconds
2025-01-04 18:44:41.041 INFO (MainThread) [homeassistant.setup] Setting up input_boolean
2025-01-04 18:44:41.041 INFO (MainThread) [homeassistant.setup] Setting up input_number
2025-01-04 18:44:41.041 INFO (MainThread) [homeassistant.setup] Setting up input_button
2025-01-04 18:44:41.042 INFO (MainThread) [homeassistant.setup] Setting up input_select
2025-01-04 18:44:41.044 INFO (MainThread) [homeassistant.components.scene] Setting up homeassistant.scene
2025-01-04 18:44:41.045 INFO (MainThread) [homeassistant.setup] Setup of domain timer took 0.02 seconds
2025-01-04 18:44:41.047 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 0.01 seconds
2025-01-04 18:44:41.047 INFO (MainThread) [homeassistant.setup] Setup of domain input_number took 0.01 seconds
2025-01-04 18:44:41.048 INFO (MainThread) [homeassistant.setup] Setup of domain input_button took 0.01 seconds
2025-01-04 18:44:41.049 INFO (MainThread) [homeassistant.setup] Setup of domain input_select took 0.01 seconds
2025-01-04 18:44:41.050 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of pycountry==23.12.11
2025-01-04 18:44:41.055 INFO (MainThread) [homeassistant.setup] Setting up intent
2025-01-04 18:44:41.055 INFO (MainThread) [homeassistant.setup] Setup of domain intent took 0.00 seconds
2025-01-04 18:44:41.055 INFO (MainThread) [homeassistant.setup] Setting up conversation
2025-01-04 18:44:41.056 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.00 seconds
2025-01-04 18:44:41.056 INFO (MainThread) [homeassistant.setup] Setting up assist_pipeline
2025-01-04 18:44:41.057 INFO (MainThread) [homeassistant.setup] Setup of domain assist_pipeline took 0.00 seconds
2025-01-04 18:44:41.144 INFO (MainThread) [homeassistant.setup] Setup of domain stream took 0.11 seconds
2025-01-04 18:44:41.195 INFO (MainThread) [homeassistant.setup] Setting up hacs
2025-01-04 18:44:41.195 INFO (MainThread) [homeassistant.setup] Setup of domain hacs took 0.00 seconds
2025-01-04 18:44:41.195 INFO (MainThread) [custom_components.hacs] 
-------------------------------------------------------------------
HACS (Home Assistant Community Store)

Version: 2.0.1
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/hacs/integration/issues
-------------------------------------------------------------------

2025-01-04 18:44:41.228 INFO (MainThread) [custom_components.hacs] <HacsData restore> Restore started
2025-01-04 18:44:41.253 INFO (MainThread) [homeassistant.setup] Setting up mqtt
2025-01-04 18:44:41.253 INFO (MainThread) [homeassistant.setup] Setup of domain mqtt took 0.00 seconds
2025-01-04 18:44:41.255 INFO (MainThread) [homeassistant.setup] Setting up hardware
2025-01-04 18:44:41.275 CRITICAL (MainThread) [custom_components.hacs] <HacsData restore> [The repo id for music-assistant/hass-music-assistant is already set to 911125621] Restore Failed!
Traceback (most recent call last):
  File "/config/custom_components/hacs/utils/data.py", line 222, in restore
    self.async_restore_repository(entry, repo_data)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/utils/data.py", line 270, in async_restore_repository
    self.hacs.repositories.set_repository_id(repository, entry)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/base.py", line 290, in set_repository_id
    raise ValueError(
    ...<2 lines>...
    )
ValueError: The repo id for music-assistant/hass-music-assistant is already set to 911125621
2025-01-04 18:44:41.278 ERROR (MainThread) [custom_components.hacs] HACS is disabled - restore
2025-01-04 18:44:41.278 INFO (MainThread) [custom_components.hacs] Could not setup HACS, trying again in 15 min
2025-01-04 18:44:41.294 INFO (MainThread) [homeassistant.setup] Setup of domain hardware took 0.04 seconds
2025-01-04 18:44:41.539 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [140083944453552] Received unknown command: energy/info
2025-01-04 18:44:41.541 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [140083944453552] Received unknown command: energy/info
2025-01-04 18:44:41.542 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [140083944453552] Received unknown command: energy/info
2025-01-04 18:44:41.542 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [140083944453552] Received unknown command: energy/info
2025-01-04 18:44:41.651 INFO (MainThread) [homeassistant.setup] Setting up google_translate
2025-01-04 18:44:41.652 INFO (MainThread) [homeassistant.setup] Setup of domain google_translate took 0.00 seconds
2025-01-04 18:44:41.652 INFO (MainThread) [homeassistant.setup] Setting up input_text
2025-01-04 18:44:41.653 INFO (MainThread) [homeassistant.setup] Setup of domain input_text took 0.00 seconds
2025-01-04 18:44:41.662 INFO (MainThread) [homeassistant.setup] Setting up forecast_solar
2025-01-04 18:44:41.662 INFO (MainThread) [homeassistant.setup] Setup of domain forecast_solar took 0.00 seconds
2025-01-04 18:44:41.664 INFO (MainThread) [homeassistant.setup] Setting up input_datetime
2025-01-04 18:44:41.665 INFO (MainThread) [homeassistant.setup] Setup of domain input_datetime took 0.00 seconds
2025-01-04 18:44:41.668 INFO (MainThread) [homeassistant.setup] Setting up met
2025-01-04 18:44:41.668 INFO (MainThread) [homeassistant.setup] Setup of domain met took 0.00 seconds
2025-01-04 18:44:41.671 INFO (MainThread) [homeassistant.setup] Setting up application_credentials
2025-01-04 18:44:41.672 INFO (MainThread) [homeassistant.setup] Setup of domain application_credentials took 0.00 seconds
2025-01-04 18:44:41.675 INFO (MainThread) [homeassistant.setup] Setting up shopping_list
2025-01-04 18:44:41.675 INFO (MainThread) [homeassistant.setup] Setup of domain shopping_list took 0.00 seconds
2025-01-04 18:44:41.679 INFO (MainThread) [homeassistant.setup] Setting up tag
2025-01-04 18:44:41.679 INFO (MainThread) [homeassistant.setup] Setup of domain tag took 0.00 seconds
2025-01-04 18:44:41.685 INFO (MainThread) [homeassistant.setup] Setting up rest
2025-01-04 18:44:41.992 INFO (MainThread) [homeassistant.setup] Setting up influxdb
2025-01-04 18:44:41.997 INFO (MainThread) [homeassistant.setup] Setting up homeassistant_alerts
2025-01-04 18:44:41.998 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant_alerts took 0.00 seconds
2025-01-04 18:44:42.003 INFO (MainThread) [homeassistant.setup] Setting up counter
2025-01-04 18:44:42.006 INFO (MainThread) [homeassistant.setup] Setup of domain counter took 0.00 seconds
2025-01-04 18:44:42.008 INFO (MainThread) [homeassistant.setup] Setup of domain influxdb took 0.02 seconds
2025-01-04 18:44:42.017 INFO (MainThread) [homeassistant.setup] Setting up apsystemsapi_local
2025-01-04 18:44:42.017 INFO (MainThread) [homeassistant.setup] Setup of domain apsystemsapi_local took 0.00 seconds
2025-01-04 18:44:42.018 INFO (MainThread) [homeassistant.setup] Setting up rest_command
2025-01-04 18:44:42.018 INFO (MainThread) [homeassistant.setup] Setup of domain rest_command took 0.00 seconds
2025-01-04 18:44:42.018 INFO (MainThread) [homeassistant.setup] Setting up my
2025-01-04 18:44:42.018 INFO (MainThread) [homeassistant.setup] Setup of domain my took 0.00 seconds
2025-01-04 18:44:42.018 INFO (MainThread) [homeassistant.setup] Setting up sun
2025-01-04 18:44:42.018 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.00 seconds
2025-01-04 18:44:42.023 INFO (MainThread) [homeassistant.components.sensor] Setting up sun.sensor
2025-01-04 18:44:42.034 INFO (MainThread) [homeassistant.setup] Setting up fritzbox
2025-01-04 18:44:42.034 INFO (MainThread) [homeassistant.setup] Setup of domain fritzbox took 0.00 seconds
2025-01-04 18:44:42.087 INFO (MainThread) [homeassistant.setup] Setting up radio_browser
2025-01-04 18:44:42.088 INFO (MainThread) [homeassistant.setup] Setup of domain radio_browser took 0.00 seconds
2025-01-04 18:44:42.094 INFO (MainThread) [homeassistant.setup] Setting up energy
2025-01-04 18:44:42.094 INFO (MainThread) [homeassistant.setup] Setup of domain energy took 0.00 seconds
2025-01-04 18:44:42.131 INFO (MainThread) [homeassistant.setup] Setting up go2rtc
2025-01-04 18:44:42.135 INFO (MainThread) [homeassistant.setup] Setting up schedule
2025-01-04 18:44:42.136 INFO (MainThread) [homeassistant.setup] Setup of domain schedule took 0.00 seconds
2025-01-04 18:44:42.143 INFO (MainThread) [homeassistant.setup] Setting up utility_meter
2025-01-04 18:44:42.144 INFO (MainThread) [homeassistant.setup] Setup of domain utility_meter took 0.00 seconds
2025-01-04 18:44:42.144 INFO (MainThread) [homeassistant.setup] Setting up generic
2025-01-04 18:44:42.144 INFO (MainThread) [homeassistant.setup] Setup of domain generic took 0.00 seconds
2025-01-04 18:44:42.145 INFO (MainThread) [homeassistant.components.camera] Setting up generic.camera
2025-01-04 18:44:42.146 INFO (MainThread) [homeassistant.components.camera] Setting up generic.camera
2025-01-04 18:44:42.210 INFO (MainThread) [homeassistant.components.tts] Setting up google_translate.tts
2025-01-04 18:44:42.216 INFO (MainThread) [homeassistant.setup] Setting up todo
2025-01-04 18:44:42.218 INFO (MainThread) [homeassistant.setup] Setup of domain todo took 0.00 seconds
2025-01-04 18:44:42.221 INFO (MainThread) [homeassistant.components.todo] Setting up shopping_list.todo
2025-01-04 18:44:42.234 INFO (MainThread) [homeassistant.setup] Setting up mobile_app
2025-01-04 18:44:42.235 INFO (MainThread) [homeassistant.setup] Setting up notify
2025-01-04 18:44:42.235 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.00 seconds
2025-01-04 18:44:42.235 INFO (MainThread) [homeassistant.setup] Setup of domain mobile_app took 0.00 seconds
2025-01-04 18:44:42.236 INFO (MainThread) [homeassistant.setup] Setting up integration
2025-01-04 18:44:42.236 INFO (MainThread) [homeassistant.setup] Setup of domain integration took 0.00 seconds
2025-01-04 18:44:42.239 INFO (MainThread) [homeassistant.components.notify] Setting up notify.mobile_app
2025-01-04 18:44:42.244 INFO (MainThread) [homeassistant.setup] Setting up number
2025-01-04 18:44:42.244 INFO (MainThread) [homeassistant.setup] Setup of domain number took 0.00 seconds
2025-01-04 18:44:42.244 INFO (MainThread) [homeassistant.setup] Setting up switch
2025-01-04 18:44:42.245 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.00 seconds
2025-01-04 18:44:42.249 INFO (MainThread) [homeassistant.components.sensor] Setting up apsystemsapi_local.sensor
2025-01-04 18:44:42.251 INFO (MainThread) [homeassistant.components.number] Setting up apsystemsapi_local.number
2025-01-04 18:44:42.257 INFO (MainThread) [homeassistant.components.switch] Setting up apsystemsapi_local.switch
2025-01-04 18:44:42.262 INFO (MainThread) [homeassistant.setup] Setting up analytics
2025-01-04 18:44:42.262 INFO (MainThread) [homeassistant.setup] Setup of domain analytics took 0.00 seconds
2025-01-04 18:44:42.263 INFO (MainThread) [homeassistant.setup] Setting up weather
2025-01-04 18:44:42.263 INFO (MainThread) [homeassistant.setup] Setup of domain weather took 0.00 seconds
2025-01-04 18:44:42.263 INFO (MainThread) [homeassistant.setup] Setting up template
2025-01-04 18:44:42.269 INFO (MainThread) [homeassistant.setup] Setup of domain template took 0.01 seconds
2025-01-04 18:44:42.269 INFO (MainThread) [homeassistant.components.sensor] Setting up energy.sensor
2025-01-04 18:44:42.272 INFO (MainThread) [homeassistant.setup] Setup of domain go2rtc took 0.14 seconds
2025-01-04 18:44:42.276 INFO (MainThread) [homeassistant.components.sensor] Setting up utility_meter.sensor
2025-01-04 18:44:42.278 INFO (MainThread) [homeassistant.setup] Setting up default_config
2025-01-04 18:44:42.278 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.00 seconds
2025-01-04 18:44:42.287 INFO (MainThread) [homeassistant.components.switch] Setting up mqtt.switch
2025-01-04 18:44:42.287 INFO (MainThread) [homeassistant.components.sensor] Setting up mqtt.sensor
2025-01-04 18:44:42.287 INFO (MainThread) [homeassistant.setup] Setting up button
2025-01-04 18:44:42.288 INFO (MainThread) [homeassistant.setup] Setup of domain button took 0.00 seconds
2025-01-04 18:44:42.288 INFO (MainThread) [homeassistant.components.button] Setting up mqtt.button
2025-01-04 18:44:42.288 INFO (MainThread) [homeassistant.components.update] Setting up mqtt.update
2025-01-04 18:44:42.288 INFO (MainThread) [homeassistant.setup] Setting up select
2025-01-04 18:44:42.289 INFO (MainThread) [homeassistant.setup] Setup of domain select took 0.00 seconds
2025-01-04 18:44:42.289 INFO (MainThread) [homeassistant.components.select] Setting up mqtt.select
2025-01-04 18:44:42.289 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up mqtt.binary_sensor
2025-01-04 18:44:42.290 INFO (MainThread) [homeassistant.components.weather] Setting up met.weather
2025-01-04 18:44:42.296 INFO (MainThread) [homeassistant.setup] Setting up automation
2025-01-04 18:44:42.297 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.00 seconds
2025-01-04 18:44:42.299 INFO (MainThread) [homeassistant.components.sensor] Setting up template.sensor
2025-01-04 18:44:42.310 INFO (MainThread) [homeassistant.components.sensor] Setting up template.sensor
2025-01-04 18:44:42.316 INFO (MainThread) [homeassistant.components.sensor] Setting up integration.sensor
2025-01-04 18:44:42.336 INFO (MainThread) [homeassistant.setup] Setting up tasmota
2025-01-04 18:44:42.336 INFO (MainThread) [homeassistant.setup] Setup of domain tasmota took 0.00 seconds
2025-01-04 18:44:42.342 INFO (MainThread) [homeassistant.setup] Setting up cover
2025-01-04 18:44:42.343 INFO (MainThread) [homeassistant.setup] Setup of domain cover took 0.00 seconds
2025-01-04 18:44:42.344 INFO (MainThread) [homeassistant.setup] Setting up fan
2025-01-04 18:44:42.345 INFO (MainThread) [homeassistant.setup] Setup of domain fan took 0.00 seconds
2025-01-04 18:44:42.345 INFO (MainThread) [homeassistant.setup] Setting up light
2025-01-04 18:44:42.351 INFO (MainThread) [homeassistant.setup] Setup of domain light took 0.01 seconds
2025-01-04 18:44:42.354 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up tasmota.binary_sensor
2025-01-04 18:44:42.354 INFO (MainThread) [homeassistant.components.cover] Setting up tasmota.cover
2025-01-04 18:44:42.355 INFO (MainThread) [homeassistant.components.fan] Setting up tasmota.fan
2025-01-04 18:44:42.355 INFO (MainThread) [homeassistant.components.light] Setting up tasmota.light
2025-01-04 18:44:42.356 INFO (MainThread) [homeassistant.components.sensor] Setting up tasmota.sensor
2025-01-04 18:44:42.356 INFO (MainThread) [homeassistant.components.switch] Setting up tasmota.switch
2025-01-04 18:44:42.361 INFO (MainThread) [homeassistant.components.sensor] Setting up forecast_solar.sensor
2025-01-04 18:44:42.751 INFO (SyncWorker_1) [pyfritzhome.fritzhome] sid:0000000000000000, challenge:2$60000$77c18a7f4264cbdb42b2cbcffa0d3b4e$6000$e4faa066086c3015fa73a8511ec92c39, blocktime:0
2025-01-04 18:44:42.842 INFO (MainThread) [homeassistant.setup] Setup of domain rest took 1.16 seconds
2025-01-04 18:44:42.845 INFO (MainThread) [homeassistant.components.sensor] Setting up rest.sensor
2025-01-04 18:44:42.886 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor 1221051039810110150109113116116_0x7cc6b6fffe8e239e connection_state from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.888 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor 1221051039810110150109113116116_0x7cc6b6fffe8e239e restart_required from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.891 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: button 1221051039810110150109113116116_0x7cc6b6fffe8e239e restart from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.939 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: select 1221051039810110150109113116116_0x7cc6b6fffe8e239e log_level from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.942 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 1221051039810110150109113116116_0x7cc6b6fffe8e239e version from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.943 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 1221051039810110150109113116116_0x7cc6b6fffe8e239e coordinator_version from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.945 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 1221051039810110150109113116116_0x7cc6b6fffe8e239e network_map from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.947 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 0xa4c13866011087dd battery from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.949 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 0xa4c13866011087dd temperature from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.951 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 0xa4c13866011087dd humidity from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.952 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 0xa4c13866011087dd voltage from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.954 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 0xa4c13866011087dd linkquality from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.957 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 0xa4c13866011087dd last_seen from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.986 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: switch 1221051039810110150109113116116_0x7cc6b6fffe8e239e permit_join from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:42.990 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: update 0xa4c13866011087dd update from external application Zigbee2MQTT, version: 2.0.0, support URL: https://www.zigbee2mqtt.io
2025-01-04 18:44:44.563 INFO (MainThread) [homeassistant.setup] Setting up flightradar24
2025-01-04 18:44:44.563 INFO (MainThread) [homeassistant.setup] Setup of domain flightradar24 took 0.00 seconds
2025-01-04 18:44:44.680 INFO (SyncWorker_1) [pyfritzhome.fritzhome] Updating Devices ...
2025-01-04 18:44:44.716 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2025-01-04 18:44:44.717 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.00 seconds
2025-01-04 18:44:44.717 INFO (MainThread) [homeassistant.setup] Setting up text
2025-01-04 18:44:44.717 INFO (MainThread) [homeassistant.setup] Setup of domain text took 0.00 seconds
2025-01-04 18:44:44.719 INFO (MainThread) [homeassistant.components.device_tracker] Setting up flightradar24.device_tracker
2025-01-04 18:44:44.719 INFO (MainThread) [homeassistant.components.sensor] Setting up flightradar24.sensor
2025-01-04 18:44:44.720 INFO (MainThread) [homeassistant.components.switch] Setting up flightradar24.switch
2025-01-04 18:44:44.721 INFO (MainThread) [homeassistant.components.text] Setting up flightradar24.text
2025-01-04 18:44:45.393 INFO (SyncWorker_1) [pyfritzhome.fritzhome] Adding new Device 11630 0086345
2025-01-04 18:44:45.395 INFO (SyncWorker_1) [pyfritzhome.fritzhome] Updating Templates ...
2025-01-04 18:44:46.151 INFO (MainThread) [homeassistant.setup] Setting up climate
2025-01-04 18:44:46.153 INFO (MainThread) [homeassistant.setup] Setup of domain climate took 0.00 seconds
2025-01-04 18:44:46.155 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up fritzbox.binary_sensor
2025-01-04 18:44:46.155 INFO (MainThread) [homeassistant.components.button] Setting up fritzbox.button
2025-01-04 18:44:46.155 INFO (MainThread) [homeassistant.components.climate] Setting up fritzbox.climate
2025-01-04 18:44:46.156 INFO (MainThread) [homeassistant.components.cover] Setting up fritzbox.cover
2025-01-04 18:44:46.156 INFO (MainThread) [homeassistant.components.light] Setting up fritzbox.light
2025-01-04 18:44:46.156 INFO (MainThread) [homeassistant.components.sensor] Setting up fritzbox.sensor
2025-01-04 18:44:46.157 INFO (MainThread) [homeassistant.components.switch] Setting up fritzbox.switch
2025-01-04 18:44:46.160 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 6.87s
2025-01-04 18:44:46.160 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2025-01-04 18:44:46.162 INFO (MainThread) [homeassistant.components.template.coordinator] Initialized trigger
2025-01-04 18:44:46.169 INFO (MainThread) [homeassistant.components.automation.wenn_solarpowerstatusondannfritzdecteinschalten] Initialized trigger TurnOnFRITZdect
2025-01-04 18:44:46.170 INFO (MainThread) [homeassistant.components.automation.counter_fluge_zurucksetzen] Initialized trigger Counter Flüge zurücksetzen
2025-01-04 18:44:46.171 INFO (SyncWorker_1) [homeassistant.loader] Loaded upnp from homeassistant.components.upnp
2025-01-04 18:44:46.173 INFO (SyncWorker_0) [homeassistant.loader] Loaded fritz from homeassistant.components.fritz
2025-01-04 18:44:46.191 INFO (SyncWorker_2) [homeassistant.loader] Loaded dlna_dms from homeassistant.components.dlna_dms
2025-01-04 18:44:46.286 INFO (SyncWorker_2) [homeassistant.loader] Loaded zha from homeassistant.components.zha
2025-01-04 18:44:47.313 INFO (ImportExecutor_0) [zigpy.serial] Using pyserial-asyncio-fast in place of pyserial-asyncio
2025-01-04 18:44:51.172 INFO (MainThread) [homeassistant.components.mqtt.client] MQTT client initialized, birth message sent
2025-01-04 18:45:00.291 INFO (MainThread) [homeassistant.helpers.script.trigger_update_coordinator] Trigger Update Coordinator: Running template script
2025-01-04 18:45:00.291 INFO (MainThread) [homeassistant.helpers.script.trigger_update_coordinator] Trigger Update Coordinator: Executing step call service
2025-01-04 18:45:15.541 INFO (SyncWorker_0) [pyfritzhome.fritzhome] Updating Devices ...
2025-01-04 18:45:16.316 INFO (SyncWorker_0) [pyfritzhome.fritzhome] Updating already existing Device 11630 0086345
2025-01-04 18:45:16.316 INFO (SyncWorker_0) [pyfritzhome.fritzhome] Updating Templates ...
2025-01-04 18:45:46.541 INFO (SyncWorker_4) [pyfritzhome.fritzhome] Updating Devices ...
2025-01-04 18:45:47.303 INFO (SyncWorker_4) [pyfritzhome.fritzhome] Updating already existing Device 11630 0086345
2025-01-04 18:45:47.303 INFO (SyncWorker_4) [pyfritzhome.fritzhome] Updating Templates ...
2025-01-04 18:46:00.291 INFO (MainThread) [homeassistant.helpers.script.trigger_update_coordinator] Trigger Update Coordinator: Running template script
2025-01-04 18:46:00.291 INFO (MainThread) [homeassistant.helpers.script.trigger_update_coordinator] Trigger Update Coordinator: Executing step call service
2025-01-04 18:46:17.541 INFO (SyncWorker_5) [pyfritzhome.fritzhome] Updating Devices ...
2025-01-04 18:46:18.243 INFO (SyncWorker_5) [pyfritzhome.fritzhome] Updating already existing Device 11630 0086345
2025-01-04 18:46:18.243 INFO (SyncWorker_5) [pyfritzhome.fritzhome] Updating Templates ...
2025-01-04 18:46:43.841 INFO (MainThread) [homeassistant.setup] Setting up zha
2025-01-04 18:46:48.542 INFO (SyncWorker_4) [pyfritzhome.fritzhome] Updating Devices ...
2025-01-04 18:46:49.246 INFO (SyncWorker_4) [pyfritzhome.fritzhome] Updating already existing Device 11630 0086345
2025-01-04 18:46:49.246 INFO (SyncWorker_4) [pyfritzhome.fritzhome] Updating Templates ...
2025-01-04 18:47:00.291 INFO (MainThread) [homeassistant.helpers.script.trigger_update_coordinator] Trigger Update Coordinator: Running template script
2025-01-04 18:47:00.291 INFO (MainThread) [homeassistant.helpers.script.trigger_update_coordinator] Trigger Update Coordinator: Executing step call service
2025-01-04 18:47:19.541 INFO (SyncWorker_3) [pyfritzhome.fritzhome] Updating Devices ...
2025-01-04 18:47:20.244 INFO (SyncWorker_3) [pyfritzhome.fritzhome] Updating already existing Device 11630 0086345
2025-01-04 18:47:20.245 INFO (SyncWorker_3) [pyfritzhome.fritzhome] Updating Templates ...

Diagnostics dump

home-assistant_hacs_2025-01-04T17-52-54.611Z.log

@hugogithubs hugogithubs added the issue:backend For issues with the backend/integration label Jan 4, 2025
@hacs-bot
Copy link

hacs-bot bot commented Jan 4, 2025

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 👍 reaction to the issue description. Thanks! 👍

@Jab2870
Copy link

Jab2870 commented Jan 4, 2025

Just adding that I am also experiencing this.

This error originated from a custom integration.

Logger: custom_components.hacs
Source: custom_components/hacs/utils/data.py:222
integration: HACS (documentation, issues)
First occurred: 17:49:44 (3 occurrences)
Last logged: 17:58:29

<HacsData restore> [The repo id for music-assistant/hass-music-assistant is already set to 911125621] Restore Failed!
Traceback (most recent call last):
  File "/config/custom_components/hacs/utils/data.py", line 222, in restore
    self.async_restore_repository(entry, repo_data)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/utils/data.py", line 270, in async_restore_repository
    self.hacs.repositories.set_repository_id(repository, entry)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/base.py", line 290, in set_repository_id
    raise ValueError(
    ...<2 lines>...
    )
ValueError: The repo id for music-assistant/hass-music-assistant is already set to 911125621

appears to be related to mass. I have removed the mass intergration, attempted to delete the hass entities for mass but no luck.

@FriedCheese2006
Copy link

Same error here with the music-assistant but I've never had it installed.


Logger: custom_components.hacs
Source: custom_components/hacs/utils/data.py:222
integration: HACS (documentation, issues)
First occurred: 12:56:51 (3 occurrences)
Last logged: 13:05:16

<HacsData restore> [The repo id for music-assistant/hass-music-assistant is already set to 476357279] Restore Failed!
Traceback (most recent call last):
  File "/config/custom_components/hacs/utils/data.py", line 222, in restore
    self.async_restore_repository(entry, repo_data)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/utils/data.py", line 270, in async_restore_repository
    self.hacs.repositories.set_repository_id(repository, entry)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/base.py", line 290, in set_repository_id
    raise ValueError(
    ...<2 lines>...
    )
ValueError: The repo id for music-assistant/hass-music-assistant is already set to 476357279```

@FriedCheese2006
Copy link

FriedCheese2006 commented Jan 4, 2025

As a workaround:

  1. Go to ~/.storage/hacs.repositories
  2. Find the section for music-assistant:
    image
  3. Remove it:
    image
  4. Reload HACS from the "Devices" page.

@Jab2870
Copy link

Jab2870 commented Jan 4, 2025

Worked a treat. Thanks for such a prompt solution @FriedCheese2006

@mmvanheusden
Copy link

mmvanheusden commented Jan 4, 2025

  1. /.storage/hacs.repositories

I can't seem to find this file. Where is it located exactly? I am using Docker.

@MrRobot245
Copy link

MrRobot245 commented Jan 4, 2025

  1. /.storage/hacs.repositories

I can't seem to find this file. Where is it located exactly? I am using Docker.

I was looking for this too, on HAOS its /config/.storage

@PaulKierstead
Copy link

PaulKierstead commented Jan 4, 2025 via email

@mmtomm
Copy link

mmtomm commented Jan 4, 2025

Had the same issue and never had music-assistant installed.
`This error originated from a custom integration.

Logger: custom_components.hacs
Source: custom_components/hacs/utils/data.py:222
integration: HACS (documentation, issues)
First occurred: 19:09:31 (2 occurrences)
Last logged: 19:24:31

[The repo id for music-assistant/hass-music-assistant is already set to 911125621] Restore Failed!
Traceback (most recent call last):
File "/config/custom_components/hacs/utils/data.py", line 222, in restore
self.async_restore_repository(entry, repo_data)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hacs/utils/data.py", line 270, in async_restore_repository
self.hacs.repositories.set_repository_id(repository, entry)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hacs/base.py", line 290, in set_repository_id
raise ValueError(
...<2 lines>...
)
ValueError: The repo id for music-assistant/hass-music-assistant is already set to 911125621`

@mmvanheusden
Copy link

mmvanheusden commented Jan 4, 2025

Workaround for Docker variant:

@Stepyon
Copy link

Stepyon commented Jan 4, 2025

Had the same issue and never had music-assistant installed. `This error originated from a custom integration.

The same issue on my side...

@AlanJ500
Copy link

AlanJ500 commented Jan 4, 2025

Looks like an easy fix to those with Music assistant. Uninstalling it from the UI, then restarting HA will fix the issue. But definitely a bug that needs attention.

@PaulKierstead
Copy link

Looks like an easy fix to those with Music assistant. Uninstalling it from the UI, then restarting HA will fix the issue. But definitely a bug that needs attention.

I never had music assistant at any point (In HACS or HA) and had this problem; had to do the manual fix up above.

@neclimdul
Copy link

neclimdul commented Jan 4, 2025

Workaround worked for me as well.

In case it helps someone, the specific steps I followed:

  • Pulled up the HAOS terminal
  • login
  • vi /mnt/data/supervisor/homeassistant/.storage/hacs.repositories
  • make manual changes as documented
  • reload HACS from the web UI

@ludeeus
Copy link
Member

ludeeus commented Jan 4, 2025

Im not able to replicate it myself.
Can anyone try this https://github.com/hacs/integration/pull/4315/files

@ludeeus ludeeus added this to the next milestone Jan 4, 2025
@scoma24
Copy link

scoma24 commented Jan 4, 2025

I went to the HACS integration under Settings, Devices & Services. There I searched for the Music Assistant service and then deactivated it. Then reloaded HACS. It works for me. Maybe it helps someone. Best regards

@articool3222
Copy link

The workaround helped me too for HACS.

@hugogithubs
Copy link
Author

Thank you @FriedCheese2006 for quick hack solution.

@prestonsmartuk
Copy link

Having same issue and tried all the solutions here. Hacs won't start up because of Music Assistant, despite me uninstalling it and rebooting. I honestly can't find where you guys are going to find ~/.storage/hacs.repositories

I have OS of HA on a Proxmox VM (transferred from Raspberry PI)
I'm using the Home Assistant File Editor add-on to search for this location so I can remove those files, but it's none existed!

@hugogithubs
Copy link
Author

hugogithubs commented Jan 4, 2025

Having same issue and tried all the solutions here. Hacs won't start up because of Music Assistant, despite me uninstalling it and rebooting. I honestly can't find where you guys are going to find ~/.storage/hacs.repositories

I have OS of HA on a Proxmox VM (transferred from Raspberry PI) I'm using the Home Assistant File Editor add-on to search for this location so I can remove those files, but it's none existed!

You have to edit the configuration of file editor add-on: in yaml mode remove in
section ignore_pattern: the line
- .storage

dirsfirst: true
enforce_basepath: true
git: true
ignore_pattern:
  - __pycache__
  - .cloud
  - deps
ssh_keys: []

then restart file editor.
After this you can navigate to .storage.

Best regards

@prestonsmartuk
Copy link

prestonsmartuk commented Jan 4, 2025

Having same issue and tried all the solutions here. Hacs won't start up because of Music Assistant, despite me uninstalling it and rebooting. I honestly can't find where you guys are going to find ~/.storage/hacs.repositories
I have OS of HA on a Proxmox VM (transferred from Raspberry PI) I'm using the Home Assistant File Editor add-on to search for this location so I can remove those files, but it's none existed!

You have to edit the configuration of file editor add-on: in yaml mode remove in section ignore_pattern: the line - .storage

dirsfirst: true
enforce_basepath: true
git: true
ignore_pattern:
  - __pycache__
  - .cloud
  - deps
ssh_keys: []

then restart file editor. After this you can navigate to .storage.

Best regards

Thank you, but I have nothing within ~/.storage/hacs.repositories so can't work out how @FriedCheese2006 solution

Screenshot 2025-01-04 at 20 29 46

@articool3222
Copy link

articool3222 commented Jan 4, 2025

Adding a note to @hugogithubs answer. If anyone uses Visual Studio Code plugin for HA (I do) you can do the same there too:

Go to settings in VSCode and in the search bar type files.exlude. Then remove the line saying: **/.storage. After that, VSCode will show you the .storage folder.

@PaulKierstead
Copy link

Im not able to replicate it myself. Can anyone try this https://github.com/hacs/integration/pull/4315/files

Did you get anyone to try this? I edited the file and don't have the backup (doh) to restore it to failing, or I'd try it out. It certainly looks like it would work.

@ludeeus
Copy link
Member

ludeeus commented Jan 4, 2025

Not that im aware of yet.

@prestonsmartuk
Copy link

Right HACs just decided to eventually load back up again. But now all my downloads have gone?

Screenshot 2025-01-04 at 20 39 56 Screenshot 2025-01-04 at 20 40 26

@DanielNyberg
Copy link

Im not able to replicate it myself. Can anyone try this https://github.com/hacs/integration/pull/4315/files

Did you get anyone to try this? I edited the file and don't have the backup (doh) to restore it to failing, or I'd try it out. It certainly looks like it would work.

I've just edited and restarted, seems to be running at the moment after a restart! Thanks.

@PaulKierstead
Copy link

Not that im aware of yet.

Is there a way to regenerate the hacs.repositories file (i.e. a python script in the custom components, etc) so I can be back at default (and failing)?

@PaulSD
Copy link

PaulSD commented Jan 4, 2025

Looks like this is probably what is causing the conflict:

    "476357279": {
      "repository_manifest": {},
      "full_name": "music-assistant/hass-music-assistant",
      "category": "integration",
      "description": "Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Ass>
      "domain": "mass",
      "downloads": 22395,
      "etag_repository": "W/\"fa18f773adf6893999239e1e22aede8202bd7384e1aa7066def8ec82cda28dbf\"",
      "last_updated": "2024-12-30T12:30:00Z",
      "stargazers_count": 1452,
      "topics": [
        "music-library",
        "music-player"
      ],
      "last_fetched": 1735791758.320863
    },
<...>
    "911125621": {
      "repository_manifest": {},
      "new": true,
      "full_name": "music-assistant/hass-music-assistant",
      "category": "integration",
      "description": "(deprecated) custom integration for Music Assistant",
      "domain": "mass",
      "etag_repository": "W/\"60e65512b31dccef12cdc4780c020e4b3e3cf74330748aa34dd456541dcdff96\"",
      "last_updated": "2025-01-02T09:59:27Z",
      "last_fetched": 1736000240.945879
    },

@PaulSD
Copy link

PaulSD commented Jan 4, 2025

Im not able to replicate it myself. Can anyone try this https://github.com/hacs/integration/pull/4315/files

@ludeeus This fixes it for me. Now it logs the following but starts up anyway:

2025-01-04 17:15:22.445 WARNING (MainThread) [custom_components.hacs] <HacsData async_restore_repository> duplicate IDs The repo id for music-assistant/hass-music-assistant is already set to 476357279

@GreyEarl
Copy link

GreyEarl commented Jan 4, 2025

I’m using the Docker version, and after updating to the latest version, I noticed HACS was failing. When I checked the logs, I realized the situation was serious, so I reverted to the previous container with the old version. Unfortunately, HACS continued to have issues. Considering this, I figured it would be better to resolve the problem while using the latest version. So, I switched back to the new container. This time, HACS appeared in the side menu and loaded without any issues. However, all my installed repositories were gone.

image

The custom elements/addons are still working though, so it is just the repo listing as 'installed' is missing.

Following the instructions and searching for 'music-assistant' in hacs.repositories after my actions returned 0 results.

@prestonsmartuk @UngluedChalice seems I have the same issue as you.

@TimvdEijnden
Copy link

TimvdEijnden commented Jan 4, 2025

Same issue, I'm running the docker container and HACS show a blank page after updating HASS to 2025.1.

Cannot find 911125621 in the hacs.repository file, so that won't work for me.

Re-installed HACS, still had 1.33 installed, now it works with version 2.0.1.

@Fraddles
Copy link

Fraddles commented Jan 4, 2025

This does not seem to be related to the HA update... I am still on 2024.12.5 and restarted my HA a short while ago and encountered this.

I had two entries for 'music-assistant/hass-music-assistant' in my 'hacs.repositories' file, as per PaulSD above. I simply edited out the one with the offending ID (911125621) saved and restarted HA... all is good in the world. No more errors logged at all.

[EDIT] I am running HA in Docker...

Cheers.

@skruje
Copy link

skruje commented Jan 4, 2025

This does not seem to be related to the HA update... I am still on 2024.12.5 and restarted my HA a short while ago and encountered this.

Agreed, it's not related to 2025.1, it broke on 2024.12.5 (on HAOS) for me. Updated the kia_uvo integration in HACS and after restarting HA, HACS was gone from the sidebar and was throwing errors related to music-assistant. I removed the offending block from hacs.repositories and restarted HA and everything came back.

@txwindsurfer
Copy link

txwindsurfer commented Jan 4, 2025

Im not able to replicate it myself. Can anyone try this https://github.com/hacs/integration/pull/4315/files

Just FYI. I made these changes and rebooted and the error has been corrected. HACS now loads. Music Assistant as well as other integrations and dashboard items also work but they were working even thought HACS could not load.

@oneseventhree
Copy link

Had to revert back to 2024.12.5 as 2025.1 wasn't working for me even after deleting the lines in .storage.

All seems to be working now so hopefully there is a proper fix soon so I can upgrade

@slongano
Copy link

slongano commented Jan 5, 2025

I also never install music assistant but the section for it was in hacs.repositories.
I applied the workaround and now it works.

@PaSXPascal
Copy link

Thank you FriedCheese2006 #4314 (comment) for the solution, now it's working again

Thank you articool3222 #4314 (comment) I will never find it without your guide for VSCode

@aidan-nashwood
Copy link

I had both the python error and the music-assistant error..had previously researched music assistant but not installed. By the time I found hac.repositories it had none listed.
All my HACS integrations were missing tho, so I downloaded one again. Now hacs.repositories is populated. Continued with the rest of my lost integrations and everything appears to be working.

@MVerBerkmoes
Copy link

Im not able to replicate it myself. Can anyone try this https://github.com/hacs/integration/pull/4315/files

Edited file as recommended. Rebooted HA.

HACS now starts and error in Integration Dashboard is gone, however, several of the HACS services are not recognized. Icon also missing on left-bar menu.

Music Assistant was never loaded on this installation.

@Tillsy
Copy link

Tillsy commented Jan 5, 2025

Holy moly what a nightmare this was, so much broke!!!

This is NOT related to 2025.1.0 - I haven't updated yet (I wait for .1 releases) I simply rebooted my system today while I was doing some physical work on my rack and boom, HACS and everything that depends on it was dead.

Had to hack out this music repository thingo and back in business.

Nasty that something could be hardcoded and cause such havoc :(

@j-and-am
Copy link

j-and-am commented Jan 5, 2025

I propose an easier fix if you have Get Hacs add-on, as I did not have anything in my repository and didn't have many more options. I simply started the add-on, let it run, stopped the add-on and reloaded HACS
Screenshot 2025-01-04 225653

Luckily for me that did the trick, not a coder enough to read beyond the log above, so don't want to speculate which part fixed system, but repositories show, appears no data loss

@agentadam-code
Copy link

Fixed mine by removing the music-assistant segment of hacs.repositories file. I also have never used it. Seems to be standard. I expect this should be removed in future update.

@Norbtek
Copy link

Norbtek commented Jan 5, 2025

Newbie here.. Like day 2 newbie. Have HAOS running on Dell Optiplex 3050. Jumped on my browser, pointed it at HA (static IP) and noticed "Updates" so I did that first. Then after the restart I noticed no HACS in sidebar, under Integrations HACS shows errors and cannot reload without errors and I have the Roku Emulator integration which also shows errors.

I have no knowledge yet on how to get into any configuration files to edit them. I do not have the music assistant integration installed.. I have rebooted the system and still no luck.

@Tillsy
Copy link

Tillsy commented Jan 5, 2025

Newbie here.. Like day 2 newbie. Have HAOS running on Dell Optiplex 3050. Jumped on my browser, pointed it at HA (static IP) and noticed "Updates" so I did that first. Then after the restart I noticed no HACS in sidebar, under Integrations HACS shows errors and cannot reload without errors and I have the Roku Emulator integration which also shows errors.

I have no knowledge yet on how to get into any configuration files to edit them. I do not have the music assistant integration installed.. I have rebooted the system and still no luck.

Try not to be disheartened, this is NOT normal at all - in fact in my time using HA this is the first breakdown.

So let me help you get sorted:

  1. Download a HA backup in case this goes wrong
  2. Pop into Settings > Add-ons
  3. Click Add-On Store in bottom right corer
  4. Install "Terminal & SSH"
  5. Once installed and running, click Terminal in your sidebar
  6. Type cd config/.storage and press ENTER/RETURN
  7. Type nano has.repositories and press ENTER/RETURN
  8. Press CTRL + W
  9. Type music-assistant and press ENTER/RETURN
  10. You want to arrow DOWN and ACCROSS to the last comma of the following text:
    "911125621": { "repository_manifest": {}, "new": true, "full_name": "music-assistant/hass-music-assistant", "category": "integration", "description": "(deprecated) custom integration for Music Assistant", "domain": "mass", "etag_repository": "W/\"60e65512b31dccef12cdc4780c020e4b3e3cf74330748aa34dd456541dcdff96\"", "last_updated": "2025-01-02T09:59:27Z", "last_fetched": 1736000240.945879 },
  11. Then hit BACKSPACE/DELETE and get rid of everything up to and including that first line with the numbers
  12. Make doubly sure you have cleanly removed this so that the structure of the line before and after looks good
  13. Press CTRL + X
  14. Press Y and ENTER/RETURN to confirm
  15. Restart Home Assistant and breathe a sigh of relief!

@caitotheonlypotato
Copy link

I was able to fix with the remedy below. Bit of a nuisance but easily fixed.

My error was first noticed after a restart with no changes made to any code. I'm still on 2024.12.5

As a workaround:

  1. Go to ~/.storage/hacs.repositories
  2. Find the section for music-assistant:
    image
  3. Remove it:
    image
  4. Reload HACS from the "Devices" page.

@Norbtek
Copy link

Norbtek commented Jan 5, 2025

@Tillsy

Thank you! It worked very well. One minor issue, a spelling error...

  1. Type nano has.repositories and press ENTER/RETURN

Should have been hacs.repositories

It took me a minute to figure out what was wrong, but quickly noticed it. Otherwise, great instructions.

@FlexxFR
Copy link

FlexxFR commented Jan 5, 2025

thanks for the workaround. Worked for me.

I had the same issue, has music assistant installed in the past but removed it a while ago.

@BMviper
Copy link

BMviper commented Jan 5, 2025

As a workaround:

1. Go to `~/.storage/hacs.repositories`

2. Find the section for music-assistant:
   ![image](https://private-user-images.githubusercontent.com/49689423/400157507-54c53d23-07ec-4205-b287-f113663b631f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzYwNjA0OTIsIm5iZiI6MTczNjA2MDE5MiwicGF0aCI6Ii80OTY4OTQyMy80MDAxNTc1MDctNTRjNTNkMjMtMDdlYy00MjA1LWIyODctZjExMzY2M2I2MzFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAxMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMTA1VDA2NTYzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRmOGI4Yjg4NmExZWMyYWE3ZmZiOGI2MTE5YTVmODFlZWVkZWQ1OGJhY2ZjYTM5OTJjODZlNGU5MmYxZWVmMGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DMVMOIiURhhTMgJaSYvC2SndU7vZQa8plzHp-rrHmNc)

3. Remove it:
   ![image](https://private-user-images.githubusercontent.com/49689423/400157476-9d824e57-531d-425e-b930-5e455a623cc5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzYwNjA0OTIsIm5iZiI6MTczNjA2MDE5MiwicGF0aCI6Ii80OTY4OTQyMy80MDAxNTc0NzYtOWQ4MjRlNTctNTMxZC00MjVlLWI5MzAtNWU0NTVhNjIzY2M1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAxMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMTA1VDA2NTYzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2MTRhOGQwOWQ2NzAxYzlmMTU0NDdkMGQ3MWEwNDRkMTNjMGE3ZmNhMGQ2YWMxNWRiMGUyZDk4ZGRmNDFkNTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Uv8ZE6FhwO9VbUVfQchhP7H_8qzviGr5l0yv-DnG-dQ)

4. Reload HACS from the "Devices" page.

Worked a treat, thank you!
It took me a while to figure out how to complete this without the need to take the HA device out of storage to connect to a monitor but eventually managed to do it the following way:

image

@rodgers86
Copy link

This fix seems to have worked.

Does anyone know how/why this happened, given that I hadn’t changed anything on my install and had woke up to every dashboard being broken?

@Esp32-zapper
Copy link

Got this even if I'm still on on 24.12 and never had music assistans installed.

Logger: custom_components.hacs
Källa: custom_components/hacs/base.py:406
integration: HACS (dokumentation, ärenden)
Inträffade först: 08:17:27 (4 händelser)
Senast loggade: 08:40:47

HACS is disabled - restore

to remove music assistant from hacs.repositories worked. Hacs is starting again.

@hiltctn
Copy link

hiltctn commented Jan 5, 2025

Also not loading for me after unrelated restart

2024.11.3

@roymorrison
Copy link

I complete power off and restart fixed my Hac's. But issue with moskitto broker not handeling Zigbee2MQTT.

@ludeeus
Copy link
Member

ludeeus commented Jan 5, 2025

For those of you that get here because of the title, update to HACS 2.0.2.

For those of you that get here because of music-assistant related errors do one of the following:

  • Re-install HACS with the instructions from the documentation https://hacs.xyz/docs/use/download/download/ (the get-hacs add-on is the best way if your installation has add-ons)
  • Restore the metadata:
    1. Stop Home Assistant
    2. Restore the <haconfig folder>/.storage/hacs.repositories file from a backup created before 2025-01-03 00:00 (midnight Jannuary 3 2025)
    3. Start Home Assistant.

@morticiaskeeper

This comment was marked as off-topic.

@ludeeus

This comment was marked as off-topic.

@hacs hacs locked and limited conversation to collaborators Jan 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue:backend For issues with the backend/integration
Projects
None yet
Development

Successfully merging a pull request may close this issue.