Closed scfigg closed 4 years ago
Make sure you have read the issue guidelines and that you filled out the entire template.
Can you use hastebin or similar to upload the contents of .storage/hacs.repositories
?
Hastebin said it was too big. Here is a pastebin link:
Can you replace the content of /config/custom_components/hacs/helpers/validate_repository.py
with this https://hastebin.com/erubudokam.py, then restart HA, then install it again and give me the new log?
HACS doesn't even work after replacing that:
You got a little too much in there ;) Try this instead https://hastebin.com/raw/erubudokam
WTF...
In both the response from GitHub, and in repository.data they both say 'archived': False,
Can you replace the content of /config/custom_components/hacs/helpers/install.py
with this https://hastebin.com/raw/akozapubaw, then restart HA, then install it again and give me the new log?
looks like the same thing: https://hastebin.com/ozohuqarot.sql
That does not make sense at all...
https://hastebin.com/raw/exonuhekiw as /config/custom_components/hacs/helpers/install.py
should work, but I currently have no clue why that happens for some, and not all...
Sorry for the delay getting back to you on this - had a long night. Used the latest install.py config you gave me, and looks like that worked correctly. Looks like it's showing installed now.
One other quick question - with the latest version of HACS and certain plugins, I'm starting to see this path:
/hacsfiles/mini-graph-card/mini-graph-card-bundle.js
Instead of the old path:
/community_plugin/mini-graph-card/mini-graph-card-bundle.js
Is that accurate?
yes, see release notes for 0.22.0
Issue is still present.
Not sure if it's related to this issue, but I can't upgrade anything except for HACS
it is.
it is.
Should I try to clean re-install HACS?
no
Since I'm not able to reproduce this, @scfigg or @cherokee93 can you try this https://hastebin.com/raw/arizelojay as /config/custom_components/hacs/helpers/install.py
and see if that still works?
Sure, do I need to restart hacs/reboot hassio/restart HA? I'm reloading data actually
Any changes to custom_components will need a restart of Home Assistant
Any changes to custom_components will need a restart of Home Assistant
Thanks, TIL
Since I'm not able to reproduce this, @scfigg or @cherokee93 can you try this https://hastebin.com/raw/arizelojay as
/config/custom_components/hacs/helpers/install.py
and see if that still works?
Perfect, it worked 👌
One other quick question - with the latest version of HACS and certain plugins, I'm starting to see this path:
/hacsfiles/mini-graph-card/mini-graph-card-bundle.js
Instead of the old path:
/community_plugin/mini-graph-card/mini-graph-card-bundle.js
Is that accurate?
I had the same question. ~Where is the release notes for the 0.22.0 release?~
Update: Found the link for 0.22.0 release notes https://github.com/hacs/integration/releases/tag/0.22.2
Had the same issue.
https://github.com/hacs/integration/issues/990#issuecomment-595325085 worked for me too.
I've had this same issue, with the error "Repository is archived" when trying to update a plugin or integration in HACS. It seems to work again if I restart Home Assistant. This makes it hard to tell if any changes made to HACS have fixed it (since that will need a restart) and also to get debug logs since, unless i leave HACS on debug logging permanently (which I try to avoid), changing the logging level for HACS also needs a restart.
changing the logging level for HACS also needs a restart.
Not if you use the UI instead of YAML for HACS config.
@ludeeus should we change back to the old install.py file or will it be overwritten by the update anyway?
This issue is closed, closed issues are ignored.
If you have issues similar to this, please open a seperate issue. https://github.com/custom-components/hacs/issues/new/choose
And remember to fill out the entire issue template :)
This issue is closed, closed issues are ignored.
If you have issues similar to this, please open a seperate issue. https://github.com/custom-components/hacs/issues/new/choose
And remember to fill out the entire issue template :)
I've had the mini-graph-card installed on HACS for a while, since the latest version of HA, I was having issues. I updated HACS to latest 0.22.2 and mini-graph-card to 0.9.3 - but no matter how many times I hit "install", it never shows up as installed in HACS at all now. I can see the folder/files downloading in my community folder, but still doesn't show as installed. I've tried manually removing the folder/files, reloading HACS, rebooting HA - nothing seems to fix it.
Debug Log:
Details
``` 2020-03-04 14:08:33 DEBUG (MainThread) [hacs] Running set_state for kalkih/mini-graph-card 2020-03-04 14:08:33 DEBUG (MainThread) [hacs.data] Saving data 2020-03-04 14:08:34 DEBUG (MainThread) [hacs] Running install for kalkih/mini-graph-card 2020-03-04 14:08:34 DEBUG (MainThread) [hacs.repository.plugin.kalkih.mini-graph-card] Getting repository information 2020-03-04 14:08:34 DEBUG (MainThread) [hacs.repository.plugin.kalkih.mini-graph-card] Running checks against v0.9.3 2020-03-04 14:08:35 DEBUG (MainThread) [hacs.repository.plugin.kalkih.mini-graph-card] 2020-03-04 14:08:35 DEBUG (MainThread) [hacs.repository.plugin.kalkih.mini-graph-card] Downloading mini-graph-card-bundle.js 2020-03-04 14:08:35 DEBUG (MainThread) [hacs.download.downloader] Downloading https://github.com/kalkih/mini-graph-card/releases/download/v0.9.3/mini-graph-card-bundle.js 2020-03-04 14:08:36 DEBUG (MainThread) [hacs.download.save] Saving /config/www/community/mini-graph-card/mini-graph-card-bundle.js 2020-03-04 14:08:36 INFO (MainThread) [hacs.repository.plugin.kalkih.mini-graph-card] download of mini-graph-card-bundle.js complete 2020-03-04 14:08:36 ERROR (MainThread) [hacs.repository.plugin.kalkih.mini-graph-card] Repository is archived. 2020-03-04 14:08:36 DEBUG (MainThread) [hacs.data] Saving data ```