Update to Supervisor 2022.08.03 breaks RaspiMatic addon
See original GitHub issueDescribe the issue you are experiencing
22-08-10 21:02:04 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon RaspberryMatic CCU is unhealthy, restarting…
RaspiMatic addon gets restarted every some minutes with this log entry.
What operating system image do you use?
ova (for Virtual Machines)
What version of Home Assistant Operating System is installed?
8.4
Did you upgrade the Operating System.
No
Steps to reproduce the issue
- Update Supervisor from 2022.07.xx to 2022.08.03, no other updates done.
Anything in the Supervisor logs that might be useful for us?
22-08-10 21:02:04 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon RaspberryMatic CCU is unhealthy, restarting...
Anything in the Host logs that might be useful for us?
22-08-10 21:02:04 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon RaspberryMatic CCU is unhealthy, restarting...
System Health information
No response
Additional information
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
MC ADDONS MANAGER DEVS BREAK THEIR SILENCE ...
... MANAGER DEVS BREAK THEIR SILENCE! New Update Video Released! ... MC Addons Manager was a tool used on xbox to import Minecraft...
Read more >Update to Supervisor 2022.05.0 failing? - Configuration
I'm unable to install Supervisor 2022.05.0: Logs 22-05-03 17:05:16 ERROR (SyncWorker_2) [supervisor.docker.interface] Can't install ...
Read more >Latest supervisor update breaks add-on updates? - Reddit
Latest supervisor update breaks add-on updates? Solved! Ran apt-get upgrade and restarted host - did the trick. Updated ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So it seems this is a add-on issue which just cropped up with the new Supervisor issue. I’ll close this ticket then as the problem is being tracked in https://github.com/jens-maus/RaspberryMatic/issues/1907. Thanks for your help to get the bottom of this!
@jens-maus In 2022.08.3 Supervisor now actually uses
HEALTHCHECK
statements in watchdog. If Docker tells us that a container for an addon is unhealthy then supervisor restarts it. Previously anyHEALTHCHECK
statements in addons were essentially ignored. Watchdog didn’t look at the health status of containers and we never presented that information to users.So I guess my question would be why is the healthcheck marking the containers as unhealthy? If the result is intended to be ignored then it should be removed I would think.
EDIT: Reading the thread on the other bug looks like you already found that. Just to be clear though, Supervisor never looked at the output of
HEALTHCHECK
statements before. So its possible it has been returning false for a long time and no one noticed since the health status of containers was not presented to HA users or used by Supervisor.