Duplicate Repo ID
Closed this issue · 3 comments
Checklist
- 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 one the HACS add-ons.
- This is a bug and not a feature request.
- This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
Which Add-on are you reporting an issue for?
get
Describe the issue
Seeing the following in my logs on startup...
This error originated from a custom integration.
Logger: custom_components.hacs
Source: custom_components/hacs/utils/data.py:272
integration: HACS (documentation, issues)
First occurred: 14:11:02 (1 occurrence)
Last logged: 14:11:02
<HacsData async_restore_repository> duplicate IDs The repo id for rt400/school-vacation is already set to 153006394
Later on this triggers an error...
This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/hacs/base.py:290
integration: HACS (documentation, issues)
First occurred: 14:12:05 (1 occurrence)
Last logged: 14:12:05
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/config/custom_components/hacs/base.py", line 667, in startup_tasks
await self.async_get_all_category_repositories()
File "/config/custom_components/hacs/base.py", line 832, in async_get_all_category_repositories
await asyncio.gather(
...<4 lines>...
)
File "/config/custom_components/hacs/base.py", line 862, in async_get_category_repositories_experimental
self.repositories.set_repository_id(repository, repo_id)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hacs/base.py", line 290, in set_repository_id
raise ValueError(
...<2 lines>...
)
ValueError: The repo id for rt400/school-vacation is already set to 153006394
Add-on logs
as above
Supervisor logs
N/A
Diagnostics dump
N/A
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! 👍
Hello @ludeeus
I am a developer of this integration..
Unfortunately I had to recreate the repo because someone messed up my code.
Somehow he managed to get write access. The only solution was to delete the repo and recreate it so that he loses access to the repo and write rights there.
Is there a way to get the repo back to HACS?
cause its on blacklist
Broke HACS in my core 2024.3.3 installation.
Remove the repo from ./custom_components/hacs/utils/default.repositories to have it load again.