question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest Supervisor is crash-looping

See original GitHub issue

Describe the issue you are experiencing

Infinite restart loop of the Supervisor-container after reboot of server.

What is the used version of the Supervisor?

Cannot tell - system is down

What type of installation are you running?

Home Assistant Supervised

Which operating system are you running on?

Other (e.g., Raspbian/Raspberry Pi OS/Fedora)

What is the version of your installed operating system?

Ubuntu 22.04

What version of Home Assistant Core is installed?

2022.6.7

Steps to reproduce the issue

Rebooted system

Anything in the Supervisor logs that might be useful for us?

[15:49:26] INFO: Supervisor restart after closing
[15:49:26] INFO: Watchdog restart after closing
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/udev.sh
[15:59:43] INFO: Using udev information from host
cont-init: info: /etc/cont-init.d/udev.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
s6-rc: info: service legacy-services successfully started
[15:59:43] INFO: Starting local supervisor watchdog...
22-07-06 15:59:43 INFO (MainThread) [__main__] Initializing Supervisor setup
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/src/supervisor/supervisor/__main__.py", line 41, in <module>
    coresys = loop.run_until_complete(bootstrap.initialize_coresys())
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/usr/src/supervisor/supervisor/bootstrap.py", line 63, in initialize_coresys
    coresys = CoreSys()
  File "/usr/src/supervisor/supervisor/coresys.py", line 66, in __init__
    self._docker: DockerAPI = DockerAPI()
  File "/usr/src/supervisor/supervisor/docker/__init__.py", line 106, in __init__
    self._info: DockerInfo = DockerInfo.new(self.docker.info())
  File "/usr/src/supervisor/supervisor/docker/__init__.py", line 62, in new
    data["CgroupVersion"],
KeyError: 'CgroupVersion'
22-07-06 15:59:43 ERROR (MainThread) [asyncio] Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fa4f9dbaca0>
[15:59:43] WARNING: Halt Supervisor

Additional information

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
phellarvcommented, Jul 6, 2022

Sorry - I missed one step: Docker upgrade. That solved it! Thanks.

3reactions
mykola-devcommented, Jul 11, 2022

guys, is it possible to disable automatic updates for the supervisor? i’m running pretty critical stuff under home assistant. and that fact it suddenly stops working doesn’t add the value for the product.

Read more comments on GitHub >

github_iconTop Results From Across the Web

10 Ways to Survive the New Supervisor Nightmare
Make your transition to "new supervisor" an easy one! Here are 10 ways to survive the new supervisor nightmare, build your credibility, ...
Read more >
9 Tips for New Supervisors: How to Succeed | Indeed.com
In this article we review the roles and responsibilities of a supervisor, discuss what qualities make a good supervisor, list nine tips on...
Read more >
5 Surefire New Supervisor Tips For Success - Insperity
Ready to promote a worker to be a first-time supervisor? Here are five tips to ensure your new supervisor successfully navigates their new...
Read more >
How To Be A Successful First-Time Supervisor
Learn and practice basic supervisory skills. Avoid common mistakes and pitfalls that trip up most new supervisors. Understand the differences ...
Read more >
Unexpected supervisor crash/container restart on network ...
Agreed, it's possible it's a device-specific issue. This is a brand new device and does not seem to be exhibiting any other symptoms...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found