Supervisor errors

A lot of errors. Possibly micro card file system corrupted. Any idea how to fix it ?

Raspberry 4, latest updates:

Traceback (most recent call last):
File “/usr/src/supervisor/supervisor/misc/scheduler.py”, line 62, in _wrap_task
await task.coro_callback()
File “/usr/src/supervisor/supervisor/misc/tasks.py”, line 346, in _watchdog_observer_docker
await self.sys_plugins.observer.is_running()
File “/usr/local/lib/python3.8/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/supervisor/supervisor/docker/interface.py”, line 208, in _is_running
raise DockerAPIError() from err
supervisor.exceptions.DockerAPIError
21-01-03 18:30:55 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name=‘Task-168895’ coro=<Scheduler._run_task.._wrap_task() done, defined at /usr/src/supervisor/supervisor/misc/scheduler.py:58> exception=DockerAPIError()>
Traceback (most recent call last):
File “/usr/local/lib/python3.8/site-packages/docker/api/client.py”, line 268, in _raise_for_status
response.raise_for_status()
File “/usr/local/lib/python3.8/site-packages/requests/models.py”, line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.40/containers/hassio_observer/json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/supervisor/supervisor/docker/interface.py”, line 204, in _is_running
docker_container = self.sys_docker.containers.get(self.name)
File “/usr/local/lib/python3.8/site-packages/docker/models/containers.py”, line 889, in get
resp = self.client.api.inspect_container(container_id)
File “/usr/local/lib/python3.8/site-packages/docker/utils/decorators.py”, line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File “/usr/local/lib/python3.8/site-packages/docker/api/container.py”, line 773, in inspect_container
return self._result(
File “/usr/local/lib/python3.8/site-packages/docker/api/client.py”, line 274, in _result
self._raise_for_status(response)
File “/usr/local/lib/python3.8/site-packages/docker/api/client.py”, line 270, in _raise_for_status
raise create_api_error_from_http_exception(e)
File “/usr/local/lib/python3.8/site-packages/docker/errors.py”, line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.APIError: 500 Server Error for http+docker://localhost/v1.40/containers/hassio_observer/json: Internal Server Error (“readlink /mnt/data/docker/overlay2/۹�8/$��p�%iMnuKa�X_�r�Vd9{>B��}0��
#��ڡ�E�ee-ؐE$����<aQX��n딮��[!��쳄��y�D 2���[����
��u�$�e�ٖ�Ɂ��yYW����v�xQ��u����j�C�u�’����’��D��B��(�p�p�aχ�7%����F�?zͅ���ٿ�%�: invalid argument”)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/src/supervisor/supervisor/misc/scheduler.py”, line 62, in _wrap_task
await task.coro_callback()
File “/usr/src/supervisor/supervisor/misc/tasks.py”, line 346, in _watchdog_observer_docker
await self.sys_plugins.observer.is_running()
File “/usr/local/lib/python3.8/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/supervisor/supervisor/docker/interface.py”, line 208, in _is_running
raise DockerAPIError() from err
supervisor.exceptions.DockerAPIError
21-01-03 18:31:20 WARNING (MainThread) [supervisor.misc.tasks] Watchdog/Application found a problem with observer plugin!
21-01-03 18:31:20 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
21-01-03 18:31:20 ERROR (MainThread) [supervisor.plugins.observer] Can’t start observer plugin
21-01-03 18:31:20 ERROR (MainThread) [supervisor.misc.tasks] Observer watchdog reanimation failed!
21-01-03 18:31:55 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name=‘Task-168915’ coro=<Scheduler._run_task.._wrap_task() done, defined at /usr/src/supervisor/supervisor/misc/scheduler.py:58> exception=DockerAPIError()>
Traceback (most recent call last):
File “/usr/local/lib/python3.8/site-packages/docker/api/client.py”, line 268, in _raise_for_status
response.raise_for_status()
File “/usr/local/lib/python3.8/site-packages/requests/models.py”, line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.40/containers/hassio_observer/json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/supervisor/supervisor/docker/interface.py”, line 204, in _is_running
docker_container = self.sys_docker.containers.get(self.name)
File “/usr/local/lib/python3.8/site-packages/docker/models/containers.py”, line 889, in get
resp = self.client.api.inspect_container(container_id)
File “/usr/local/lib/python3.8/site-packages/docker/utils/decorators.py”, line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File “/usr/local/lib/python3.8/site-packages/docker/api/container.py”, line 773, in inspect_container
return self._result(
File “/usr/local/lib/python3.8/site-packages/docker/api/client.py”, line 274, in _result
self._raise_for_status(response)
File “/usr/local/lib/python3.8/site-packages/docker/api/client.py”, line 270, in _raise_for_status
raise create_api_error_from_http_exception(e)
File “/usr/local/lib/python3.8/site-packages/docker/errors.py”, line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.APIError: 500 Server Error for http+docker://localhost/v1.40/containers/hassio_observer/json: Internal Server Error (“readlink /mnt/data/docker/overlay2/۹�8/$��p�%iMnuKa�X_�r�Vd9{>B��}0��
#��ڡ�E�ee-ؐE$����<aQX��n딮��[!��쳄��y�D 2���[����
��u�$�e�ٖ�Ɂ��yYW����v�xQ��u����j�C�u�’����’��D��B��(�p�p�aχ�7%����F�?zͅ���ٿ�%�: invalid argument”)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/src/supervisor/supervisor/misc/scheduler.py”, line 62, in _wrap_task
await task.coro_callback()
File “/usr/src/supervisor/supervisor/misc/tasks.py”, line 346, in _watchdog_observer_docker
await self.sys_plugins.observer.is_running()
File “/usr/local/lib/python3.8/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/supervisor/supervisor/docker/interface.py”, line 208, in _is_running
raise DockerAPIError() from err
supervisor.exceptions.DockerAPIError


System Health

version: 2020.12.2
installation_type: Home Assistant OS
dev: false
hassio: true
docker: true
virtualenv: false
python_version: 3.8.6
os_name: Linux
os_version: 5.4.79-v7l
arch: armv7l
timezone: Europe/London

GitHub API: ok
Github API Calls Remaining: 4846
Installed Version: 1.9.0
Stage: running
Available Repositories: 711
Installed Repositories: 18

can_reach_server: ok
remaining_requests: 38

logged_in: true
subscription_expiration: January 7, 2021, 12:00 AM
relayer_connected: true
remote_enabled: true
remote_connected: true
alexa_enabled: true
google_enabled: true
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok

host_os: Home Assistant OS 5.9
update_channel: stable
supervisor_version: 2020.12.7
docker_version: 19.03.13
disk_total: 28.0 GB
disk_used: 7.1 GB
healthy: true
supported: true
board: rpi4
supervisor_api: ok
version_api: ok
installed_addons: Check Home Assistant configuration (3.6.0), File editor (5.2.0), Samba share (9.3.0), FTP (3.5.0), SSH & Web Terminal (7.8.0), ESPHome (1.15.3), CEC Scanner (2.4), AirCast (2.4.1), MariaDB (2.2.1)

dashboards: 1
mode: storage
views: 3
resources: 7

api_endpoint_reachable: ok

For the 500 docker error with “invalid argument” you want to run ha su repair

21-01-03 18:53:43 INFO (MainThread) [supervisor.supervisor] Repairing Supervisor 2020.12.7
21-01-03 18:53:43 INFO (MainThread) [supervisor.core] Finished repair of Supervisor Environment


Thank you - no more errors

1 Like

Yesterday my microsd died. Fresh install with full snapshot recovery got me back but there is a lot of errors. Any advise guys ?

2021-01-12 17:50:42 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for garbage_collection which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.

2021-01-12 17:50:42 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.

2021-01-12 17:50:42 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for ble_monitor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.

2021-01-12 17:50:42 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hive which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.

2021-01-12 17:50:53 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.

2021-01-12 17:51:18 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (MySQLdb._exceptions.OperationalError) (2005, “Unknown MySQL server host ‘core-mariadb’ (-3)”)

(Background on this error at: http://sqlalche.me/e/13/e3q8) (retrying in 3 seconds)

2021-01-12 17:51:42 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder

2021-01-12 17:51:56 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (MySQLdb._exceptions.OperationalError) (2005, “Unknown MySQL server host ‘core-mariadb’ (-3)”)

(Background on this error at: http://sqlalche.me/e/13/e3q8) (retrying in 3 seconds)

2021-01-12 17:52:34 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (MySQLdb._exceptions.OperationalError) (2005, “Unknown MySQL server host ‘core-mariadb’ (-3)”)

(Background on this error at: http://sqlalche.me/e/13/e3q8) (retrying in 3 seconds)

2021-01-12 17:52:42 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder

2021-01-12 17:53:12 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (MySQLdb._exceptions.OperationalError) (2005, “Unknown MySQL server host ‘core-mariadb’ (-3)”)

(Background on this error at: http://sqlalche.me/e/13/e3q8) (retrying in 3 seconds)

2021-01-12 17:53:43 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder

2021-01-12 17:53:50 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (MySQLdb._exceptions.OperationalError) (2005, “Unknown MySQL server host ‘core-mariadb’ (-3)”)

(Background on this error at: http://sqlalche.me/e/13/e3q8) (retrying in 3 seconds)

2021-01-12 17:54:28 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (MySQLdb._exceptions.OperationalError) (2005, “Unknown MySQL server host ‘core-mariadb’ (-3)”)

(Background on this error at: http://sqlalche.me/e/13/e3q8) (retrying in 3 seconds)

2021-01-12 17:54:43 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder

2021-01-12 17:55:06 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (MySQLdb._exceptions.OperationalError) (2005, “Unknown MySQL server host ‘core-mariadb’ (-3)”)

(Background on this error at: http://sqlalche.me/e/13/e3q8) (retrying in 3 seconds)

2021-01-12 17:55:43 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder

2021-01-12 17:55:43 ERROR (MainThread) [homeassistant.setup] Setup of recorder is taking longer than 300 seconds. Startup will proceed without waiting any longer

2021-01-12 17:55:44 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (MySQLdb._exceptions.OperationalError) (2005, “Unknown MySQL server host ‘core-mariadb’ (-3)”)

(Background on this error at: http://sqlalche.me/e/13/e3q8) (retrying in 3 seconds)

2021-01-12 17:55:45 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for philips_ambilight which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.

2021-01-12 17:55:45 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for philips_android_tv which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.

2021-01-12 17:55:46 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history. Setup failed for dependencies: recorder

2021-01-12 17:55:46 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not set up all dependencies.

2021-01-12 17:55:46 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: recorder

2021-01-12 17:55:46 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.

2021-01-12 17:55:49 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: history, logbook

2021-01-12 17:55:49 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.

2021-01-12 17:55:59 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.front_door_2 is taking over 10 seconds

2021-01-12 17:56:22 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (MySQLdb._exceptions.OperationalError) (2005, “Unknown MySQL server host ‘core-mariadb’ (-3)”)

(Background on this error at: http://sqlalche.me/e/13/e3q8) (retrying in 3 seconds)

2021-01-12 17:57:00 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (MySQLdb._exceptions.OperationalError) (2005, “Unknown MySQL server host ‘core-mariadb’ (-3)”)

(Background on this error at: http://sqlalche.me/e/13/e3q8) (retrying in 3 seconds)

2021-01-12 17:57:00 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Recorder.run..connection_failed() at /usr/src/homeassistant/homeassistant/components/recorder/init.py:288

Traceback (most recent call last):

File “/usr/local/lib/python3.8/asyncio/events.py”, line 81, in _run

self._context.run(self._callback, *self._args)

File “/usr/src/homeassistant/homeassistant/components/recorder/init.py”, line 291, in connection_failed

self.async_db_ready.set_result(False)

asyncio.exceptions.InvalidStateError: invalid state

2021-01-12 18:00:49 WARNING (MainThread) [homeassistant.components.ring] Error fetching Ring active dings data: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’))