#HACS is disabled - restore

6 messages · Page 1 of 1 (latest)

meager radish
#

After upgrade to 2025.1 my HACS is disabled with the following error. I'm running HAOS. Where does HACS store the repositories config? I'm looking at the home assistant config dir with VS Code Server but can't find anything. Thanks!

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
dusky moss
#

You can simply grep for 476357279 to find where it's referenced.

grep -sR "476357279" /homeassistant

Not that I'd recommend you poke around in its files.

meager radish
#

oh thanks, didn't see that issue

#

and now I realise that vs code server doesn't show some hidden directories. .storage is one of them