supervisor icon indicating copy to clipboard operation
supervisor copied to clipboard

Cannot reboot hassio 1.3.0

Open robmarkcole opened this issue 8 years ago • 12 comments

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

robmarkcole avatar May 29 '18 07:05 robmarkcole

Do you can reboot over the UI?

pvizeli avatar May 29 '18 14:05 pvizeli

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.

sumitrajancse avatar May 29 '18 14:05 sumitrajancse

Can you advise a way how can I rollback to older version ?

sumitrajancse avatar May 29 '18 14:05 sumitrajancse

@pvizeli I can restart HA, but not reboot the PI from the UI (unless there's another menu?)

image

robmarkcole avatar May 29 '18 20:05 robmarkcole

Hi,

same problem here. I don't even have the buttons anymore in the menu to halt or restart the host

capture d ecran 2018-05-30 a 08 51 20

@robmarkcole : you can find the other menu in Hass.io/System (see screenshot above)

jimloki avatar May 30 '18 06:05 jimloki

Same symptoms here. Same kernel panic when attempting to restart from CLI, no host reboot buttons in the UI.

rogersmj avatar Jun 17 '18 19:06 rogersmj

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.

pvizeli avatar Jun 18 '18 10:06 pvizeli

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?

Pre10der avatar Jun 27 '18 01:06 Pre10der

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.

frenck avatar Jun 27 '18 10:06 frenck

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?

johanvanhelden avatar Jul 03 '18 21:07 johanvanhelden

You can install HassOS :)

pvizeli avatar Jul 10 '18 14:07 pvizeli

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

frenck avatar Sep 20 '18 20:09 frenck