Installing HACS via Docker on Asustor NAS drive (AS6204T-CE13)

Hi there,

I am very new to Home Assistant and have installed it on my NAS Drive (the drive lists Home Assistant as one of the available apps)

I have managed to get a SSH terminal session running and I tried to run the scrript from GitHub to download/install HACS.

I get the follwoing response and wonder of anyone here can tell if I am doing something wrong or need to do it a different way>>Message following attempt to download HACS

admin@AS6204T-CE13:/volume1/Docker/HomeAssistant $ wget -O - https://get.hacs.xy
z | bash -
-sh: bash: not found
--2023-07-28 15:21:32--  https://get.hacs.xyz/
Resolving get.hacs.xyz (get.hacs.xyz)... 104.21.39.42, 172.67.143.44, 2606:4700:3031::ac43:8f2c, ...
Connecting to get.hacs.xyz (get.hacs.xyz)|104.21.39.42|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raw.githubusercontent.com/hacs/get/main/get [following]
--2023-07-28 15:21:32--  https://raw.githubusercontent.com/hacs/get/main/get
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3988 (3.9K) [text/plain]
Saving to: 'STDOUT'

-                     0%[                    ]       0  --.-KB/s    in 0s


Cannot write to '-' (Success).
admin@AS6204T-CE13:/volume1/Docker/HomeAssistant $

Any help greatly appreciated

Select the second option for Container:

You’ll get instructions for running the required commands inside the container itself.

Hi there,

Thanks for your reply.

On my NAS drive, when I downloaded HomeAssistant I received a message stating that I needed to download and install Docker first, which I did, I also received a notification to download and install Docker - CE - Registry Pack, which I did.

I do not see and specific container option anywhere

I’m talking about the HACS docs, that I linked to.

Go there, click Container, then click Container.

Did you ever manage to get this to work? I’m having the exact same problem/error and I’m pulling my hair out.

I’m following the Container instructions but getting that error anytime I try to run until install script and can’t figure out what the issue is. I validated I could create a file in that folder through SSH so it shouldn’t be a permissions issue but there’s something it is missing and I can’t find an explanation on what it is anywhere.

Not sure if anyone has got this to work yet but I ran in to the same issue yesterday when I installed home assistant on my ASUSTOR NAS. Here is how I got HACS to work. (im sure theres other ways to do this but this was the easiest way I could figure out)

  1. Open app central and Install the following apps in this order:
    Docker Engine
    Portainer CE
    Home Assistant

  2. Login to home assistant and set up your account.

  3. Click on your user name at the bottom of the home assistant window and under User settings make sure Advanced mode is enabled

  4. Login to portainer CE

  5. Click on Containers

  6. Find Home-Assistant in the list and click on the Quick Actions icon Exec Console (you will have to hover your cursor over the icons to see the names) then on the next page click Connect This should open a command line console in Portainer that you can use to run scripts in the container that home assistant lives in.

  7. Open another browser and go to GitHub - hacs/get: HACS download script and grab the HACS download script and copy paste it in to the command line console and hit enter. This should run the script and set up home assistant to now have HACS available.

  8. Go back to home assistant and you should be able to see HACS now when you search for it in the add integrations section.

Hope this helps.

1 Like

Thanks dear, works perfectly in Asustor AS5402T

Me funcionó. Con los pasos que has explicado, es facil de hacer, con un poco de paciencia, registrandose en GitHub…
Gracias!