#I rebooted my HA and now HACS 2.0 is saying "Failed to setup. Check logs

2 messages · Page 1 of 1 (latest)

undone glacier
#

I'm looking in my logs and see this but not really sure what to do. I did reinstall a Govee integration prior to rebooting so it might be related.

Logger: custom_components.hacs
Source: custom_components/hacs/base.py:406
integration: HACS (documentation, issues)
First occurred: 7:13:20 PM (2 occurrences)
Last logged: 7:17:37 PM
HACS is disabled - restore

2025-01-11 19:13:20.807 CRITICAL (MainThread) [custom_components.hacs] <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(
ValueError: The repo id for music-assistant/hass-music-assistant is already set to 476357279
2025-01-11 19:13:20.810 ERROR (MainThread) [custom_components.hacs] HACS is disabled - restore

mint skiff
#

Try putting " music-assistant/hass-music-assistant is already set" into the search field. There are several threads about this already where solutions and workarounds have been offered.