My way to install HASSIO on QNAP NAS

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

When you reboot the UBUNTU server will Home Assistant start up on its own?

Thank you so much for sharing this BjornH
You’re a star! :star2:
I can finally kiss my Raspberry Pi, Goodbye! :wave:

Just one quick silly question guys. I’ve done a snapshot and it is saved under
\myIPaddress\backup
Now to move over my current hassio snapshot from my raspi I have copied that snapshot and pasted in the new backup folder but I can’t see it in my frontend to load up
Does anyone know why it isn’t showing?

EDIT: Fixed it! I changed the name of the old snapshot to the same as the new and deleted the new and it’s loaded.

Hi I get this working. I noticed from my router that homeassistant had gotten a new IP and when I used that IP in port :8123. I could log in to a HA.

Thanks @Rad6!

I am using it and i had no issues so far. Even upgrading works completely normally

Hi, I got it with just one command.

Connect to QNAP via SSH, then run this:

docker run -d --name “hassio-supervisor” --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /var/run/hassio-hc.sock:/var/run/hassio-hc.sock -v “ /share/Container/Home Assistant/HASS/data ”:/data -v “ /share/Container/Home Assistant/HASS/log ”:/var/log -e SUPERVISOR_SHARE=" /share/Container/Home Assistant/HASS " -e SUPERVISOR_NAME=“hassio-supervisor” -e HOMEASSISTANT_REPOSITORY=homeassistant/qemux86-64-homeassistant homeassistant/amd64-hassio-supervisor

it will install Home Assistant with supervisor and any other addon.
it will create 6 dockers.

Notice:
you have to change the bold path, with the one that you want to use on your local NAS.

Now, I have to understand how to set autostart to the HA docker.
I’ve to use the API:

curl -u api_container --insecure -sq -XPUT -b cookies.txt https://XXXXX/containerstation/api/v1/container/lxc/homeassistant/autostart/on

2 Likes