Just did an install of Hass.io on Ubuntu 16.04. I followed the procedure in the docs and everything went as expected, no issues… I’m tying to access it using the IP of the host machine [ 192.168.200.60:8123 ] - No Luck!! Any suggestions.
Container “seems” to be fine – sudo docker ps -a shows:
If you installed on ubuntu, why do you need SSH add-on? Ubuntu gives SSH out of the box.
If it help, this is what docker ps looks like on my x86 ubuntu 16.04 VM running hassio:
james@hassio:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3744414440eb 27e642c6/amd64-addon-nodered "npm start -- --us..." 23 hours ago Up 23 hours 0.0.0.0:1880->1880/tcp addon_27e642c6_nodered
0b8492f1e96e homeassistant/amd64-hassio-supervisor "/usr/bin/entry.sh..." 35 hours ago Up 35 hours hassio_supervisor
f22452d54e6e f3248fb7/amd64-addon-dasher "/usr/bin/entry.sh..." 36 hours ago Up 36 hours addon_f3248fb7_dasher
d031a37085cc portainer/portainer "/portainer" 2 days ago Up 2 days 0.0.0.0:9000->9000/tcp epic_newton
1c1caa1cf26f homeassistant/qemux86-64-homeassistant "/usr/bin/entry.sh..." 7 days ago Up 5 days homeassistant
2ebce7c01a06 homeassistant/amd64-addon-samba "/usr/bin/entry.sh..." 8 days ago Up 8 days addon_core_samba
Apart from portainer, all the containers are either part of hass.io, or are hass.io add-ons deployed via the HA UI. (Some addons are from user repos)
I only setup ssh and smb as a test to see if things are working correctly. I really don’t need the ssh or smb addons - just figure if something isn’t working then I most likely have other problems. [ However, smb is very convenient and I already hve ssh keys are setup on all of my VMs] As a side note I’m using ESXi 6.5 hypervisor, if it makes any difference.
Dumb question: How did you post your ps, I’m doing screenshots and your technique is much better!!!
I’ll post my entire installation workflow when I get back from the store.
I think if it installed without that then it should work.
Pretty sure that is only required if you do an absolutely barebones ubuntu minimal install.
Without it you would not have been able to add the docker-ce repo.
Still the same problem with smb:
[ same message a the in the 1st post above ]
My workflow:
- Installed minimal Ubuntu
- Installed ssh keys ubuntu <-> mac pro
- Docker install: ( setup without a root user - must use sudo )
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- apt-cache policy docker-ce
- sudo apt-get install -y docker-ce
— checked install using Hello-World image : No Issues —
- sudo apt-get install apt-transport-https
- sudo apt-get install software-properties-common python-software-properties
- sudo add-apt-repository ppa:git-core/ppa
- sudo apt-get update
- Did Not install git
- apt -y install bash socat jq curl
- curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash -
Note: did not install with "sudo" because a failure due to permissions associated with /usr/share
had to install as "root" i.e. "sudo su root" command, which worked
- Accessed Hassio on browser and tried install of smb and ssh keys, which did not function
This was on ubuntu minimal but I also installed “basic server” and SSH options when I deployed the OS.
Hence I didnt need to install some rudimentary tools.
I used the same method as before and tried without sudo, with sudo, and still had to use “sudo su root” to allow creation of the /usr/share/hassio directory.
I switched the user back to a normal “sudoer” and entered 192.168.40.161:8123. Hassio started without issue.
I loaded ssh and smb and both worked. ssh worked with password or ssh key and smb didn’t
HERE’S the PUNCH LINE - I had not changed the interface from “eth0” to “ens160” !!! After that it worked as expected
And some other really Great News is MQTT works as expected!!!
[ Disregard - I found it } One other quick question - I see you added Node-Red to your docker container… Do you use it in HA. If so, would you mind letting me know were I can get additional info. I’ve been using it a while now…