Installing HACS on Qnap Homeassistant

Hi, I am still very new to homeassistant. I have recently installed HA on my qnap and got it up and running however I am running into two problems at the moment.

Firstly I cant seem to get HACS to install. I go into Container Station and I can see that I have a docker version of HA running. I click on the terminal button and enter

wget -O - https://get.hacs.xyz | bash -

This returns the following message

    if [ "${currentMonth}" -lt "${targetMonth}" ]; then                                                                                                                                                                           
    rm -R "$haPath/custom_components/hacs"                                                                                                                                                                                        
        error "Version ${currentVersion} is not new enough, needs at least ${targetVersion}"                                                                                                                                      
    fi                                                                                                                                                                                                                            
                                                                                                                                                                                                                                  
    if [ "${currentMonth}" == "${targetMonth}" ]; then                                                                                                                                                                            
        targetPatch=$(echo "${targetVersion}" | cut -d "." -f 3)                                                                                                                                                                  
        currentPatch=$(echo "${currentVersion}" | cut -d "." -f 3)                                                                                                                                                                
                                                                                                                                                                                                                                  
        if [ "${currentPatch}" -lt "${targetPatch}" ]; then                                                                                                                                                                       
            rm -R "$haPath/custom_components/hacs"                                                                                                                                                                                
            error "Version ${currentVersion} is not new enough, needs at least ${targetVersion}"                                                                                                                                  
        fi                                                                                                                                                                                                                        
    fi                                                                                                                                                                                                                            
fi                                                                                                                                                                                                                                
                                                                                                                                                                                                                                  
echo                                                                                                                                                                                                                              
info "Removing HACS zip file..."                                                                                                                                                                                                  
rm "$haPath/custom_components/hacs.zip"                                                                                                                                                                                           
info "Installation complete."                                                                                                                                                                                                     
echo                                                                                                                                                                                                                              
info "Remember to restart Home Assistant before you configure it"                                                                                                                                                                 

else
echo
error “Could not find the directory for Home Assistant” false
echo “Manually change the directory to the root of your Home Assistant configuration”
echo “With the user that is running Home Assistant”
echo “and run the script again”
exit 1
fi

  •                100% |********************************|  3988  0:00:00 ETA                                                                                                                                                       
    

written to stdout
wget: bad address ‘|’

Its a bit beyond me what is going wrong during the install of this.

When installing HA I made sure that I was using the latest stable release (2023.9.3)

My second issue is that I have plugged a skyconnect with the extension cable into a usb port in the Qnap. There does seem to be additional steps I need to do to get this to work but I am struggling here.

Any help for either issue would be much appreicated, thank you.

Hi, I have the same problem. Did you find a solution?

Hey, did you find a solution? I have the same problem just now…

Hi guys,
I have the same issue in Qnap Docker Container “Home Assistant”.
I have the solution!!
The command is correct but you make this command in \config.
You make:
-Open Container Station Qnap;
-Click Container Home-Assistant;
-Click Execute
-Click the square whit arrow whit command /bin/sh (this open an a web page with SSH command)
-Now you past the command " wget -O - https://get.hacs.xyz | bash -"
-Restart Container and search HACS in your integration

Bye Bye Guys

1 Like