My way to install HASSIO on QNAP NAS

I currently run supervised hassio instance in Ubuntu and I am very happy with the way all things work together. Yesterday I got myself new QNAP NAS which supports both VMs and containers and I am looking for a way to make a supervised installation on the qnap as well. However, the only solution I came up with(and I haven’t tested it) is to import a OVA VM image which has been in BETA state for a long time. Any suggestions?

Did you test the OVA VM Image? could you give some feedback?

thank you!

Hello, i have tested it on Qnap 453Be with 16GB RAM. I think the script installer.sh has a failor. in Line 17 the install breaks in Ubuntu with:

bash: line 17: syntax error near unexpected token ‘then’

i’d checked the script in Line 17 there is no " ; " semikolon after the then. How can i add this ; in the installer.sh.

please help me. i will test it for others Qnap-Users

thanks a lot

Willi

Hi all,
It seems everybody here is trying to install Hassio within a Linux VM container, but why not directly within Docker which is already available in Qnap?
See instructions here:


Or am i missing something?

Cheers,
Max

I gave up the hassos VMs because I couldn’t import any of the images in the virtualisation station.

I tried some guide which suggested to convert the image using virtualbox on a pc and then add it to virtual station on the NAS. The VM started booting but got stuck at “booting from HDD” and also other users who tried this method also reported to have the same issue.

Finally, I decided to install Ubuntu Server 20.04 as a VM and run the supervised-installer script(which is deprecated and gives some wired error and I had to use its older version). It works perfectly fine with the only drawback that the VM + the Virtualisation Station use 2GB of RAM(1GB for VM and 1GB for the Virtualisation Station)

As @max480 asked, from what I understand the supervised installer just installs a bunch on docker containers one of which is the hassio-supervisor and sets up their network.

I am also thinking: Isn’t it possible to just manually set-up these containers and their networking in the container station on the NAS? It will be way more efficient and will save precious RAM and probably the only way for guys with 4GB RAM to install hassio on QNAP.

Hi,
Has anyone managed to import hassos in Qnap Virtualization Station?

Guidline from the link below does not seem to be working:
https://community.home-assistant.io/t/how-to-install-hass-io-into-qnap-virtualisation-station/122607

I have converted VDI to OVF using Virtualbox 5.2 and imported to Qnap Virtualization Station however during VM boot I receive “Booting from Hard Disk…” error.

Any suggestions welcome.

[UPDATE]
I have managed to get it working with downloaded virtual appliance .vdi file.
https://www.home-assistant.io/hassio/installation/

In VirtualBox (I used version 5.2.42):

  1. Add Disk Image File (File > Virtual Media Manager > Add), select downloaded .vdi

  2. New Machine:

  • Name: hassio
  • Type: Other (Important)
  • Version: Other/Unkown 64-bit (Important)
  • Memory: 1024MB
  • Hard disk: select added hassio vdi
  1. No need to start

  2. In created machine settings:

  • System:
    • Uncheck Floppy, Optical
    • Select Chipset: ICH9 (Important)
    • Extended Feature: check APIC, EFI, Hardware Clock (Important)
  1. Others not quite important

  2. Export Machine to .ova (Machine > Export to OCI):

  • Select Format: Open Virtualisation Format 1.0
  • Enter file name and path
  • Continue
  1. done

In QNAP Virtualisation Station:

  1. Import VM
  • Import From: PC
  • Select created .ova file
  1. Enter Info by your desired

  2. Advanced Settings:

  • CPU: i7
  • Netwrok: Intel Gigabit Ethernat
  • Hard Disk:
    • Cache Mode: Writeback
    • Controller: IDE
  1. Import

  2. Done

7 Likes

Hi!

I Have a problem:
Cannot get pass:

dpkg: error processing package vim-runtime (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
 vim-runtime

Hi, first of All, I’m not a coder, but start my smarthome project and after half day search I able to use Hassio to my freshly created Qnap VM.
Thanx to @BjornH, I was start to figure out the HA installation via SSH.
After two unsuccesfully try the HA unreachable from browser throug VM Ip ofcourse.
The VM installation also need some practice how to setup correctly (especially users and passw for privileges) inside ubuntu.
Trough this situation please consider that the ubuntu VM working flawless, so I started to search different forums where they have solution for ubuntu HA install.
So on the video and description clearly show that procedures, thanks to I can fix it team on Github.
Here we go the good way : some “coders” have own install script from repo, so via ssh can be start and all privileges also included.
Please let me know if succesfully done that!!
@miroslavpetrov
Video: https://www.youtube.com/watch?v=pfE_6OBCwRs
Script link: https://github.com/icanfixitweb/Hassio-Virtual-Machine/tree/master/hassio_install_script

Hi Rad6,
Forget Virtual box, use virtualization station, setup ubuntu server VM and intall Hassio in the VM.
The VM eat lots of RAM, so I setup 4 gigs.
Please check my post and video.
Good luck!

Sorry I can show only 1 pictures, because I’m newbe and forum rules.


@Johan_Lindblom, @kallemyran

Hi Sebastien, could you please advice if the url provided is still valid. I’m getting a
bash: line 1: 404: command not found
Thanks in advance for your assistance

Update: Never mind… found a link that worked
https://github.com/icanfixitweb/Hassio-Virtual-Machine/tree/master/hassio_install_script

Thank you very much @Rad6, it worked like a charm!

try this

curl -sL https://raw.githubusercontent.com/home-assistant/supervised-installer/1f30d124ef7d0ee84b45d1772cb5c1e4a94c67b8/installer.sh | bash -s

Seems my installation is stucked somewhere.
I put ubuntu 16.04 in container station on my Qnap 251+ , managed to install docker 17.03, i pulled the image for homeassistant, but when trying to install it remains no-prompt. tried 3 times and let 1.5 hours. Nothing.

Anyone has an idea what to do ?!

2020-06-15 22_57_46-Container Station|690x421

Adrain, have you tried installing the image using QNAP’s Virtualization Station 3 app? I have it working with Ubuntu 18.04 and I’m very happy with its performance.

My Qnap is not so powerful, guess it will struggle. tried to install ubuntu but seems unsuccesful.

Hi Guys,

First of all thanks for all the good solutions how to get HASSIO running on a Qnap.
Tried many times, finaly got it working thanks to this tread.

I now want to install HACS, and need to locate the HA folders, for this I installed Samba, but I can’t figure out how or where to acces these shared folders?

Can anyone point me in the right direction?

Samba is running and according to the logs it should be ok.

Thanks in advance!
Maik


Samba name server HOMEASSISTANT is now a local master browser for workgroup WORKGROUP on subnet 172.17.0.1



Samba name server HOMEASSISTANT is now a local master browser for workgroup WORKGROUP on subnet 172.30.32.1



Samba name server HOMEASSISTANT is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.117


Solved it, didn’t add the right host :sweat_smile:
continuing my journey.

Hi, I get to this same point which is shown in the last picture. I am not able to access Home Assistant UI from address http:\\<QNAP_IP>:8123.

Any ideas?

I set it up using the ova file provided here: https://www.home-assistant.io/hassio/installation/
Does anyone have any issues with this one? It seems to work perfectly so far in qnap virtualization station and so much simpler than the other options.

1 Like