core icon indicating copy to clipboard operation
core copied to clipboard

Service to restart Home Assistant doesn't work

Open 7h30n3 opened this issue 9 years ago • 3 comments

Home Assistant release (hass --version): 0.49

Python release (python3 --version): 3.4.2

Component/platform: N/A

Description of problem: When using "Service" as part of the "Developer Tools" to restart Home Assistant: Domain: homeassistant Service: restart

it doesn't restart.

sudo systemctl status [email protected] -l provides:

● [email protected] - Home Assistant
   Loaded: loaded (/etc/systemd/system/[email protected]; enabled)
   Active: failed (Result: signal) since Mi 2017-07-19 23:11:36 CEST; 43s ago
  Process: 9211 ExecStart=/home/pi/.local/bin/hass (code=killed, signal=SEGV)
 Main PID: 9211 (code=killed, signal=SEGV)


Jul 19 23:11:34 smartmirror hass[9211]: 2017-07-19 23:11:34 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1975496144-263>
Jul 19 23:11:34 smartmirror hass[9211]: 2017-07-19 23:11:34 INFO (MainThread) [homeassistant.core] Bus:Handling <Event homeassistant_stop[L]>
Jul 19 23:11:34 smartmirror hass[9211]: 2017-07-19 23:11:34 INFO (MainThread) [hbmqtt.broker] Broker closed
Jul 19 23:11:34 smartmirror hass[9211]: 2017-07-19 23:11:34 INFO (MainThread) [hbmqtt.broker] Listener 'default': 1 connections acquired
Jul 19 23:11:35 smartmirror hass[9211]: 2017-07-19 23:11:35 INFO (MainThread) [homeassistant.core] Bus:Handling <Event homeassistant_close[L]>
Jul 19 23:11:36 smartmirror systemd[1]: [email protected]: main process exited, code=killed, status=11/SEGV
Jul 19 23:11:36 smartmirror systemd[1]: Unit [email protected] entered failed state.

Expected: It's expected that Home Assistant restarts.

Additional info: I don't know since when it doesn't work anymore, but it definitly used to work. To solve or to avoid the problem I use:

sudo systemctl restart [email protected]

7h30n3 avatar Jul 19 '17 21:07 7h30n3

Same issue here. Running 0.49

TheCellMC avatar Jul 21 '17 10:07 TheCellMC

I have been dealing with this same issue all night. 0.49 here as well.

MarioHA avatar Jul 21 '17 10:07 MarioHA

Same issue here. Running 0.49 as well.

dnaphreak avatar Jul 22 '17 11:07 dnaphreak