night
March 4, 2020, 11:18am
1
Hi! I’m creating this request based on the recent issues after supervisor updates. The concern is that if you’re relying on HomeAssistant for important tasks or alerts when you’re not at home you’ll potentially loose control without being able to act/fix it. For instance if you’re on vacation or just left for work when the update starts.
I suggest adding an option in the GUI for disabling automatic updates. That way you could safely update when you’re in a position to fix it if any problems arise.
Here’s some examples after the 207 update:
opened 03:39PM - 03 Mar 20 UTC
closed 05:48PM - 03 Mar 20 UTC
**Operating environment (HassOS/Generic):**
<!--
Please provide details about … your environment.
-->
Ubuntu 18.04 Supervisor 207
**Supervisor logs:**
<!--
- Frontend -> Hass.io -> System
- Or use this command: hassio su logs
-->
Mar 03 15:30:58 hassio hassio-supervisor[7786]: raise EnvironmentError('Could not create udev monitor')
Mar 03 15:30:58 hassio hassio-supervisor[7786]: OSError: Could not create udev monitor
Mar 03 15:30:58 hassio hassio-supervisor[7786]: 20-03-03 15:30:58 ERROR (MainThread) [asyncio] Unclosed client session
Mar 03 15:30:58 hassio hassio-supervisor[7786]: client_session: <aiohttp.client.ClientSession object at 0x7f3e87052bd0>
Mar 03 15:30:58 hassio hassio-supervisor[7786]: 20-03-03 15:30:58 ERROR (MainThread) [asyncio] Unclosed client session
Mar 03 15:30:58 hassio hassio-supervisor[7786]: client_session: <aiohttp.client.ClientSession object at 0x7f3e86e16150>
Mar 03 15:30:58 hassio hassio-supervisor[7786]: [cont-finish.d] executing container finish scripts...
Mar 03 15:30:58 hassio hassio-supervisor[7786]: [cont-finish.d] done.
Mar 03 15:30:58 hassio hassio-supervisor[7786]: [s6-finish] waiting for services.
Mar 03 15:30:58 hassio hassio-supervisor[7786]: [s6-finish] sending all processes the TERM signal.
**Description of problem:**
Supervisor doesn't start, see log above.
Just updated the supervisor to 207 via frontend, now it logs the `Could not create udev monitor` error
I was about to show someone my Grafana graphs in HA when I started getting the ‘Unable to load the panel source: /api/hassio/app/entrypoint.js’ error. In researching, this appears to be related to hassio-supervisor not running. I am able to SSH into my HA server and supervisor is not running. A restart will show it trying for 5 seconds over and over again until I stop it. I rebooted the whole server and none of my containers were started, presumably because supervisor can’t start. I was able to …
ski522
(ski522)
March 4, 2020, 11:58am
2
2nd this request. HA is my security system it needs to be stable!
3 Likes
4337
(Kevin Elshout)
March 4, 2020, 1:21pm
3
Same here. Above mentioned issues happened just before I was about to go to sleep and this annoyed the hell out of me.
1 Like
jsb
(jsb)
March 5, 2020, 11:50pm
4
Agreed. This shouldn’t auto-update. Reliability is key in home automation systems.
Vasco
March 6, 2020, 8:45am
5
Agreed, maybe we should open a request on github?
night
March 6, 2020, 10:35am
6
It’s stated if you try to create a ticket that the community-forum should be used for feature-requests. That’s why I didn’t create a ticket for it.
For reference:
This is for bugs only. Feature and enhancement requests should go in our community forum: https://community.home-assistant.io/c/feature-requests
If you referred to creating a pull-request however, I don’t know what part of the code to change. I’m not a programmer (planning to learn Python when I’ve got time tough! ) .
aidbish
(Adrian)
March 6, 2020, 11:08am
7
already a feature request for this
Could it be possible to have a switch to block supervisor auto-updates?
This way we could stay in an stable version without the need to have to update HA or the addons because they aren’t compatible with supervisor anymore.
night
March 6, 2020, 11:14am
8
Aha! I hope it’s possible to merge them into one so we don’t loose the vote-counter.
frenck
(Franck Nijhof)
March 6, 2020, 1:20pm
9