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

 找回密码
 立即注册
查看: 4726|回复: 5

[技术探讨] 求助!HA升级之后,网址打不开!

[复制链接]

9

主题

42

帖子

250

积分

中级会员

Rank: 3Rank: 3

积分
250
金钱
208
HASS币
0
发表于 2018-8-3 10:08:35 | 显示全部楼层 |阅读模式

升级的时候,命令可能用的不对,导致错误频出,最后如图,应该是升级成功了!

但是现在在浏览器输入之前的地址,無法进入HA系统,好头大,不知道错在哪里。

错误代码信息里面,192.168.0.100 是我的一个插座,因为没有使用之前拔掉,所以提醒这个很正常吧。

其他的看不懂。

求大神帮忙看看怎么重新进入系统,用了重启命令,开启自启动命令,都不行,树莓派也重启过了,还是不行。

可以正常访问HA文件夹。



------------------------错误代码信息------------------------------

2018-08-03 08:52:48 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=45 from 2018-08-03 00:48:45.236572)
2018-08-03 08:52:49 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-08-03 08:52:49 WARNING (MainThread) [homeassistant.loader] You are using a custom component for introduction_hachina 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-08-03 08:52:49 WARNING (MainThread) [homeassistant.loader] You are using a custom component for tts.google 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-08-03 08:52:59 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 08:52:59 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 30 seconds.
2018-08-03 08:53:01 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform bitcoin is taking over 10 seconds.
2018-08-03 08:53:01 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 0x7099f590>>
2018-08-03 08:56:01 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 08:56:01 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 08:56:01 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 60 seconds.
2018-08-03 08:57:07 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 08:57:07 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 08:57:07 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 90 seconds.
2018-08-03 08:58:43 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 08:58:43 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 08:58:43 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 120 seconds.
2018-08-03 09:00:49 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 09:00:49 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 09:00:49 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 150 seconds.
2018-08-03 09:03:25 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 09:03:25 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 09:03:25 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 180 seconds.
2018-08-03 09:06:31 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 09:06:31 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 09:06:31 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 180 seconds.
2018-08-03 09:09:36 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 09:09:36 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 09:09:36 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 180 seconds.
2018-08-03 09:12:42 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 09:12:42 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 09:12:42 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 180 seconds.
2018-08-03 09:15:48 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 09:15:48 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 09:15:48 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 180 seconds.
2018-08-03 09:17:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.lamp_ambient_light is taking over 10 seconds
2018-08-03 09:17:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.lamp is taking over 10 seconds
2018-08-03 09:18:54 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 09:18:54 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 09:18:54 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 180 seconds.
2018-08-03 09:22:00 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 09:22:00 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 09:22:00 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 180 seconds.
2018-08-03 09:25:06 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 09:25:06 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 09:25:06 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 180 seconds.
2018-08-03 09:28:12 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 09:28:12 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 09:28:12 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 180 seconds.
2018-08-03 09:31:18 ERROR (MainThread) [miio.device] Unable to discover a device at address 192.168.0.100
2018-08-03 09:31:18 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-03 09:31:18 WARNING (MainThread) [homeassistant.components.switch] Platform xiaomi_miio not ready yet. Retrying in 180 seconds.


------------------------------------------------------------------


QQ截图20180803100418.png
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
发表于 2018-8-3 14:19:12 | 显示全部楼层

1. 楼主是从什么版本升级到什么版本?

2. 尝试下将配置文件拷贝出来然后清除配置文件,先排除配置文件导致启动不了(特别是第三方插件,位于CC下的插件)

Nero
回复

使用道具 举报

8

主题

329

帖子

1763

积分

金牌会员

Rank: 6Rank: 6

积分
1763
金钱
1434
HASS币
0
发表于 2018-8-3 14:28:18 | 显示全部楼层
重新安装ha
回复

使用道具 举报

2

主题

171

帖子

2446

积分

金牌会员

Rank: 6Rank: 6

积分
2446
金钱
2275
HASS币
0
发表于 2018-8-3 14:42:21 | 显示全部楼层
可以降级回去 curl -d '{"version": "0.73.1"}' http://hassio/homeassistant/update
回复

使用道具 举报

26

主题

553

帖子

2728

积分

金牌会员

Rank: 6Rank: 6

积分
2728
金钱
2150
HASS币
100

教程狂人

发表于 2018-8-3 15:24:32 | 显示全部楼层
实在没办法,可以先注释掉discovery组件和http组件中的cors设置,简单看了下,并不熟悉miio和cors组件的原理,所以也是简单猜测可能性,要是没用的话也就抱歉了。
回复

使用道具 举报

9

主题

42

帖子

250

积分

中级会员

Rank: 3Rank: 3

积分
250
金钱
208
HASS币
0
 楼主| 发表于 2018-8-3 15:37:47 | 显示全部楼层
Mirukuteii 发表于 2018-8-3 15:24
实在没办法,可以先注释掉discovery组件和http组件中的cors设置,简单看了下,并不熟悉miio和cors组件的原 ...

已经知道为什么了,我用的是那个HA中文网的镜像升级到0.74,它们的镜像有问题,一升级就这样
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 23:51 , Processed in 0.114240 second(s), 33 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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