Custom Component: HACS

Yes. It’s an old recycled PC, running lubuntu 18.04.3 LTS

Sorry, slight noob here. I have not been updating my HACS for a long time. Everything is fine so I just left it. Currently running 0.16.1.

I understand that in order to update, I need to go to 16.3 first, then update from there, and from reading through this, probably to 0.18 then 0.18.1 and so on.

What if I were to just download the hacs.zip of the latest release? Remove/rename the current folder (hacsold) and then put the new zip contents in the hacs folder.
Would that cause any issues?

If I need to reinstall any components again, thats fine, I only have 7 items (none are important.)

Thanks for any assistance.

I’m not sure if this would be considered an issue to be posted on github, but so far HACS has been disabled for 40 minutes as of this post. I don’t know if this is considered “awhile,” as I’ve only had it installed for a week.

Per the log:

2020-01-30 13:16:56 WARNING (MainThread) [homeassistant.components.frontend] Overwriting integration hacs

Do I need to reinstall it or something?

Edited to add the important stuff: docker: Home Assistant 103.5 / Hassio Sup. 195/ Running on Pi 4, Raspian Buster

Yes, same (see my last post). Now it’s going on hour, still disabled. For the record, I use Firefox, but the blocking plugins are all disabled in HA.

HI just recently started getting the below errors on HACS 20.8 HA 0.104.3
error is for every integration I have

GitHub returned 403 for https://api.github.com/repos/hacs/default
January 30, 2020, 11:58 PM custom_components/hacs/helpers/get_defaults.py (ERROR) - message first occurred at January 30, 2020, 11:58 PM and shows up 4 times
GitHub returned 403 for https://api.github.com/orgs/home-assistant-community-themes/repos?page=1
January 30, 2020, 11:58 PM custom_components/hacs/helpers/get_defaults.py (ERROR)
GitHub returned 403 for https://api.github.com/orgs/custom-cards/repos?page=1
January 30, 2020, 11:58 PM custom_components/hacs/helpers/get_defaults.py (ERROR)
GitHub returned 403 for https://api.github.com/orgs/custom-components/repos?page=1
January 30, 2020, 11:58 PM custom_components/hacs/helpers/get_defaults.py (ERROR)
GitHub returned 403 for https://api.github.com/repos/naofireblade/clear-theme-dark
January 30, 2020, 11:58 PM custom_components/hacs/hacsbase/task_factory.py (ERROR)
GitHub returned 403 for https://api.github.com/repos/home-assistant-community-themes/amoled
January 30, 2020, 11:58 PM custom_components/hacs/hacsbase/task_factory.py (ERROR)
GitHub returned 403 for https://api.github.com/repos/LbDab/darkmix_theme
January 30, 2020, 11:58 PM custom_components/hacs/hacsbase/task_factory.py (ERROR)

This is not an error with HACS, you get refused by Github. Github sends you a 403 errorcode.

I’d assume this will get resolved from Github.

Thanks for the quick response

Is HACS “Stable” now? By that I mean i have updated it before and custom components have disappeared from HACS, I don’t want this to happen, can I expect it to not going forward?

I have found it stable.

It works well enough, I have never lost anything.
But “stable” I wouldn’t call it that

1 Like

Hello everyone,

I have an issue to remove HACS from HA. I followed the instructions to install to test and then to remove HACS available here : https://hacs.xyz/docs/installation/remove

However, I still have the Invalid config: The following integrations and platforms could not be set up: hacs

There is no thing in custom_components, all hacs.* deleted in .storage, nothing in configuration.yaml.
Where should I look for?

Thank you so much!

EDIT: OK, my bad, need to remove any reference in the registry files as well, not just the directories.

I found that the container hassio_dns is the responsable

Edit dns config file and add your gatway ip as first DNS lookup node
nano /usr/share/hassio/dns/corefile

Then restart hassio dns container
docker restart hassio_dns

Voilá!

This works only until you restart the whole system, but for to install things seems right.

There is a command to permanently change the DNS settings with a hassio command…

Yes, I just found.

You must add your gateway ip in dns.json

nano /usr/share/hassio/dns.json

Now It works even after reboots!

Thankyou

Use ssh addon:

hassio ha dns --help

Will tell you the actual command to add the DNS to the system without hacking and potentially breaking files…

Hi Torpi, ca you give me more details abot what you mean by : need to remove any reference in the registry files as well, not just the directories.

I tried to remove the .storage and the hacs folder but still the same issue:
ERROR (MainThread) [homeassistant.setup] Error during setup of component hacs
I am stuck now and making more break instead of repairing my system :frowning:

@yaazzz basically what I did was finding reference to “hacs” in each file of .storage You can open files manually or search for it with grep. Then I open the files with vi and removed all sections with references to hacs. use /hacs in vi to find it quickly.

grep hacs *

I check it and confirm I have no more hacs files and hacs reference in any file in .storage but still have the issue.

Appart from that I only pip uninstall, deleted files and folders of custom components and reboot my container (I run it in docker).

When removing do exactly as described here https://hacs.xyz/docs/installation/remove