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

 找回密码
 立即注册
楼主: neroxps

HASSIO 安装一键脚本

   关闭 [复制链接]

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2021-3-20 13:03:03 | 显示全部楼层
smldm 发表于 2021-3-19 22:36
虽然提示错误,但是网页能进hass,hass log里好像有提示错误。
大佬,我得把N1 刷成ubunut 20.04 对应的a ...

armbian 10 也行(也就是 debian10)
Nero
回复

使用道具 举报

0

主题

53

帖子

456

积分

中级会员

Rank: 3Rank: 3

积分
456
金钱
403
HASS币
0
发表于 2021-3-21 01:09:16 | 显示全部楼层

[info] 跳过切换系统源。
[info] 更新系统至最新.....
[info] 安装 hassio 必要依赖.....
Ign:1 https://mirrors.tuna.tsinghua.edu.cn/debian stretch InRelease
Hit:2 https://mirrors.tuna.tsinghua.edu.cn/debian stretch-updates InRelease
Hit:3 https://mirrors.tuna.tsinghua.edu.cn/debian stretch-backports InRelease
Hit:4 https://mirrors.tuna.tsinghua.edu.cn/debian-security stretch/updates InRelease
Hit:5 http://packages.openmediavault.org/public usul InRelease
Hit:7 https://mirrors.tuna.tsinghua.edu.cn/debian stretch Release
Hit:6 https://mirrors.tuna.tsinghua.edu.cn/armbian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version (7.64.0-4+deb10u1).
jq is already the newest version (1.5+dfsg-2+b1).
net-tools is already the newest version (1.60+git20180626.aebd88e-1).
network-manager is already the newest version (1.14.6-2+deb10u1).
qrencode is already the newest version (4.0.2-1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
apparmor : Depends: libapparmor-perl but it is not going to be installed
apparmor-utils : Depends: libapparmor-perl but it is not going to be installed
                  Depends: python3-apparmor (= 2.11.0-3+deb9u2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
大佬,N1更换了debian10 的版本后,脚本跑不通了......
回复

使用道具 举报

8

主题

382

帖子

1779

积分

金牌会员

Rank: 6Rank: 6

积分
1779
金钱
1397
HASS币
0
发表于 2021-3-21 15:50:13 | 显示全部楼层
你好,安装时报这样的错,没得插件仓库,该怎么破,谢谢!!!

21-03-21 03:19:52 ERROR (MainThread) [supervisor.store] Can't load data from repository core
21-03-21 03:19:54 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/hassio-addons/repository repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/hassio-addons/repository /data/addons/git/a0d7b954
  stderr: 'Cloning into '/data/addons/git/a0d7b954'...
fatal: unable to access 'https://github.com/hassio-addons/repository/': OpenSSL SSL_connect: Connection reset by peer in connection to github.com:443
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2021-3-21 15:54:09 | 显示全部楼层
peter5858 发表于 2021-3-21 15:50
你好,安装时报这样的错,没得插件仓库,该怎么破,谢谢!!!

21-03-21 03:19:52 ERROR (MainThread) [su ...

买张飞机票~带上机器,飞到国外,找家机场附近的网吧,装好一切,再飞回来~

参考古巴人民的办法http://roll.sohu.com/20150928/n422268465.shtml
Nero
回复

使用道具 举报

8

主题

382

帖子

1779

积分

金牌会员

Rank: 6Rank: 6

积分
1779
金钱
1397
HASS币
0
发表于 2021-3-21 16:59:18 | 显示全部楼层
neroxps 发表于 2021-3-21 15:54
买张飞机票~带上机器,飞到国外,找家机场附近的网吧,装好一切,再飞回来~

参考古巴人民的办法http://r ...

哈哈哈,已搭了梯子,还要买机票吗?
回复

使用道具 举报

0

主题

53

帖子

456

积分

中级会员

Rank: 3Rank: 3

积分
456
金钱
403
HASS币
0
发表于 2021-3-21 23:02:51 | 显示全部楼层
asdasdqqq 发表于 2021-3-7 04:09
Armbian_20.10_Arm-64_bionic_current_5.9.0.img.xz
Armbian_20.10_Arm-64_bullseye_current_5.9.0.img.x ...

我也下载了这个版本,安装完跑脚本的时候为啥第一步换源就说不识别系统版本呢?
回复

使用道具 举报

0

主题

2

帖子

6

积分

新手上路

Rank: 1

积分
6
金钱
4
HASS币
0
发表于 2021-3-23 19:04:45 | 显示全部楼层
这个帖子写的好,对新手相当的友好。

回复

使用道具 举报

0

主题

3

帖子

24

积分

新手上路

Rank: 1

积分
24
金钱
21
HASS币
0
发表于 2021-3-25 10:13:02 | 显示全部楼层
21-03-25 01:52:38 ERROR (SyncWorker_1) [supervisor.docker] Can't create container from hassio_dns: 400 Client Error for http+docker://localhost/v1.41/containers/create?name=hassio_dns: Bad Request ("create yes/dns: "yes/dns" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path")
21-03-25 01:52:38 ERROR (MainThread) [supervisor.plugins.dns] Can't start CoreDNS plugin
21-03-25 01:52:38 ERROR (MainThread) [supervisor.misc.tasks] CoreDNS watchdog reanimation failed!
21-03-25 01:53:23 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with PulseAudio plugin!
21-03-25 01:53:23 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
21-03-25 01:53:23 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with CoreDNS plugin!
21-03-25 01:53:23 ERROR (SyncWorker_2) [supervisor.docker] Can't create container from hassio_audio: 400 Client Error for http+docker://localhost/v1.41/containers/create?name=hassio_audio: Bad Request ("create yes/audio: "yes/audio" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path")
21-03-25 01:53:23 ERROR (MainThread) [supervisor.plugins.audio] Can't start Audio plugin
21-03-25 01:53:23 ERROR (MainThread) [supervisor.misc.tasks] PulseAudio watchdog reanimation failed!
21-03-25 01:53:23 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
21-03-25 01:53:23 ERROR (SyncWorker_3) [supervisor.docker] Can't create container from hassio_dns: 400 Client Error for http+docker://localhost/v1.41/containers/create?name=hassio_dns: Bad Request ("create yes/dns: "yes/dns" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path")
21-03-25 01:53:23 ERROR (MainThread) [supervisor.plugins.dns] Can't start CoreDNS plugin
21-03-25 01:53:23 ERROR (MainThread) [supervisor.misc.tasks] CoreDNS watchdog reanimation failed!
21-03-25 01:53:53 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with CoreDNS plugin!
21-03-25 01:53:53 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
21-03-25 01:53:53 ERROR (SyncWorker_2) [supervisor.docker] Can't create container from hassio_dns: 400 Client Error for http+docker://localhost/v1.41/containers/create?name=hassio_dns: Bad Request ("create yes/dns: "yes/dns" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path")
21-03-25 01:53:53 ERROR (MainThread) [supervisor.plugins.dns] Can't start CoreDNS plugin
21-03-25 01:53:53 ERROR (MainThread) [supervisor.misc.tasks] CoreDNS watchdog reanimation failed!
21-03-25 01:54:23 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with PulseAudio plugin!

n大,自动安装老提示这个,不明原因
回复

使用道具 举报

10

主题

86

帖子

807

积分

高级会员

Rank: 4

积分
807
金钱
721
HASS币
0
发表于 2021-3-28 07:55:07 | 显示全部楼层
21-03-27 23:45:11 INFO (MainThread) [supervisor.hassos] No Home Assistant Operating System found21-03-27 23:45:11 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/hassio-addons/repository repository21-03-27 23:45:11 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository21-03-27 23:47:11 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 --depth=1 --recursive --shallow-submodules -v 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/': Empty reply from server'.21-03-27 23:47:11 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / core21-03-27 23:47:11 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / core21-03-27 23:47:11 ERROR (MainThread) [supervisor.store] Can't load data from repository core21-03-27 23:47:11 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/hassio-addons/repository repository: Cmd('git') failed due to: exit code(128)  cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/hassio-addons/repository /data/addons/git/a0d7b954  stderr: 'Cloning into '/data/addons/git/a0d7b954'...fatal: unable to access 'https://github.com/hassio-addons/repository/': Empty reply from server'.21-03-27 23:47:11 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / a0d7b95421-03-27 23:47:11 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / a0d7b95421-03-27 23:47:11 ERROR (MainThread) [supervisor.store] Can't load data from repository https://github.com/hassio-addons/repository21-03-27 23:47:11 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove21-03-27 23:47:11 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons21-03-27 23:47:11 INFO (MainThread) [supervisor.snapshots] Found 0 snapshot files21-03-27 23:47:11 INFO (MainThread) [supervisor.discovery] Loaded 0 messages21-03-27 23:47:11 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions21-03-27 23:47:11 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP21-03-27 23:47:11 INFO (MainThread) [supervisor.resolution.check] System checks complete21-03-27 23:47:11 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP21-03-27 23:47:11 WARNING (MainThread) [supervisor.resolution.evaluations.base] Detected unsupported OS: Raspbian GNU/Linux 10 (buster) (more-info: https://www.home-assistant.io/more-info/unsupported/os)21-03-27 23:47:11 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete21-03-27 23:47:11 INFO (MainThread) [__main__] Running Supervisor21-03-27 23:47:11 WARNING (MainThread) [supervisor.core] System running in a unsupported environment!
回复

使用道具 举报

0

主题

6

帖子

227

积分

中级会员

Rank: 3Rank: 3

积分
227
金钱
221
HASS币
0
发表于 2021-4-2 14:38:43 | 显示全部楼层
请教个问题,N1刷的openwrt,里面docker安装的hassio。以前没有问题,估计中间升级了,突然上周出现开机一会就登录不是ha和openwrt了,一度怀疑固件问题,反复重刷找问题,最终发现,hassio_audio只要开着一直把内存拉到飙升,最终导致死机,docker里删除了audio就可以了,但是ha里日志一直报错,是这个版本的问题吗,具体怎么解决
21-04-02 06:34:00 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with PulseAudio plugin!
21-04-02 06:34:00 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
21-04-02 06:34:00 ERROR (SyncWorker_4) [supervisor.docker] Image homeassistant/aarch64-hassio-audio not exists for hassio_audio
21-04-02 06:34:00 ERROR (MainThread) [supervisor.plugins.audio] Can't start Audio plugin
21-04-02 06:34:00 ERROR (MainThread) [supervisor.misc.tasks] PulseAudio watchdog reanimation failed!
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-22 06:17 , Processed in 1.575567 second(s), 36 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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