Custom Component: HACS

Urgh, thanks so much. Cant believe I’ve been so blind about it. Thanks for your help!

So I’m an idiot and didnt update to 0.16.3 before updating to 0.17+ so now the frontend of HACS is nuked. Looks like this now:

I tried to remove HACS altogether, but kept getting a errno 39: directory not empty when trying to remove the custom components folder per the removal instructions.

Is there a way to fix this without a full removal and if not, how do I bypass this error code?

3 Likes

+1 on this. I have two systems both with an error similar to the above. Have tried to remove and re-install HACS several times but it didn’t fix it.

Looking forward to a solution for this. :expressionless:

Maybe posting an your issues on Github would get a fix quicker, instead of ludeeus having to sift through posts

That one is easy, the .translations folder is missing

Would you mind adding a little more detail? I just need to create another folder?

Not quite, it needs to be the one from the zip folder of the release page

That did it. Thanks for the response!

I am having a problem adding hacs to my hass.io installation… i unzipped the hacs.zip into ./config/custom_components/hacs & I have my github api all set.

when, I try to ‘add the integration’ hacs does not show up…

could you please advise?
Thanks!

Did you restart Home Assistant?

Yes I restarted again… and i was able to add it. thanks!

I cannot install HACS. The following errors are in the log:

2019-12-03 21:52:39 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.hacs. Make sure all dependencies are installed
  File "/home/homeassistant/.homeassistant/custom_components/hacs/__init__.py", line 13, in <module>
2019-12-03 21:52:40 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.hacs. Make sure all dependencies are installed
  File "/home/homeassistant/.homeassistant/custom_components/hacs/__init__.py", line 13, in <module>
2019-12-03 21:52:41 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.hacs. Make sure all dependencies are installed
  File "/home/homeassistant/.homeassistant/custom_components/hacs/__init__.py", line 13, in <module>
2019-12-03 21:52:41 ERROR (MainThread) [homeassistant.setup] Setup failed for hacs: Integration not found.

I installed all deps and dont´t know what´s missing now.

Please give us a recursive listing of your custom_components/hacs directory

ls -lR custom_components/hacs

Then copy and paste your results, no images of listings please.

custom_components/hacs:
insgesamt 44
-rw-r--r-- 1 root root  2544 Nov 20 19:26 backup.py
-rw-r--r-- 1 root root  1636 Nov 20 19:26 configuration.py
-rw-r--r-- 1 root root   430 Nov 20 19:26 const.py
-rw-r--r-- 1 root root  5707 Nov 20 19:26 data.py
-rw-r--r-- 1 root root  1270 Nov 20 19:26 exceptions.py
-rw-r--r-- 1 root root 13982 Dez  3 21:51 __init__.py
-rw-r--r-- 1 root root    95 Nov 20 19:26 update.py

You are missing a lot of files and subdirectories. Have a look at the hacs.zip file you downloaded. ALL the contents, including the hidden .translations directory, need to be copied into custom_components/hacs

Just out of curiosity, do you know why the directory is hidden?

no.

10 char minimum

I have the question mark always in red also if i don’t have any pending restart. What is the meaning of this?

The hover hint tells you it is for Help.

Hmm maybe because i had many new repositories? Do i need to clear all?