『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 4391|回复: 3

[技术探讨] 只要升级0.74就无法启动hass

[复制链接]

3

主题

39

帖子

303

积分

中级会员

Rank: 3Rank: 3

积分
303
金钱
264
HASS币
0
发表于 2018-7-29 18:37:59 | 显示全部楼层 |阅读模式
本帖最后由 孤独的北极狐 于 2018-7-29 18:43 编辑

换了好几个版本镜像,使用到0.73.2一切都ok,只要升级到0.74就挂掉,下面是log错误日志,有没有大神给看下

2018-07-29 18:30:22 WARNING (MainThread) [homeassistant.components.http] You have been advised to set http.api_password.
2018-07-29 18:30:26 WARNING (MainThread) [homeassistant.loader] You are using a custom component for redpoint which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-07-29 18:30:26 WARNING (MainThread) [homeassistant.loader] You are using a custom component for tunnel2local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-07-29 18:30:50 WARNING (MainThread) [homeassistant.setup] Setup of xiaomi_aqara is taking over 10 seconds.
2018-07-29 18:30:50 WARNING (MainThread) [homeassistant.components.switch] Setup of platform xiaomi_miio is taking over 10 seconds.
2018-07-29 18:30:55 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/__init__.py", line 132, in start_server
    await server.start()
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/__init__.py", line 284, in start
    await self.app.startup()
  File "/usr/local/lib/python3.5/dist-packages/aiohttp/web_app.py", line 278, in startup
    await self.on_startup.send(self)
  File "/usr/local/lib/python3.5/dist-packages/aiohttp/signals.py", line 35, in send
    await receiver(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/cors.py", line 60, in cors_startup
    _allow_cors(route)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/cors.py", line 44, in _allow_cors
    cors.add(route, config)
  File "/home/pi/.homeassistant/deps/lib/python3.5/site-packages/aiohttp_cors/cors_config.py", line 263, in add
    return self._cors_impl.add(routing_entity, config)
  File "/home/pi/.homeassistant/deps/lib/python3.5/site-packages/aiohttp_cors/cors_config.py", line 135, in add
    routing_entity, self._preflight_handler)
  File "/home/pi/.homeassistant/deps/lib/python3.5/site-packages/aiohttp_cors/urldispatcher_router_adapter.py", line 195, in add_preflight_handler
    self.add_preflight_handler(route.resource, handler)
  File "/home/pi/.homeassistant/deps/lib/python3.5/site-packages/aiohttp_cors/urldispatcher_router_adapter.py", line 163, in add_preflight_handler
    .format(resource, route_obj.handler))
ValueError: <PlainResource  /auth/token> already has OPTIONS handler <bound method _PreflightHandler._preflight_handler of <aiohttp_cors.cors_config._CorsConfigImpl object at 0x712cd030>>

回复

使用道具 举报

25

主题

687

帖子

3630

积分

论坛元老

Rank: 8Rank: 8

积分
3630
金钱
2937
HASS币
219

活跃会员

发表于 2018-7-29 22:00:33 | 显示全部楼层
很可能是自定义组件得问题,删除自定义组件再试试
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
发表于 2018-7-30 10:08:35 | 显示全部楼层
你装的是 0.74.0还是0.74.2?

试试0.74.2 好像修了这个bug
Nero
回复

使用道具 举报

8

主题

2073

帖子

6053

积分

论坛元老

流水无味

Rank: 8Rank: 8

积分
6053
金钱
3980
HASS币
145

灌水之王

发表于 2018-7-30 16:16:20 | 显示全部楼层
neroxps 发表于 2018-7-30 10:08
你装的是 0.74.0还是0.74.2?

试试0.74.2 好像修了这个bug

我升级到0.74.0 也是这些代码。
回头再升级0.74.2试试
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 00:01 , Processed in 0.208543 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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