Unbuntu is no longer support by the Home Assistant project. | |
The installation commands previous listed here, are not up 2 date, not recommended, not supported and, therefore, removed. |
This comment has been minimized.
This comment has been minimized.
If you're running ubuntu 18.04 you need to add the universe repo to get jq installed. add-apt-repository universe && sudo apt-get update source: Tried this on a fresh ubuntu server install and it gave me an error about not being able to find jq, and this website recomended doing that repo add and line 3 worked after https://bonani.tech/how-to-install-hass.io-on-ubuntu-server-18.04/ |
This comment has been minimized.
This comment has been minimized.
Hi what is the next step after install ? |
This comment has been minimized.
This comment has been minimized.
@aihysp Well for installing Hass.io on a Linux system, that is actually it. From that point on, you can just use the documentation/getting started tutorials as listed on the Home Assistant website. |
This comment has been minimized.
This comment has been minimized.
it all went well up until the last command (curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install" | bash -s) I constantly get error 404 bash command not found - what am i doing wrong? |
This comment has been minimized.
This comment has been minimized.
Hi, I've installed Hass.io on my Ubuntu server 18.04 using this tutorial but now I'm not able to enable any addon that I install on my Hass.io ussing the Hass.io addons menu. |
This comment has been minimized.
This comment has been minimized.
Thanks for the work here! I have the docker running on Ubuntu but cannot figure out how to connect to it with the browser. I am missing something! |
This comment has been minimized.
This comment has been minimized.
@rlust: Did you try hassio.local:8123, works for me |
This comment has been minimized.
This comment has been minimized.
Hi there, Thanks a lot |
This comment has been minimized.
This comment has been minimized.
Anyone able to point me to how to install HASSIO..latest(hassos) image onto Synology. ( I have the Synology version of docker running on the Synology Nas). I think I just need the docker make file that the latest version of HASSIO uses. |
This comment has been minimized.
This comment has been minimized.
Hi there, thank you for the script, but it doesn't work for me.
but after checking the running instances:
So I check the "installation" directory:
then I've checked the log:
So it seems to be something wrong in the installation script? Thank's a lot, PS: |
This comment has been minimized.
This comment has been minimized.
@Shamane2000 Try running "wget https://raw.githubusercontent.com/home-assistant/hassio->build/master/install/hassio_install" to first download the install script. Then use ./hassio_install. It seems like you have a permissions issue. Apparently the script isn't run completely as sudo when you use curl. Sidenote: When you first download the script, the permissions may be set to only read(check by running "ls -lah"). In that case run "sudo chmod 755 hassio_install" |
This comment has been minimized.
This comment has been minimized.
@KasperNS Thank you for your quick reply, but it doesn't makes a difference.
There is the same output as before. |
This comment has been minimized.
This comment has been minimized.
So, I found a solution/workaround. Iv'e added to the systemd file "/usr/sbin/hassio-supervisor" the docker "--privileged" flag, and now it works.
|
This comment has been minimized.
This comment has been minimized.
HI. I have a problem running the last command connecting to the docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? I'm running these commands via the ubuntu windows app on windows 10. I have a full featured home assistant already setup this way. I don't know if this is anything to do with my problem but systemd is not PID 1. |
This comment has been minimized.
This comment has been minimized.
Great stuff, thanks. |
This comment has been minimized.
This comment has been minimized.
I followed the directions at the top of this thread and they worked flawlessly. |
This comment has been minimized.
This comment has been minimized.
Restart=always |
This comment has been minimized.
This comment has been minimized.
thank you. this works perfect! <3 |
This comment has been minimized.
This comment has been minimized.
How would you go about updating this? |
This comment has been minimized.
This comment has been minimized.
Go to Hass-io dashboard - add-ons and update from there, you should have a card with an update and release notes. |
This comment has been minimized.
This comment has been minimized.
How do you increase the amount of disk that the docker image uses? |
This comment has been minimized.
This comment has been minimized.
After running your script: docker container is starting but quitting after a few seconds later and then restarting again and then quitting again in an endless loop. Docker logs show the following error: docker.errors.APIError: 403 Client Error: Forbidden (“cannot create network 944af717b2ab356d08c3d52cd179c39a71a47f8bfceab5b67bd29151cd2d171c (hassio): conflicts with network b88ab28cdd7484f95d26fadf685338fd1e585ef2653ab1d42eaa95f7fefdc873 (br-b88ab28cdd74): networks have overlapping IPv4”) What can I do with that? |
This comment has been minimized.
This comment has been minimized.
Had a problem with my Ubuntu server and had to reinstall everything. Using the same method you have listed here I was able to get hassio installed, however, this time around that last part is giving me an error regardless if I type it in or copy and paste, the error starts with install supervisor Docker container then invalid reference format I've rebooted the server just incase but the problem persists... |
This comment has been minimized.
This comment has been minimized.
How do I uninstall all of this and start from scratch on my ubuntu 18.04? |
This comment has been minimized.
This comment has been minimized.
Install Portainer on docker and then use that to delete the Hassio and start from Scratch |
This comment has been minimized.
This comment has been minimized.
Is anyone else running out of disk space on the image? |
This comment has been minimized.
This comment has been minimized.
Amazing Frenck works out of the box! |
This comment has been minimized.
This comment has been minimized.
Hello @frenck , |
This comment has been minimized.
This comment has been minimized.
Hello @frenck, i can't get it installed on my ubunut server 19.04. this is the output of the script. Executing docker install script, commit: 2f4ae48
|
This comment has been minimized.
This comment has been minimized.
Hi @frenck, The link at the end needs changing to the following - https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@ageurtse for 19.04 you would need to install docker from test channel at the moment and you would use: And things have been moved so the last line would be: The urls @jossie67 pointed out have been fixed now |
This comment has been minimized.
This comment has been minimized.
Thank you @stringy92, that missing .sh was causing all of the 404 errors. I now have it installed on my Ubuntu Server 18.10 laptop. |
This comment has been minimized.
This comment has been minimized.
Gist updated with new locations. |
This comment has been minimized.
This comment has been minimized.
Using this method - how can we run validate config from the VM ? most of the documentation points to running hass -c /config but I can't seem to find the hass executable once the installation completes using above method. |
This comment has been minimized.
This comment has been minimized.
@Shamane2000 I am having the same issue you were. Can you expand on how you solved it with the information above? I am not good with Linux. |
This comment has been minimized.
This comment has been minimized.
This is what I get...running latest Raspbian on RP3B+. I got HA running, just can't install Hassio. root@raspberrypi:~# wget https://raw.githubusercontent.com/home-assistant/hassio->build/master/install/hassio_install.sh root@raspberrypi:~# curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s |
This comment has been minimized.
This comment has been minimized.
On Container Station of my QNAP I have loaded a container Ubuntu 18.04, with all prerequisites for running this script (I think).
Any help ? Thanks |
This comment has been minimized.
This comment has been minimized.
just for information at my debian the installation was ok, but i needed modify the hassio-supervisor file and added the docker argument |
This comment has been minimized.
This comment has been minimized.
I already setup the hassio environment on Ubuntu Server 18.04, using the instructions from OP. Worked perfect. Now my question is, can I use the same process to setup a second hassio environment on the same server? I assume I'd need to adjust the script, but I'm not sure. Or would I be better off creating another Ubuntu server as a VM on the machine and setting everything up there? My end goal is to have a hassio dev/test instance for playing with. I do have an used RPi if needed, but I was hoping to create the dev instance as close to prod as possible. I'm open to alternative ideas. Thanks! |
This comment has been minimized.
This comment has been minimized.
Thanks heaps for this. Worked perfectly except for my snapshot restore :(
Any help appreciated |
This comment has been minimized.
This comment has been minimized.
Failed to connect to bus: No such file or directory |
This comment has been minimized.
This comment has been minimized.
please help! |
This comment has been minimized.
This comment has been minimized.
did you install dbus ? |
This comment has been minimized.
This comment has been minimized.
yes, installed |
This comment has been minimized.
This comment has been minimized.
Hi all and thank op for the scripts |
This comment has been minimized.
This comment has been minimized.
Yes, totally fine. That's something that will only work on HassOS (the Ota updates), not generic Linux. |
This comment has been minimized.
This comment has been minimized.
Thank you |
This comment has been minimized.
This comment has been minimized.
@clabnet Did you manage to get Hass.io running on QNAP in Container Station? |
This comment has been minimized.
This comment has been minimized.
THanks so much! |
This comment has been minimized.
This comment has been minimized.
script works amazing! Is there anyway to run hassio manually using docker run so that I can specify an ip address instead of it using the host adapter? I need hassio on a different VLAN. |
This comment has been minimized.
This comment has been minimized.
I posted this same basic question over on HA: https://community.home-assistant.io/t/cant-update-hass-io-installed-on-linux-docker/139674 After following the above everything work fine for a few days, but then I am all of a sudden unable to do updates or install add-ons, I get an error like this:
Format reinstall fixes it for a few days and then the problem comes right back. Rebooted, upgraded, updated and rebooted again (all via Linux) didn't help. Any ideas? |
This comment has been minimized.
This comment has been minimized.
Looks like I was just running out of disk space - HA got installed on my boot partition. Not sure how to move it, and I'm not very far in. Just going to do a single partition for now. |
This comment has been minimized.
This comment has been minimized.
At end of this script on QNAP LXC Ubuntu 18.04, the hassio_supervisor container restart continuously. Any suggestion please ? Thank |
This comment has been minimized.
This comment has been minimized.
Interestingly installed great for a windows guy like me, but, what URL must I use? I dont see any port mentioned. Http or Https? Does not respond to default 80 and 443 ports. |
This comment has been minimized.
This comment has been minimized.
Never mind, had to google it but found it. Http and port 8123. |
This comment has been minimized.
This comment has been minimized.
Not sure if it's been mentioned but there is no "Universe" repository for Debian, only Ubuntu. https://unix.stackexchange.com/questions/113590/how-to-add-debian-universe-in-etc-apt-sources-list |
This comment has been minimized.
This comment has been minimized.
Thank you. This works perfectly on 18.04 desktop. Just awesome. |
This comment has been minimized.
This comment has been minimized.
@nor500 I am having this same issue. Did you get it resolved? |
This comment has been minimized.
This comment has been minimized.
Thank you for the script. I tried to install hass.io on a fresh ubuntu 18.04 (proxmox lxc).
I get the following error:
Can someone help me? I red something about dongrading docker, but that didnt worked either. |
This comment has been minimized.
This comment has been minimized.
You're running docker as root (sudo) or you added your user to the docker group, correct? It looks like its just permissions issues, but I could be wrong too. |
This comment has been minimized.
This comment has been minimized.
Yes iam running docker as root. I thought the error was about the domainname as described in docker/for-linux#743 (comment) I downgraded docker to
|
This comment has been minimized.
This comment has been minimized.
I've encountered the following error during final step of installation:
Fixed with:
Cheers. |
This comment has been minimized.
This comment has been minimized.
I'm getting the same error and have tried your fix, and i get "-- invalid option" EDIT: nvm. i dug through the script and figured it out. i needed to enter this at the end | bash -s -- -m raspberrypi4 that did the trick |
This comment has been minimized.
This comment has been minimized.
Hello to everyone, when I try to run the last command it responds:
I'm trying to run it in Container station on QNAP, with a Ubuntu system v 16.04 LXC |
This comment has been minimized.
This comment has been minimized.
That means it is done @sciaio |
This comment has been minimized.
This comment has been minimized.
Can you provide some instructions/installation method on this? |
This comment has been minimized.
This comment has been minimized.
Hi @mercenaruss Unfortunately I abandoned the installation via docker or LXC because of many complications. I am currently using it on a linux VM in Virtualization Station on Ubuntu 18.04, and with a core and 1 GB of RAM it is more than enough. |
This comment has been minimized.
This comment has been minimized.
any news on this failure ?
|
This comment has been minimized.
This comment has been minimized.
I'm trying this script on Debian 10 and got to the end then when I run this command:- I get this:- Has the github location changed as hassio is now called Home Assistant? Thanks |
This comment has been minimized.
This comment has been minimized.
Just looking around and I think it might have changed to this link now?? curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s I'll try it and let you know how I get on. |
This comment has been minimized.
This comment has been minimized.
Yep, I can confirm the link has changed and is working. Please use this one in the future:- curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s |
This comment has been minimized.
This comment has been minimized.
I am using OMV(openmediavault) where already docker and portainer is installed on. After doing the following commands: i cannot reach my OMV and portainer installation. |
This comment has been minimized.
This comment has been minimized.
Worked several days ago. Today it doesn't work. |
This comment has been minimized.
This comment has been minimized.
Is there any update on this issue?
Is there any update on this issue? I am having the same problem. Thanks |
This comment has been minimized.
This comment has been minimized.
Get this one locally and go on with it: https://gist.githubusercontent.com/frenck/28ead2ef4ed2b3d3d3aa9b4084e66484/raw/9acf6d699ba0a24788c254d9ef9ff16548e630f3/hassio-install.sh |
This comment has been minimized.
This comment has been minimized.
I encountered the same error (bash: line 1: 404:: command not found) while running the command |
This comment has been minimized.
This comment has been minimized.
This was for Home Assistant and not HASSIO. |
This comment has been minimized.
This comment has been minimized.
Actually, as I saw, theres no relation between this script and debian/ubuntu based distros. It's work for any non-obscure distro. |
This comment has been minimized.
This comment has been minimized.
When trying to run this curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s Sorry for the last row, its in swedish. |
This comment has been minimized.
This comment has been minimized.
I have the very same issue when installing hassio on Ubuntu 18.0.4 running on a Oracle VM machine..... Is there any fix for this or is just not longer supported? |
This comment has been minimized.
This comment has been minimized.
You can use this script instead: https://raw.githubusercontent.com/uherting/supervised-installer/master/installer.sh I forked the repository yesterday and changed the installer.sh file only. It is literally the same without the annoying error and the question. |
This comment has been minimized.
This comment has been minimized.
This looks like it was great - but unfortunately as of 26th May 2020 - it would appear that the support from this has been removed. To save hunting for it - for anyone wondering why and what to do about it, see this forum post: https://www.home-assistant.io/blog/2020/05/26/installation-methods-and-community-guides-wiki/ with some apparent back-history for bedtime reading: https://www.home-assistant.io/blog/2020/05/09/deprecating-home-assistant-supervised-on-generic-linux/ |
This comment has been minimized.
This comment has been minimized.
I need some help... while i started hassio supervisor by using command journalctl -f -u hassio-supervisor i've got following errors:
|
This comment has been minimized.
This comment has been minimized.
bash: line 1: 404:: command not found |
This comment has been minimized.
This comment has been minimized.
Any updates to this? trying to install hassio on ubuntu 18.04 |
This comment has been minimized.
This comment has been minimized.
I'm having the same issue. |
This comment has been minimized.
This comment has been minimized.
Hi guys. Line 8 can be replaced with:
|
This comment has been minimized.
This comment has been minimized.
This should not be used anymore. I'm therefore removing the content of this gist. |
This comment has been minimized.
This comment has been minimized.
Why has this been broken? I removed my containers and re-ran the script only to be surprised by 404 errors. I'm running the newer installer.sh and it's ALMOST working ....except that homeassistant frontend won't install it seems. Very sad if this isn't supported anymore.. This was working great on my Fedora 31 system (docker) with a few tweaks to the script (minimal detection of apparmor and dbus). |
This comment has been minimized.
This comment has been minimized.
@gr33k lol this has been long gone.... Here are the officially supported ways to install HomeAssistant: |
This comment has been minimized.
This comment has been minimized.
Thank you @snipes040 - I am trying the Supervised version here and the same results - it installs after commenting out dbus and apparmor (Fedora 31..got it working like this in hassio_installer.sh) as expected. However, I still don't have homeassistant installed/running...am I missing something? I don't see any errors and the output shows: [info] Home Assistant supervised is now installed I'm not sure why it's not attempting to install it. Supervisor is setup and working properly as far as I can tell...I can remove the containers and it appears to rebuild/start them. This is great! but no HA ? puzzled here :( Note: I am using -d to tell it where my previous installation was located at - not sure if that's relevant perhaps: Script as I am using it is almost like original besides the two commented out lines: |
This comment has been minimized.
This comment has been minimized.
Sadly nobody has an answer to a script that was working fine before the creator decided to pull the original code. Could you please put back the old code the way it was - post that it's NOT supported, and make old and new users happy? I hate it when code is pulled folks. There's no need to kill old code that works great for people :( |
This comment has been minimized.
This comment has been minimized.
@gr33k I guess you meant to say: "I don't now how to look into revision history in GitHub" Or "Where can I find information about installing a Home Assistant Supervised system?" So revisions can be found here: However, as I stated in the current contents, that is outdated, doesn't work and isn't supported either. The installer Home Assistant Supervised installer can be found here: https://github.com/home-assistant/supervised-installer
I didn't. Your own knowledge of GitHub is the thing lacking here. And honestly, if you don't know how this stuff here on GitHub works already, I would strongly recommend NOT to use the Supervised based installation method. It is expected someone to have an independent and sufficiently of level technical knowledge (which considering your answer is not the case). |
This comment has been minimized.
This comment has been minimized.
@frenck the script itself gets 404 because the links no longer are valid. It would have been nice if they didn't 404 - but if you're saying they wouldn't work anymore anyway....ok fair enough. I'd love to have a currently supported script that works I suppose - I did use that link you and snipes040 provided. Everything installs except for Home Assistant itself. Any idea why it wouldn't install the container? I've removed the old one and nothing is listening on 8123 of course. How can I debug this? No errors are displayed and I'm not sure what part of the script is particularly failing...I thought supervisor was supposed to create it? Thank you |
This comment has been minimized.
This comment has been minimized.
@gr33k I linked the source repository containing the installer script: https://github.com/home-assistant/supervised-installer. Which is actively maintained. If you need support on setting up an instance, I highly recommend joining the Home Assistant Discord server: https://www.home-assistant.io/join-chat. Please, be sure to have a supported setup, one that matches the requirements listed in the |
This comment has been minimized.
Can you provide this to builder repository?