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

 找回密码
 立即注册
查看: 1248|回复: 1

[求助] hyper-v装haos的虚拟磁盘,结果从git拖addon报错

[复制链接]

4

主题

19

帖子

123

积分

注册会员

Rank: 2

积分
123
金钱
104
HASS币
0
发表于 2023-9-6 18:23:37 | 显示全部楼层 |阅读模式
首次安装加载虚拟机后,卡在了preparing home assistant页面,日志显示
23-09-06 07:52:25 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/home-assistant/addons repository: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v --recursive --depth=1 --shallow-submodules -- https://github.com/home-assistant/addons /data/addons/core
stderr: 'Cloning into '/data/addons/core'...
fatal: unable to access 'https://github.com/home-assistant/addons/': Failure when receiving data from the peer
'.
23-09-06 07:52:25 ERROR (MainThread) [supervisor.store] Can't retrieve data from core due to
23-09-06 07:52:25 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / core
23-09-06 07:52:25 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / core
23-09-06 07:52:25 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/esphome/home-assistant-addon repository: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v --recursive --depth=1 --shallow-submodules -- https://github.com/esphome/home-assistant-addon /data/addons/git/5c53de3b
stderr: 'Cloning into '/data/addons/git/5c53de3b'...
fatal: unable to access 'https://github.com/esphome/home-assistant-addon/': Failure when receiving data from the peer


求大侠指点解决方案。
回复

使用道具 举报

4

主题

19

帖子

123

积分

注册会员

Rank: 2

积分
123
金钱
104
HASS币
0
 楼主| 发表于 2023-9-7 16:42:50 | 显示全部楼层
换成docker安装,秒装成功。

看来hyperV安装没什么人用啊。。。不过现在成了nuc上面hyperV,hyperV里面ubuntu,ubuntu里面docker,docker里面haos。。。层层套娃
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-27 11:59 , Processed in 0.091857 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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