添加后重启就会报错 运行 systemctl status docker 及 [color=var(--error-color)][backcolor=rgba(27, 31, 35, 0.05)]systemctl status hassio-supervisor.service ,检查docker及hass-supervisor,状态都是绿色的。但是就是进不去 ip[color=var(--error-color)][backcolor=rgba(27, 31, 35, 0.05)]:8123 界面,查看hass-supervisor的日志就一条红色,提示 CRITICAL (MainThread) [supervisor.core] System running in a unhealthy state。 然后我删了刚才向/etc/docker/daemon.json 新添加的的代码,重启就进来了。 但是在进来也是各种不正常现在,日志如下
20-12-03 02:06:56 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-2437' coro=<Scheduler._run_task.<locals>._wrap_task() done, defined at /usr/src/supervisor/supervisor/misc/scheduler.py:58> exception=KeyError('ConnectivityCheckEnabled')>
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 473, in _check_connectivity
await self.sys_host.network.check_connectivity()
File "/usr/src/supervisor/supervisor/host/network.py", line 76, in check_connectivity
if not self.sys_dbus.network.connectivity_enabled:
File "/usr/src/supervisor/supervisor/dbus/network/__init__.py", line 58, in connectivity_enabled
return self.properties[DBUS_ATTR_CONNECTION_ENABLED]
KeyError: 'ConnectivityCheckEnabled'
直接报这个日志
un Dec 27 15:06:46 2020 daemon.err dockerd[1552]: time="2020-12-27T15:06:46.317576041+08:00" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.aufs" error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found in directory /lib/modules/5.4.83-flippy-50+o\n": exit status 1"
Sun Dec 27 15:06:46 2020 daemon.err dockerd[1552]: time="2020-12-27T15:06:46.319036359+08:00" level=warning msg="could not use snapshotter aufs in metadata plugin" error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found in directory /lib/modules/5.4.83-flippy-50+o\n": exit status 1"
Sun Dec 27 15:06:46 2020 daemon.err dockerd[1552]: time="2020-12-27T15:06:46.319122694+08:00" level=warning msg="could not use snapshotter zfs in metadata plugin" error="path /mnt/mmcblk1p3/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin"
Sun Dec 27 15:06:47 2020 daemon.err dockerd[1552]: failed to start daemon: failed to set log opts: unknown log opt 'max-size' for journald log driver
删除了日志类型和驱动类型,起来后还是和没改一样的提示