Restart HASS hangs since 0.33.4?

I upgraded today to 0.33.4 and noticed that the restart doesn’t work it somewhere hangs and the hbmqtt keeps running also after systemd stop…

Restarting the PI is the only way to restart…

rolled back to 0.32.4 and everything functions as normal again…

Anybody similar issues?

I just restarted my HASS on 0.33.4 and it worked. Although it feels like a hit or miss, it works most times but sometimes it just stops and I need to stop and start it from systemd. System uptime is over 50 days so that is not something I have needed do yet.

stopping via systemd does stop HASS but some child services keep running like the hbmqtt… and than starting hass via systemd makes a mess as mqtt devices still connected to the old instance… at least that is how it looks from my perspective…

do you use the build in broker hbmqtt?

There have been a number of issues reported with this on github in the past and I think it may be hard to squash the bugs on each system configuration and option. When there was an issues in a earlier release I created a script which seems to work every time even though it is calling the same service.

  restart_home_assistant:
    alias: Restart Home Assistant
    sequence:
        service: homeassistant.restart

Scripts work nicely for this as you can add additional commands (call a shell command) if you want to stop other items/services before you call the restart command.