找回密码
 立即注册
搜索
查看: 2720|回复: 12

求助:homeassistant.local 拒绝了我们的连接请求。

[复制链接]

2

主题

23

回帖

128

积分

注册会员

积分
128
金钱
103
HASS币
0
发表于 2024-12-6 18:46:47 | 显示全部楼层
兄弟这个解决了吗
回复

使用道具 举报

2

主题

23

回帖

128

积分

注册会员

积分
128
金钱
103
HASS币
0
发表于 2024-12-6 19:39:10 来自手机 | 显示全部楼层
我不会刷,这个是花钱让别人帮我刷进去的。我先琢磨下,估计是github连不上的原因,看着有两个docker没起来。其中homeassistant docker logs报错打印基本和你的一致,还有一个addon的docker.刚开始看df 根盘100%以为是根盘满了,后来发现不是根盘是只读挂载,我现在准备给我路由搞个科学上网试试.等我的好消息
回复

使用道具 举报

2

主题

23

回帖

128

积分

注册会员

积分
128
金钱
103
HASS币
0
发表于 2024-12-7 00:24:04 | 显示全部楼层
本帖最后由 fenny96 于 2024-12-7 00:26 编辑
达文西 发表于 2024-12-6 20:05
刷最新版13.2.1
1 进入8124端口
2 看看7个系统服务是不是core没起来

感谢大佬,也是刚接触这个,目前状况
addon_fb59d657_nodered
addon_core_configurator
homeassistant
addon_core_mosquitto
hassio_multicast
hassio_audio
hassio_dns
hassio_cli
hassio_supervisor
hassio_observer
这么些容器其中homeassistant拉不起来
docker logs输出

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

另外有个ssh的add on容器,也起不来不过被我直接add uninstall了

ha-install -t输出有点问题
root@homeassistant:/ # ha-install -t
  check addons core_configurator
    install addons core_configurator once. not install.
  check addons core_mosquitto
    install addons core_mosquitto once. not install.
  check addons fb59d657_nodered
    install addons fb59d657_nodered once. not install.
  check addons fb59d657_ssh
    install addons fb59d657_ssh once. not install.
addons end.
task end.

不好意思大佬,一贴图就超大小了
回复

使用道具 举报

2

主题

23

回帖

128

积分

注册会员

积分
128
金钱
103
HASS币
0
发表于 2024-12-7 01:04:27 | 显示全部楼层
达文西 发表于 2024-12-6 20:05
刷最新版13.2.1
1 进入8124端口
2 看看7个系统服务是不是core没起来

最新战况:
论坛搜了个wgext install -R -B命令执行,插件重新安装显示成功
root@homeassistant:/ # ha-install -t
  patch:true
patch end.

addons start.
  wait ha-cli service ready.
  ha-cli service ready.
  installed waxgourd addons repositories
  installed waxgourd music addons repositories
  check addons core_samba
    install addons core_samba
    install addons core_samba ok.
  check addons core_configurator
    install addons core_configurator
    install addons core_configurator ok.
  check addons core_mosquitto
    install addons core_mosquitto
    install addons core_mosquitto ok.
  check addons fb59d657_nodered
    install addons fb59d657_nodered
    install addons fb59d657_nodered ok.
  check addons fb59d657_ssh
    install addons fb59d657_ssh
    install addons fb59d657_ssh ok.
addons end.
task end.

安装完成后执行ha host reboot又回到上面的状态
install addons fb59d657_nodered once. not install.应该是说已经安装,没有问题
回复

使用道具 举报

2

主题

23

回帖

128

积分

注册会员

积分
128
金钱
103
HASS币
0
发表于 2024-12-7 12:13:11 | 显示全部楼层
达文西 发表于 2024-12-7 10:43
你之前应该初始化过。可能是某个集成,特别是自定义集成的导入有问题。
还有一个可能是已经生成了jobs任 ...
awesomeversion.exceptions.AwesomeVersionCompareException: Can't compare <unknown landingpage> and <CalVer 2023.3.4>

感觉还是docker tag的问题image 重新删除下来还是这个landingpage,但是看报错预期是2023.3.4
回复

使用道具 举报

2

主题

23

回帖

128

积分

注册会员

积分
128
金钱
103
HASS币
0
发表于 2024-12-7 19:48:16 | 显示全部楼层
达文西 发表于 2024-12-7 14:41
landingpage是一个加载容器。
默认镜像设计考虑到core太大(550MB)
所以core没预装到镜像里

谢谢,太细心了。我的问题解决了我把supervisor相关的所有image和宿主机相关本地文件全部清理了一遍,然后reboot就好了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-7-4 14:02 , Processed in 0.248967 second(s), 13 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表