Skip to content

HACS disabled reinstall gives not working version 2.0.1 #4384

Description

@JeeWee65

System Health details

My HACS integration is disabled. I deleted and reinstalled it but it keeps reporting the same error and reporting version 2.0.1. Why does it keep installing this version while the last reported one is 2.0.3? How can I reinstall a working version?

Checklist

  • I'm running the newest version of HACS https://github.com/hacs/integration/releases/latest
  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • I have read https://hacs.xyz/docs/help/issues/
  • This issue is related to the backend (integration part) of HACS.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This is a bug and not a feature request.
  • This issue is not a duplicate issue of currently open or issues pending release.

Describe the issue

See above

Reproduction steps

  1. delete HACS integration
  2. restart Homeassistant
  3. install HACS integration (Integration + add integration)
    ...

Debug logs

Deze fout is ontstaan door een aangepaste integratie.

Logger: custom_components.hacs
Bron: custom_components/hacs/utils/data.py:222
integratie: HACS (documentatie, problemen)
Eerst voorgekomen: 11:06:04 (1 gebeurtenissen)
Laatst gelogd: 11:06:04

<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

Deze fout is ontstaan door een aangepaste integratie.

Logger: custom_components.hacs
Bron: custom_components/hacs/base.py:406
integratie: HACS (documentatie, problemen)
Eerst voorgekomen: 11:06:04 (1 gebeurtenissen)
Laatst gelogd: 11:06:04

HACS is disabled - restore

Diagnostics dump

not available

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue:backendFor issues with the backend/integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions