Skip to content

Repository exists in store (but it doesn't) #34

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

Open
MK00000000000000000000 opened this issue Mar 8, 2025 · 28 comments
Open

Repository exists in store (but it doesn't) #34

MK00000000000000000000 opened this issue Mar 8, 2025 · 28 comments

Comments

@MK00000000000000000000
Copy link

Sorry, maybe I'm missing something... but trying to add this repo to HACS, it seems to think it's already exists. It doesnt and I can't find it in the store by name.

Image

Image

@MK00000000000000000000 MK00000000000000000000 changed the title Repository exists in store Repository exists in store (but it doesn't) Mar 8, 2025
@bastgau bastgau added the question Further information is requested label Mar 8, 2025
@bastgau
Copy link
Owner

bastgau commented Mar 8, 2025

I cannot explain that.

Have you tried restarting your Home Assistant instance and trying again ?

@MK00000000000000000000
Copy link
Author

I cannot explain that.

Have you tried restarting your Home Assistant instance and trying again ?

I did actually try that. Its odd, b/c I've never had this repo added. Was really hoping to use yours as the main one is out of commission. Thanks!

@heyepic
Copy link

heyepic commented Mar 8, 2025

Same issue on my end as well. Definitely wasn't there prior and it isn't there now. Can't add it to HACS.

Countless restarts, removal of others, addition of others, all worked - still can't add yours sadly. Never seen this bug before!

@bastgau
Copy link
Owner

bastgau commented Mar 8, 2025

@heyepic
Copy link

heyepic commented Mar 8, 2025

It tried, but ultimately ended here:

Image

Side note: Went the manual route via samba upload and works good! THANK YOU

@ruchoff
Copy link

ruchoff commented Mar 8, 2025

Getting the same errors using the custom repository in hacs as well as the above direct link. I enabled debug logging in hacs and see this line:

DEBUG (MainThread) [custom_components.hacs] <Integration bastgau/ha-pi-hole-v6> Unregister stale custom repository

@bastgau
Copy link
Owner

bastgau commented Mar 8, 2025

What HA version do yo use ?

@heyepic
Copy link

heyepic commented Mar 8, 2025

What HA version do yo use ?

2.0.5 on my end

@ruchoff
Copy link

ruchoff commented Mar 8, 2025

HA 2025.3.1
HACS 2.0.5

@ruchoff
Copy link

ruchoff commented Mar 8, 2025

On reboot, I do see these log items:
DEBUG (MainThread) [custom_components.hacs] <Integration bastgau/ha-pi-hole-v6> Running checks against v1.7.0
INFO (MainThread) [custom_components.hacs] <Integration bastgau/ha-pi-hole-v6> Registration completed

Then in my .storage/hacs.data I see:

        {
          "id": "938616079",
          "new": true,
          "full_name": "bastgau/ha-pi-hole-v6"
        },

This repo object is the only item with the new key.

@bastgau
Copy link
Owner

bastgau commented Mar 8, 2025

Don't know the reasons. I'm not an expert of HACS.

And if you try to Add a device directly : Settings > Devices & Services > Add Integration > Search "Pi-hole V6 Integration" ?

@ruchoff
Copy link

ruchoff commented Mar 8, 2025

Does not appear in the integration list. I also do not see it downloaded in the custom_components folder.

@bastgau
Copy link
Owner

bastgau commented Mar 8, 2025

Sorry I cannot help you. Maybe someone knows the solution.

Another solution will be to download manually the files into the custom_components directory.

@bastgau
Copy link
Owner

bastgau commented Mar 10, 2025

The issue is still relevant ?

@heyepic
Copy link

heyepic commented Mar 10, 2025

For me, yes. Still issues.

I installed via local and will use this for the time being. It's working great - thank you!

@MK00000000000000000000
Copy link
Author

The issue is still relevant ?

I was able to install by copying the files into custom components folder, and rebooting, then installing through normal add devices.

I think, this is just a hunch, that the this custom hacs integration and the original pi-hole components share some elements and is the reason it thinks it’s already in the store.

@bastgau
Copy link
Owner

bastgau commented Mar 10, 2025

I think, this is just a hunch, that the this custom hacs integration and the original pi-hole components share some elements and is the reason it thinks it’s already in the store.

Nope. No component is shared between this integration et the core integration.

@github-actions github-actions bot added stale No recent activity and removed stale No recent activity labels Mar 30, 2025
Repository owner deleted a comment from github-actions bot Mar 30, 2025
@git-clone
Copy link

I have been having the same problem with adding through HACS, I had to install manually. Once installed the integration works great. (I manually installed 1.7.0b0, about a month ago)

Unfortunately I've not had the time since to dig into this but there are holidays coming up so maybe then. Just wanted to bump this as it was marked as stale and wondered if anyone else who had the same issue already found a fix?

@misterjmw
Copy link

This issue is occurring on my instance as well, cannot add by a custom repository link in HACS nor the provided link to home-asssistant.io.

@bastgau
Copy link
Owner

bastgau commented Apr 6, 2025

I haven't found a solution to this problem yet.
Unfortunately, I'm unable to reproduce the issue on my own.

@bastgau bastgau added bug Something isn't working priority - medium Medium priority and removed question Further information is requested labels Apr 6, 2025
@Ed1123
Copy link

Ed1123 commented May 4, 2025

What HA version are you in? I faced a similar problem and updating to the latest solved it.

@jl-678
Copy link

jl-678 commented May 4, 2025

Not for me. I am on the latest, and the problem continues.

@misterjmw
Copy link

Same as @jl-678, can't get any newer.

Core 2025.4.4
Supervisor 2025.04.1
Operating System 15.2
Frontend 20250411.0

Image

@apeeters
Copy link

apeeters commented May 8, 2025

hacs/integration#4246 and hacs/integration#4518 seem to be related issues in HACS.

@bastgau bastgau removed bug Something isn't working priority - medium Medium priority labels May 8, 2025
@jl-678
Copy link

jl-678 commented May 8, 2025

These tickets were closed. One appeared to be a user error problem and the other was less clear. Regardless, I am not sure if these relate.

@bastgau
Copy link
Owner

bastgau commented May 8, 2025

I don't know.

On my side, I don't know how I can improve that.

@misterjmw
Copy link

Same; Problem AFAIK is that we're in a position where the user doesn't have a work around.

As a test; I forked the repository and tried adding it to HACS and received the same error. I think there's something in a configuration file or something HACS is reading that makes us unable to add this as a custom repo.

@bastgau
Copy link
Owner

bastgau commented May 8, 2025

Hey @misterjmw

Yes it's a possibility. if you find the reason, please share with us the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants