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

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

HASSIO 安装一键脚本

   关闭 [复制链接]

65

主题

853

帖子

3044

积分

论坛元老

Rank: 8Rank: 8

积分
3044
金钱
2184
HASS币
40
发表于 2021-4-29 16:42:39 | 显示全部楼层
neroxps 发表于 2018-8-11 08:31
N1 要先刷好系统,我没N1 不知道N1情况如何

好久没弄hass了,昨天一看,原来的一块raspberry3B,丢在某某某一个偏僻的小房间(之前搭建了一个最小化的hassio环境用于温湿度、视频+动力环境监控等等,不知不觉就跑了1年多),今天抽空过去看了下,挂了,SD卡出问题了。这不,换了张卡,重新部署发现之前自己备的教程已经不适用了(好多链接都失效了,要么被墙,要么源失效)。
无奈,想偷懒,直接官网img烧录SD镜像后,启动发现没有官方市场(国外旅游模式下居然没有市场!!!)。晕!查了半天log说是repo访问失败,晕了个菜,手动添加repo能出来,但是不完整,很是费解,只好重新下载最新raspos部署rasbian,然后一步一步。。换源、依赖包、docer环境,等等等。。弄完来爬坛才发现,原来Nero的一键版本已经做得这么完善了!!!!
OMG!这么好的东西,为啥找没发现,于是乎默默打开github desktop....偷偷做个备用源,不违规吧
再次感谢大神精心制作一键脚本,虽然没用上,但留着总能救个急(偷个懒
回复

使用道具 举报

0

主题

19

帖子

125

积分

注册会员

Rank: 2

积分
125
金钱
106
HASS币
0
发表于 2021-4-30 22:23:16 | 显示全部楼层
debian 10.9 安装不了docker怎么回事


################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### Script Version: 2021.04.09.0###########################
########################### System version ###########################
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
########################### System version 2 ###########################
Linux version 4.19.0-16-686-pae ([email protected]) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.181-1 (2021-03-19)
########################### System info ###########################
Linux debian 4.19.0-16-686-pae #1 SMP Debian 4.19.181-1 (2021-03-19) i686 GNU/Linux
########################### END ###########################
Docker 安装失败,请检查上方安装错误信息。 你也可以选择通过搜索引擎,搜索你系统安装docker的方法,安装后重新执行脚本。
回复

使用道具 举报

1

主题

58

帖子

407

积分

中级会员

Rank: 3Rank: 3

积分
407
金钱
349
HASS币
0
发表于 2021-5-2 23:11:11 | 显示全部楼层
现在新版本的homeassistant内置的supervisor除了开发者自身的hoss系统和debian外,ubuntu已经不被支持了,如果想简单得用supervisor的话,目前只能考虑这两个系统了。
回复

使用道具 举报

6

主题

70

帖子

318

积分

中级会员

Rank: 3Rank: 3

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

使用道具 举报

15

主题

221

帖子

1807

积分

金牌会员

Rank: 6Rank: 6

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

没国外旅游啊有没解决办法??
回复

使用道具 举报

0

主题

22

帖子

291

积分

中级会员

Rank: 3Rank: 3

积分
291
金钱
269
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

帖子

4766

积分

论坛元老

Rank: 8Rank: 8

积分
4766
金钱
3782
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 ###########################
用户选择退出脚本.

运行安装脚本报错
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-23 18:15 , Processed in 0.227723 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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