System information IPv4 addresses for end0: 192.168.3.22/24 IPv6 addresses for end0: fdbf:7e51:e09d:e645:6587:91c1:6650:2478/64, fe80::8577:c61a:1945:1e43/64
OS Version: Home Assistant OS 13.2 Home Assistant Core: 2024.11.1
root@homeassistant:/ # curl http://homeassistant.local:8123/
curl: (7) Failed to connect to homeassistant.local port 8123 after 7 ms: Error
supervisor log:
2024-11-16 18:07:04.800 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
Home Assistant observer
Supervisor: Connected
Supported: Supported
Healthy: Healthy
core log
s6-rc: info: service legacy-services successfully started
2024-11-16 18:19:30.504 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
sys.exit(main())
^^^^^^
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/runner.py", line 157, in setup_and_run_hass
hass = await bootstrap.async_setup_hass(runtime_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 312, in async_setup_hass
await hass.async_add_executor_job(conf_util.process_ha_config_upgrade, hass)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config.py", line 314, in process_ha_config_upgrade
if version_obj < AwesomeVersion("0.50"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/awesomeversion/awesomeversion.py", line 156, in __lt__
raise AwesomeVersionCompareException(
awesomeversion.exceptions.AwesomeVersionCompareException: Can't compare <unknown > and <SimpleVer 0.50>
[10:19:32] INFO: Home Assistant Core finish process exit code 1
[10:19:32] INFO: Home Assistant Core service shutdown
刷最新版13.2.1
1 进入8124端口
2 看看7个系统服务是不是core没起来
3 看看core的日志(进入docker管理,找core/homeassistant容器,点log详情查看)
a. 是否有错误
b. 是否进入下载
c. 或贴图贴log到论坛
4. 或者进入7681端口(从8124也可以进,到导航管理里找系统管理下的)
a. 输入login,进入linux控制台/命令行界面
b. 输入ha-install -t,查看安装流程进度,里面有core下载进度,看看是不是卡着不动
root@homeassistant:/ # docker logs homeassistant
unconfined
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
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
2024-12-07 00:14:26.152 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
sys.exit(main())
^^^^^^
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/runner.py", line 157, in setup_and_run_hass
hass = await bootstrap.async_setup_hass(runtime_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 311, in async_setup_hass
await hass.async_add_executor_job(conf_util.process_ha_config_upgrade, hass)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config.py", line 549, in process_ha_config_upgrade
if version_obj < AwesomeVersion("0.50"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/awesomeversion/awesomeversion.py", line 156, in __lt__
raise AwesomeVersionCompareException(
awesomeversion.exceptions.AwesomeVersionCompareException: Can't compare <unknown > and <SimpleVer 0.50>
[16:14:28] INFO: Home Assistant Core finish process exit code 1
[16:14:28] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services: stopping
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
hassio_supervisor容器中有报错
2024-12-07 00:14:06.012 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
2024-12-07 00:14:06.013 ERROR (MainThread) [supervisor.core] Can't start Home Assistant Core - rebuiling
你之前应该初始化过。可能是某个集成,特别是自定义集成的导入有问题。
还有一个可能是已经生成了jobs任务队列,已经在队列里
用wgsys jobs fix 修复一下试试(具体看wgsys帮助)
你可以用wgha d su logs看日志
wgha d su 是wgha docker supervisor的简写命令,用于系统输入会比docker 原生命令更方便
直接输入wgha看命令帮助和例子说明