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

 找回密码
 立即注册
查看: 4768|回复: 2

[基础教程] 树梅派安装的备份后还原怎么进不了container和ha了

[复制链接]

19

主题

341

帖子

1133

积分

金牌会员

Rank: 6Rank: 6

积分
1133
金钱
792
HASS币
0
发表于 2018-7-18 16:39:55 | 显示全部楼层 |阅读模式
树梅派坏了,换了一个,恢复以前的备份,结果就从:9000的container都进不去,8123的ha网址进不去。关键是container进不去,想删除ha重新装都没戏阿。日志错误2018-07-18 16:26:19 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "scan_interval". Check lines 78 and 81.2018-07-18 16:26:19 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "sensor". Check lines 59 and 73.
2018-07-18 16:26:19 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "tts". Check lines 63 and 174.
2018-07-18 16:26:19 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "cloud". Check lines 67 and 182.
2018-07-18 16:26:19 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "group". Check lines 69 and 184.
2018-07-18 16:26:19 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "automation". Check lines 70 and 185.
2018-07-18 16:26:19 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "script". Check lines 71 and 186.
2018-07-18 16:26:39 ERROR (MainThread) [homeassistant.setup] Error during setup of component xiaomi_aqara
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/setup.py", line 146, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/xiaomi_aqara.py", line 127, in setup
    hass.add_job, gateways, interface)
  File "/usr/lib/python3.6/site-packages/xiaomi_gateway/__init__.py", line 35, in __init__
    self._socket.bind((interface, 0))
OSError: [Errno 99] Address not available
2018-07-18 16:26:42 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-07-18 16:27:35 WARNING (MainThread) [homeassistant.components.switch] Setup of platform broadlink_mp1 is taking over 10 seconds.
2018-07-18 16:27:55 ERROR (SyncWorker_18) [custom_components.switch.broadlink_mp1] Failed to connect to device
2018-07-18 16:27:56 ERROR (SyncWorker_5) [asyncio] Future exception was never retrieved
future: <Future finished exception=NonUniqueNameException()>
Traceback (most recent call last):
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/pyhap/accessory_driver.py", line 237, in _do_start
    self.advertiser.register_service(self.mdns_service_info)
  File "/usr/lib/python3.6/site-packages/zeroconf.py", line 1780, in register_service
    self.check_service(info, allow_name_change)
  File "/usr/lib/python3.6/site-packages/zeroconf.py", line 1896, in check_service
    raise NonUniqueNameException
zeroconf.NonUniqueNameException
2018-07-18 16:28:12 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-07-18 16:28:34 ERROR (SyncWorker_15) [pychromecast.socket_client] Failed to connect, retrying in 5.0s

回复

使用道具 举报

75

主题

1976

帖子

8179

积分

元老级技术达人

积分
8179
金钱
6153
HASS币
430

活跃会员教程狂人

发表于 2018-7-18 18:47:21 | 显示全部楼层
最开始的那几条日志明显提示你,有重复的“tts”“cloud”“group”等等。你用winscp登陆进去改改也行啊!
所有过往,皆为序章。
回复

使用道具 举报

19

主题

341

帖子

1133

积分

金牌会员

Rank: 6Rank: 6

积分
1133
金钱
792
HASS币
0
 楼主| 发表于 2018-7-19 09:32:42 | 显示全部楼层
谢谢哥了,问题解决,我特么地树莓派地址改变了,蛋疼!
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 23:52 , Processed in 0.154637 second(s), 25 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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