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

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

HASSIO 安装一键脚本

   关闭 [复制链接]

0

主题

21

帖子

279

积分

中级会员

Rank: 3Rank: 3

积分
279
金钱
258
HASS币
0
发表于 2021-5-9 16:21:47 | 显示全部楼层
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution
Unit hassio-supervisor.service could not be found.

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### Script Version: 2021.04.09.0###########################
########################### System version ###########################
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal
########################### System version 2 ###########################
Linux version 5.8.0-50-generic (buildd@lgw01-amd64-030) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 UTC 2021
########################### System info ###########################
Linux Ubuntu-wmgylc 5.8.0-50-generic #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
########################### END ###########################
安装 hassio 失败,请将上方安装信息发送到论坛询问。脚本退出...

应该是dns的问题?可以出国,脚本将网关设置为路由器之后,我自己手动pull镜像都是可以的,但是不知道为什么脚本就是没法pull
回复

使用道具 举报

13

主题

220

帖子

644

积分

高级会员

Rank: 4

积分
644
金钱
422
HASS币
0
发表于 2021-5-10 16:39:42 | 显示全部楼层
不错,没有隐藏还是要回复下
回复

使用道具 举报

2

主题

84

帖子

952

积分

高级会员

Rank: 4

积分
952
金钱
868
HASS币
0
发表于 2021-5-11 18:30:08 | 显示全部楼层
neroxps 发表于 2021-3-10 13:17
换 KMV  的虚拟机 CT 不能装 docker

老大,我用PVE 安装上docker了啊,现在卡在
“[info] 等待 homeassistant 启动(由于 hassio 启动需要从 github pull addons 的库,所以启动速度视 pull 速度而定。)
卡在这里一直不动,强行退出docker可以正常使用
回复

使用道具 举报

35

主题

984

帖子

4744

积分

论坛元老

Rank: 8Rank: 8

积分
4744
金钱
3760
HASS币
20
发表于 2021-5-16 07:42:28 | 显示全部楼层
本帖最后由 sctale 于 2021-5-16 16:37 编辑

N大,我用的你的一键安装方式。环境为X86_64软路由+Debian10,有配置科学环境的旁路由。其他一直用得好好的,但是会间歇性丢失AddOns市场,前面几次都用恢复上一版本的方式恢复了,但是这次不行。
~~~找到解决方法了,单独重启supervisor 能解决这个问题,addon市场回来了。

Supervisor日志如下:
21-05-16 00:32:22 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-05-16 00:32:22 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-05-16 00:32:29 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
21-05-16 00:32:31 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
21-05-16 00:32:31 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
21-05-16 00:32:31 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
21-05-16 00:32:48 INFO (MainThread) [supervisor.snapshots] Found 18 snapshot files
21-05-16 00:35:53 INFO (MainThread) [supervisor.snapshots] Found 18 snapshot files
21-05-16 00:38:37 INFO (MainThread) [supervisor.snapshots] Found 18 snapshot files
21-05-16 00:39:47 INFO (MainThread) [supervisor.snapshots] Found 18 snapshot files
21-05-16 00:46:59 INFO (MainThread) [supervisor.snapshots] Found 18 snapshot files
21-05-16 00:47:00 INFO (MainThread) [supervisor.snapshots] Found 18 snapshot files
21-05-16 00:47:15 INFO (MainThread) [supervisor.snapshots] Found 18 snapshot files
21-05-16 00:47:19 INFO (MainThread) [supervisor.snapshots] Found 18 snapshot files
21-05-16 00:50:25 INFO (MainThread) [supervisor.snapshots] Found 18 snapshot files
21-05-16 00:50:27 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
21-05-16 00:50:27 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
21-05-16 00:50:27 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
21-05-16 00:50:27 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
21-05-16 00:50:27 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-05-16 00:50:27 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-05-16 00:50:27 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-05-16 00:50:27 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
21-05-16 00:50:27 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: core
21-05-16 00:50:27 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!
21-05-16 00:50:27 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
21-05-16 00:50:35 INFO (MainThread) [supervisor.snapshots] Creating new full-snapshot with slug 540b2e68
21-05-16 00:50:35 INFO (MainThread) [supervisor.snapshots] Snapshotting 540b2e68 store Add-ons
21-05-16 00:50:35 INFO (MainThread) [supervisor.addons.addon] Building snapshot for add-on core_mosquitto
21-05-16 00:50:35 INFO (MainThread) [supervisor.addons.addon] Finish snapshot for addon core_mosquitto
21-05-16 00:50:35 INFO (MainThread) [supervisor.addons.addon] Building snapshot for add-on core_ssh
21-05-16 00:50:36 INFO (MainThread) [supervisor.addons.addon] Finish snapshot for addon core_ssh
21-05-16 00:50:36 INFO (MainThread) [supervisor.addons.addon] Building snapshot for add-on core_configurator
21-05-16 00:50:36 INFO (MainThread) [supervisor.addons.addon] Finish snapshot for addon core_configurator
21-05-16 00:50:36 INFO (MainThread) [supervisor.addons.addon] Building snapshot for add-on a0d7b954_nodered
21-05-16 00:50:36 INFO (MainThread) [supervisor.addons.addon] Finish snapshot for addon a0d7b954_nodered
21-05-16 00:50:47 INFO (SyncWorker_3) [supervisor.docker.addon] Export image e0302994/amd64-addon-ewelink_smart_home_slug to /data/tmp/tmp8ru_nq78/image.tar
21-05-16 00:50:48 INFO (SyncWorker_3) [supervisor.docker.addon] Export image e0302994/amd64-addon-ewelink_smart_home_slug done
21-05-16 00:50:48 INFO (MainThread) [supervisor.addons.addon] Building snapshot for add-on e0302994_ewelink_smart_home_slug
21-05-16 00:51:38 INFO (MainThread) [supervisor.addons.addon] Finish snapshot for addon e0302994_ewelink_smart_home_slug
21-05-16 00:51:38 INFO (MainThread) [supervisor.snapshots] Snapshotting 540b2e68 store folders
21-05-16 00:51:38 INFO (SyncWorker_1) [supervisor.snapshots.snapshot] Snapshot folder homeassistant
21-05-16 00:51:48 INFO (SyncWorker_1) [supervisor.snapshots.snapshot] Snapshot folder homeassistant done
21-05-16 00:51:48 INFO (SyncWorker_0) [supervisor.snapshots.snapshot] Snapshot folder media
21-05-16 00:51:48 INFO (SyncWorker_0) [supervisor.snapshots.snapshot] Snapshot folder media done
21-05-16 00:51:48 INFO (SyncWorker_1) [supervisor.snapshots.snapshot] Snapshot folder share
21-05-16 00:51:48 INFO (SyncWorker_1) [supervisor.snapshots.snapshot] Snapshot folder share done
21-05-16 00:51:48 INFO (SyncWorker_1) [supervisor.snapshots.snapshot] Snapshot folder addons/local
21-05-16 00:51:48 INFO (SyncWorker_1) [supervisor.snapshots.snapshot] Snapshot folder addons/local done
21-05-16 00:51:48 INFO (SyncWorker_1) [supervisor.snapshots.snapshot] Snapshot folder ssl
21-05-16 00:51:48 INFO (SyncWorker_1) [supervisor.snapshots.snapshot] Snapshot folder ssl done
21-05-16 00:51:48 INFO (MainThread) [supervisor.snapshots] Creating full-snapshot with slug 540b2e68 completed
21-05-16 00:58:10 INFO (MainThread) [supervisor.host.info] Updating local host information
21-05-16 00:58:11 INFO (MainThread) [supervisor.host.services] Updating service information
21-05-16 00:58:11 INFO (MainThread) [supervisor.host.network] Updating local network information
21-05-16 00:58:12 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-05-16 00:58:12 INFO (MainThread) [supervisor.host] Host information reload completed
21-05-16 01:46:26 INFO (MainThread) [supervisor.snapshots] Found 19 snapshot files
21-05-16 01:46:30 INFO (MainThread) [supervisor.snapshots] Found 19 snapshot files
21-05-16 01:47:22 INFO (MainThread) [supervisor.snapshots] Found 19 snapshot files
21-05-16 01:50:27 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
21-05-16 01:50:27 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
21-05-16 01:50:27 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
21-05-16 01:50:27 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
21-05-16 01:50:27 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-05-16 01:50:27 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-05-16 01:50:27 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-05-16 01:50:27 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
21-05-16 01:50:27 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: core
21-05-16 01:50:27 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!
21-05-16 01:50:27 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
21-05-16 01:50:27 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-05-16 01:51:30 INFO (MainThread) [supervisor.store.git] Update add-on https://gitee.com/eWeLink/Home-Assistant-AddOn repository
21-05-16 01:51:30 WARNING (MainThread) [supervisor.store.git] No valid repository for https://github.com/home-assistant/addons
21-05-16 01:51:31 INFO (MainThread) [supervisor.store] Loading add-ons from store: 1 all - 0 new - 0 remove
21-05-16 01:51:31 INFO (MainThread) [supervisor.store] Loading add-ons from store: 1 all - 0 new - 0 remove
21-05-16 02:17:58 INFO (MainThread) [supervisor.snapshots] Found 19 snapshot files
21-05-16 02:21:04 INFO (MainThread) [supervisor.snapshots] Found 19 snapshot files

                               
登录/注册后可看大图

004.png
005.png
回复

使用道具 举报

12

主题

116

帖子

437

积分

论坛分享达人

积分
437
金钱
321
HASS币
0
发表于 2021-5-16 13:54:30 | 显示全部楼层
################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### Script Version: 2021.04.09.0###########################
########################### System version ###########################
Distributor ID:        Raspbian
Description:        Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:        buster
########################### System version 2 ###########################
Linux version 5.10.17-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1403 SMP Mon Feb 22 11:29:51 GMT 2021
########################### System info ###########################
Linux raspberrypi 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l GNU/Linux
########################### END ###########################
用户选择退出脚本.

运行安装脚本报错
回复

使用道具 举报

1

主题

16

帖子

142

积分

注册会员

Rank: 2

积分
142
金钱
126
HASS币
0
发表于 2021-5-18 11:19:05 | 显示全部楼层
heize 发表于 2021-5-6 17:46
这个脚本现在不翻墙就不让用?而且我这提示问题都是乱码。。。树莓派3最新的官方系统 ...

树莓派3直接上hassos吧,还指着它带啥服务么
回复

使用道具 举报

1

主题

16

帖子

142

积分

注册会员

Rank: 2

积分
142
金钱
126
HASS币
0
发表于 2021-5-18 11:21:56 | 显示全部楼层
chucheng 发表于 2021-4-13 17:20
root@aml:~# ./install.sh
(1). 你是否有“出国旅游”环境,如果没有建议停止使用 supervisor(hassio)
     ...

可以改脚本跳过出国项目
回复

使用道具 举报

1

主题

16

帖子

142

积分

注册会员

Rank: 2

积分
142
金钱
126
HASS币
0
发表于 2021-5-18 11:28:32 | 显示全部楼层
试了ubuntu21.4,老电脑福音,以前20.4 卡的一匹,设备think10,正好不用了,拿来做服务器,改大神脚本安装的hassio,成功安装
回复

使用道具 举报

1

主题

28

帖子

335

积分

中级会员

Rank: 3Rank: 3

积分
335
金钱
307
HASS币
0
发表于 2021-5-25 10:17:41 | 显示全部楼层
支持!!!!!!
回复

使用道具 举报

5

主题

250

帖子

772

积分

高级会员

Rank: 4

积分
772
金钱
522
HASS币
0
发表于 2021-5-30 09:56:17 | 显示全部楼层
本帖最后由 vinny2019 于 2021-5-30 09:57 编辑

我ubuntu18.0.4  安装一键脚本,一直卡代码,请问怎么解决?以前我安装过没问题,现在系统重做了

代码是:等待coreDNS的hosts文件生成后写入github hosts   一直卡这里无法继续

环境:esxi+ubuntu虚拟机,然后ssh进去安装一键脚本
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-27 06:31 , Processed in 0.065764 second(s), 33 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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