Cannot reboot hassio 1.3.0
I'm getting the following error:
core-ssh:~# hassio host reboot
ERROR
panic: interface conversion: interface is nil, not string
goroutine 1 [running]:
panic(0x2c7050, 0x107c8200)
/home/travis/.gimme/versions/go1.7.6.linux.amd64/src/runtime/panic.go:500 +0x33c
github.com/home-assistant/hassio-cli/command/helpers.DisplayOutput(0x107fe000, 0x24, 0x200, 0x0)
/home/travis/gopath/src/github.com/home-assistant/hassio-cli/command/helpers/common.go:118 +0x3c8
github.com/home-assistant/hassio-cli/command/helpers.ExecCommand(0x2f45fc, 0x4, 0x7e95ee5b, 0x6, 0x0, 0x0, 0x76500, 0x0, 0x0, 0x0, ...)
/home/travis/gopath/src/github.com/home-assistant/hassio-cli/command/helpers/common.go:155 +0x308
github.com/home-assistant/hassio-cli/command.CmdHost(0x10786420)
/home/travis/gopath/src/github.com/home-assistant/hassio-cli/command/host.go:42 +0x4f0
github.com/urfave/cli.HandleAction(0x2af768, 0x324b18, 0x10786420, 0x0, 0x0)
/home/travis/gopath/src/github.com/urfave/cli/app.go:503 +0xf0
github.com/urfave/cli.Command.Run(0x2f45fc, 0x4, 0x0, 0x0, 0x40bd20, 0x1, 0x1, 0x2fabdf, 0x18, 0x0, ...)
/home/travis/gopath/src/github.com/urfave/cli/command.go:165 +0x6b8
github.com/urfave/cli.(*App).Run(0x107b2380, 0x1070a160, 0x3, 0x4, 0x0, 0x0)
/home/travis/gopath/src/github.com/urfave/cli/app.go:259 +0x8b0
main.main()
/home/travis/gopath/src/github.com/home-assistant/hassio-cli/main.go:22 +
In earlier hassio I had no problem with this command
Do you can reboot over the UI?
I also have the same problem... UI does not even open.. When restart it manually the rpi, it worked for 5-10 mins, then again hangs... This problem is presented after the new update.
Can you advise a way how can I rollback to older version ?
@pvizeli I can restart HA, but not reboot the PI from the UI (unless there's another menu?)

Hi,
same problem here. I don't even have the buttons anymore in the menu to halt or restart the host
@robmarkcole : you can find the other menu in Hass.io/System (see screenshot above)
Same symptoms here. Same kernel panic when attempting to restart from CLI, no host reboot buttons in the UI.
The Problem is, that you host don't support dbus and we use now dbus to control the host. The CLI don't respect this and that is a bug. I fix that in next verson.
If your host support dbus, you can rerun the installer and all things work like before.
Same issue here. This is on a RaspberryPi 3 running HASSIO 0.72.1. I’d be keen to understand how to reboot a HASSIO host as the ‘reboot now’ does not appear to actually reboot the host (in my experience)...just the supervisor?
On a generic Linux / Manual installation, this is fixable by running these commands:
https://gist.github.com/frenck/32b4f74919ca6b95b30c66f85976ec58
In the case of @Pre10der (assuming you are running the download image / ResinOS), I'm not sure.
I am having the same issue with my Hassio 1.3.1 installation on my RPI3. It used to work fine, but since a few weeks/months it stopped working.
It feels terrible having the unplug the Pi if I want to reboot or shut it down. Since I've already corrupted an SD card once this way.
Is there anything I can provide to help debugging this issue?
You can install HassOS :)
This issue can be resolved.
-
Generic Linux installations: Run the generic installer again, this will update profiles. Also be sure to check if you have all requirements and dependencies installed on the host system.
-
ResinOS installations: Upgrade to HassOS