failed to register layer: Error processing tar file(exit status 1): write /usr/local/lib/python3.7/site-packages/pygments/lexers/_php_builtins.py: no space left on device
[ERROR]: 从 docker 下载 homeassistant/qemuarm-64-homeassistant:0.105.2 失败,请检查上方失败信息。
docker images 找到0.99的images id
docker rmi {0.99的images id}
还原备份出来的文件,然后reboot,等了一下终于看到ha出现了。
3、ha日志报错的处理
3.1 hacs报错:
2020-02-07 21:40:28 ERROR (SyncWorker_7) [homeassistant.util.package] Unable to install package hacs_frontend==20200104192235: ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py", line 313, in recv_into
return self.connection.recv_into(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1840, in recv_into
self._raise_ssl_error(self._ssl, result)
File "/usr/local/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1646, in _raise_ssl_error
raise WantReadError()
OpenSSL.SSL.WantReadError
2020-02-07 21:40:28 ERROR (MainThread) [homeassistant.setup] Setup failed for hacs: Requirements for hacs not found: ['hacs_frontend==20200104192235'].
2020-02-07 21:40:45 ERROR (SyncWorker_13) [homeassistant.components.zeroconf] Home Assistant instance with identical name present in the local network
...
3.2 Login attempt or request with invalid authentication from 127.0.0.1
ha日志还报如下的错误
2020-02-07 21:41:40 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 127.0.0.1
2020-02-07 21:41:40 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 127.0.0.1
2020-02-07 21:42:10 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 127.0.0.1
排查后,是nodered里node-red-contrib-home-assistant-websocket 设置HA连接是使用了legacy API Password的方式,改成使用令牌即可。