Call restart service not working for me in 0.38

Select Domain > homeassistant

Select Serve > restart

Press CALL SERVICE button

Bottom message says failed to call service homeassistant/restart

Is it just my set up or is anybody else seeing this?

Re Dave

I’m seeing the same issue - the message is popping up but the restart doesn’t actually happen.

Release Notes:

  • Now when you restart Home Assistant using the homeassistant.restart service, your configuration is checked. If it appears to be invalid the restart will fail.

This is more than a little confusing.

If it checks the config and there is an error in it that prevents a proper restart then a message should come up to tell me that.

When I restart from the command line HASS starts fine - so the config cannot be that wrong.

The error message I see in the dev-info is actually:
17-02-11 18:19:39 ERROR (MainThread) [homeassistant.loader] Unable to find component Configuration

Maybe that has to do with the issue I’m seeing when I try to verify my config with the command ‘hass --script check_config’:

-bash: hass: command not found

Ay insights?

1 Like

Running HA .38.0 on synology 916+ via docker. I’m getting the following log error, when attempting to use the restart service however it does say restart service was called:

ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "uvloop/future.pyx", line 372, in uvloop.loop.BaseTask._fast_step (uvloop/loop.c:112669) File "/usr/src/app/homeassistant/core.py", line 1018, in _event_to_service_call yield from service_handler.func(service_call) File "/usr/src/app/homeassistant/components/__init__.py", line 159, in async_handle_core_service yield from conf_util.async_check_ha_config_file(hass) File "/usr/src/app/homeassistant/config.py", line 472, in async_check_ha_config_file stdout=asyncio.subprocess.PIPE) File "/usr/local/lib/python3.5/asyncio/subprocess.py", line 212, in create_subprocess_exec stderr=stderr, **kwds) File "uvloop/loop.pyx", line 2164, in __subprocess_run (uvloop/loop.c:39415) File "uvloop/handles/process.pyx", line 549, in uvloop.loop.UVProcessTransport.new (uvloop/loop.c:93764) File "uvloop/handles/process.pyx", line 87, in uvloop.loop.UVProcess._init (uvloop/loop.c:85151) PermissionError: [Errno 13] Permission denied

Hi

FYI mine is with a virgin config file, just using the new hassbian toybox image.

I have not changed anything in my configuration file.

Re Dave

I have just updated my good version of HA, i.e. this has been running fine for 1 week, no errors in config.

The Restart also now does not work on 0.38.1.

Is everybody else not having this issue?

Regards, Dave

Same here. It gives a fail but does restart.

same here.

1 Like

I am running the latest version and even the config has no error but still restart getting failed.

im seeing the same thing on 38.3, failed restart message with no restart. I have to reboot my Pi to update my config.

About the same here @38.2… Message stating restart failed but it does restart though.
When there is na actual config error restart fails and it shows an error in the frontend as expected.

I am finding that it does actually restart, even though the message sates otherwise

Re Dave