I installed HACS using the command wget -q -O - https://install.hacs.xyz | bash -
on Home assistant OS, It installed fine, I’ve rebooted home assistant twice, cleared browser cache three times and refreshed my page alot. It’s been about 15 minutes since the install.
Edit (I’ve also tried a different browser)
davedan
(Dave Dan)
August 4, 2021, 8:35am
2
Hey devfine,
Which installation type your using? check here for the different types: https://hacs.xyz/docs/installation/installation
davedan
(Dave Dan)
August 4, 2021, 8:39am
4
In the custom_components folder, can you see the hacs folder?
davedan
(Dave Dan)
August 4, 2021, 8:41am
6
ok so the script is not downloading the component …
there’s one tip in the installation page that says:
Having issues accessing https://install.hacs.xyz
? try with https://raw.githubusercontent.com/hacs/install/main/install
instead
can you try with that other URL?
Also would be interesting if you could paste the retur of the wget command
It returned
INFO: Trying to find the correct directory...
INFO: Found Home Assistant configuration directory at "/root"
INFO: Creating custom_components directory...
INFO: Changing to the custom_components directory...
INFO: Downloading HACS
--2021-08-04 09:18:59 -- https://github.com/hacs/integration/releases/latest/download/hacs.zip
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.30:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/hacs/integration/releases/download/1.13.2/hacs.zip [following]
--2021-08-04 09:19:00-- https://github.com/hacs/integration/releases/download/1.13.2/hacs.zip
Reusing existing connection github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://github-releases.githubusercontent.com/172733314/7471fd00-d20c-11eb-9a97-9c1a733aa2f5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210804%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210
804T081900Z&X-Amz-Expires=300&X-Amz-Signature=cbb9df766664182cc6c1d86ff6b557b95ad14bde93a9301b74b18b232021cc2&X-Amz-SignedHeaders=host&actor_id=0&key_id=9&repo_id=172733314&response-content-disposition=attachment%3B%20filename%3Dhac
s.zip&response-content-type=application%2Foctet-stream [following]
--2021-08-04 09:19:00-- https://github-releases.githubusercontent.com/172733314/7471fd00-d20c-11eb-9a97-9c1a733aa2f5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210804%2Fus-east-1%2Fs3%2Faws4_request&X
-Amz-Date=20210804T081900Z&X-Amz-Expires=300&X-Amz-Signature=cbb9df766664182cc6c1d86ff6b557b95ad14bde93a9301b74b18b232021cc2&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=172733314&response-content-disposition=attachment%3B%2
Ofilename%3Dhacs.zip&response-content-type=application%2Foctet-stream
Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.108.154, 185.199.110.154, 185.199.109.154, ...
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.108.154:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 78903 (77K) [application/octet-stream]
Saving to: 'hacs.zip
hacs.zip
100%[===========
===============>]
77.05K --.-KB/S
in 0.01s
2021-08-04 09:19:00 (5.49 MB/s) - "hacs.zip' saved [78903/78903]
INFO: Creating HACS directory...
INFO: Unpacking HACS...
INFO: Removing HACS zip file...
INFO: Installation complete.
INFO: Remember to restart Home Assistant before you configure it
But there’s no “custom_components” folder in root anywhere, the only one I can see is /root/config/custom_components which is empty
I’ll try the other script but it seemed to install fine
davedan
(Dave Dan)
August 4, 2021, 8:49am
8
Ok so looks like the download and installation works. that’s good …
Let’s forget for a moment the custom_components folder ( i might have it from older versions ).
If you restart and go to integrations and try to add HACS as per https://hacs.xyz/docs/configuration/basic what do you get?
This is just after a restart
davedan
(Dave Dan)
August 4, 2021, 8:57am
10
Ok, I have 1 more ideas … not the best … I must confess … but … we can give it a try.
in the console ( inside HA ) as per the installation steps, download the hacs zip file from here: https://github.com/hacs/integration/releases/latest/download/hacs.zip .
unpack it in the /custom_components/hacs folder and restart again.
once restarted try the integration again.
I’m really new to this, What command should I use to download that file? git clone didn’t work
Syntox
August 4, 2021, 9:05am
12
Wanted to suggest that too. Just the path should be /config/custom_components/hacs
.
@devfine you can also download it with your pc, extract it and upload the folder with the file editor.
1 Like
davedan
(Dave Dan)
August 4, 2021, 9:07am
13
yup, no problem
to download:
wget "https://github.com/hacs/integration/releases/latest/download/hacs.zip"
to unzip:
unzip “hacs.zip” -d “[path to your installation]/custom_components/hacs”
that option from Syntox is also a good one if you’re not familiar with linux commands - thanks Synox!
1 Like
Syntox
August 4, 2021, 9:09am
14
The structure then should look like this:
1 Like
OK it’s in custom_components now, I’ll restart and clear my cache again and let you know
1 Like
Hi guys
I’m having the exact same issue, but the above steps haven’t resolved.
The unzip was successful, the file structure is in the correct place (As far as I can tell), I’ve cleared the browser cache (And tried accessing from a different device) but HACS still doesn’t appear in the add-ons.