- 积分
- 332
- 金钱
- 280
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
 
- 积分
- 332
- 金钱
- 280
- HASS币
- 0
|
发表于 2020-10-27 07:46:39
|
显示全部楼层
请指导,多谢!
日志如下,是不是dns解析的问题?目前用的是dnsmasq,本地解析,nameserver 233.5.5.5,阿里dns。
-----------------------------------------
install.sh [ <=> ] 26.16K --.-KB/s 用时 0.04s
2020-10-27 03:43:54 (714 KB/s) - “install.sh” 已保存 [26792]
root@raspberrypi:/home/pi# chmod a+x install.sh
root@raspberrypi:/home/pi# ./install.sh
(1). 是否将系统源切换为清华源(目前支持 Debian Ubuntu Raspbian 三款系统)
请输入 y or n(默认 yes):y
(2). 找到该系统中有以下用户名
如下方列表未显示你的用户名,请切换回你用户账号后输入 sudo usermod -aG docker $USER 添加用户到 docker 用户组。
[1]: pi
[2]: systemd-coredump
: 跳过
请输入你需要使用 docker 的用户名序号,以加入 docker 用户组:1
将pi用户添加至 docker 用户组。
(3).是否需要替换 docker 默认源?
请输入 yes 或者 no(默认:yes):y
(4).请选择你设备类型(默认:qemux86)
[1]: intel-nuc: 英特尔的nuc小主机
[2]: odroid-c2: 韩国odroid-c2
[3]: odroid-xu: 韩国odroid-xu
[4]: orangepi-prime: 香橙派
[5]: qemuarm: 通用arm设备(例如斐讯N1)
[6]: qemux86: 通用X86(普通的PC机电脑)
[7]: raspberrypi: 树莓派一代
[8]: raspberrypi2: 树莓派二代
[9]: raspberrypi3: 树莓派三代
[10]: raspberrypi4: 树莓派四代
[11]: tinker: 华硕tinker
输入数字 (1-11):10
你选择了 raspberrypi4
(5).是否需要设置 hassio 数据保存路径(默认:/usr/share/hassio)
请输入 yes 或 no (默认:no):
hassio 数据路径为默认路径: /usr/share/hassio
################################################################################
# 1. 是否将系统源切换为清华源: 是
# 2. 是否将用户添加至 Docker 用户组: 是,添加用户为 pi
# 3. 是否将 Docker 源切换至国内源: 是,切换源选择:
# 4. 您的设备类型为: raspberrypi4
# 5. 您的 hassio 数据路径为: /usr/share/hassio
################################################################################
请确认以上信息,继续请按任意键,如需修改请输入 Ctrl+C 结束任务重新执行脚本。
[info]: 切换系统网络源.....
命中:1 https://mirrors.aliyun.com/docker-ce/linux/raspbian buster InRelease
获取:2 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian buster InRelease [15.0 kB]
获取:3 http://mirrors.tuna.tsinghua.edu.cn/raspberrypi buster InRelease [32.6 kB]
获取:4 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian buster/main Sources [11.3 MB]
获取:5 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian buster/main armhf Packages [13.0 MB]
获取:6 http://mirrors.tuna.tsinghua.edu.cn/raspberrypi buster/main armhf Packages [331 kB]
已下载 24.7 MB,耗时 12秒 (2,052 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 5 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
[info]: 安装 hassio 必要依赖.....
命中:1 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian buster InRelease
命中:2 https://mirrors.aliyun.com/docker-ce/linux/raspbian buster InRelease
命中:3 http://mirrors.tuna.tsinghua.edu.cn/raspberrypi buster InRelease
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 5 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
apparmor 已经是最新版 (2.13.2-10)。
apparmor-utils 已经是最新版 (2.13.2-10)。
auditd 已经是最新版 (1:2.8.4-3)。
avahi-daemon 已经是最新版 (0.7-4+b1)。
curl 已经是最新版 (7.64.0-4+deb10u1)。
jq 已经是最新版 (1.5+dfsg-2+b1)。
net-tools 已经是最新版 (1.60+git20180626.aebd88e-1)。
network-manager 已经是最新版 (1.14.6-2+deb10u1)。
qrencode 已经是最新版 (4.0.2-1)。
socat 已经是最新版 (1.7.3.2-2)。
下列软件包是自动安装的并且现在不需要了:
libexiv2-14 libgfortran3 libgmime-2.6-0 libssl1.0.2 uuid-dev
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 5 个软件包未被升级。
/usr/bin/docker
[info]: 发现系统已安装 docker,跳过 docker 安装
[info]: 切换 Docker 源为国内源....
[info]: 切换国内源完成
[info]: 安装 hassio......
下载 hassio_install.sh 官方脚本 第1次
##O#- #
从 hub.docker.com 下载 homeassistant/raspberrypi4-homeassistant:0.116.4......
0.116.4: Pulling from homeassistant/raspberrypi4-homeassistant
52278dd8e579: Pulling fs layer
b4d7fdc86b1d: Pulling fs layer
4c93d9798faf: Downloading
6ff41efd4f0c: Waiting
8a3070ca2f1e: Waiting
4097be5d414e: Waiting
ec4ae3a1ecae: Waiting
b09baab91ec4: Waiting
c2f304feec35: Waiting
32af614b8880: Waiting
bec1cb534995: Waiting
fa0b3565b205: Waiting
0872e84ffeca: Waiting
709d1b6e0ba3: Waiting
69767f27d76a: Waiting
28c728663407: Waiting
7e72d27a6271: Waiting
5e06ed680131: Waiting
aa9e0fd4c1da: Waiting
08af834375ea: Waiting
9570fde4f0c2: Waiting
51ed5727788c: Waiting
68b326c2eb71: Waiting
49a803eb6c21: Waiting
1c84b45c7660: Waiting
0.116.4: Pulling from homeassistant/raspberrypi4-homeassistant
52278dd8e579: Pulling fs layer
b4d7fdc86b1d: Pulling fs layer
b4d7fdc86b1d: Pull complete
6ff41efd4f0c: Download complete
8a3070ca2f1e: Downloading
4097be5d414e: Download complete
ec4ae3a1ecae: Download complete
b09baab91ec4: Download complete
c2f304feec35: Download complete
32af614b8880: Download complete
bec1cb534995: Download complete
fa0b3565b205: Download complete
0872e84ffeca: Download complete
709d1b6e0ba3: Download complete
69767f27d76a: Download complete
28c728663407: Download complete
7e72d27a6271: Download complete
5e06ed680131: Download complete
aa9e0fd4c1da: Download complete
08af834375ea: Download complete
9570fde4f0c2: Download complete
51ed5727788c: Download complete
68b326c2eb71: Download complete
49a803eb6c21: Download complete
1c84b45c7660: Download complete
0.116.4: Pulling from homeassistant/raspberrypi4-homeassistant
52278dd8e579: Pulling fs layer
b4d7fdc86b1d: Pulling fs layer
4c93d9798faf: Pull complete
6ff41efd4f0c: Pull complete
8a3070ca2f1e: Pull complete
4097be5d414e: Pull complete
ec4ae3a1ecae: Pull complete
b09baab91ec4: Pull complete
c2f304feec35: Pull complete
32af614b8880: Pull complete
bec1cb534995: Pull complete
fa0b3565b205: Pull complete
0872e84ffeca: Pull complete
709d1b6e0ba3: Pull complete
69767f27d76a: Pull complete
28c728663407: Pull complete
7e72d27a6271: Pull complete
5e06ed680131: Pull complete
aa9e0fd4c1da: Pull complete
08af834375ea: Pull complete
9570fde4f0c2: Pull complete
51ed5727788c: Pull complete
68b326c2eb71: Pull complete
49a803eb6c21: Pull complete
1c84b45c7660: Pull complete
Digest: sha256:b6d98b03abf9cbb0bc359dea0d50c55894ad27d8574e88937322e74bec905aa4
Status: Downloaded newer image for homeassistant/raspberrypi4-homeassistant:0.116.4
docker.io/homeassistant/raspberrypi4-homeassistant:0.116.4
开始 hassio 安装流程。(如出现 [Warning] 请忽略,无须理会)
[warn]
[warn] If you want more control over your own system, run
[warn] Home Assistant as a VM or run Home Assistant Core
[warn] via a Docker container.
[warn]
[warn] If you want to abort, hit ctrl+c within 10 seconds...
[warn]
[warn] ModemManager service is enabled. This might cause issue when using serial devices.
[warn] Docker is using json-file and not 'journald' as the logging driver, this is not supported.
[info] Creating NetworkManager configuration
[warn] Changes are needed to the /etc/network/interfaces file
[info] If you have modified the network on the host manualy, those can now be overwritten
[info] If you do not overwrite this now you need to manually adjust it later
[info] Do you want to proceed with that? [N/y]
y
[info] Replacing /etc/network/interfaces
[info] Restarting NetworkManager
[info] Install supervisor Docker container
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 127.0.0.1:53: server misbehaving
Unit hassio-supervisor.service could not be found.
################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
########################### System version 2 ###########################
Linux version 5.4.72-v7l+ (dom@buildbot) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #1356 SMP Thu Oct 22 13:57:51 BST 2020
########################### System info ###########################
Linux raspberrypi 5.4.72-v7l+ #1356 SMP Thu Oct 22 13:57:51 BST 2020 armv7l GNU/Linux
########################### END ###########################
安装 hassio 失败,请将上方安装信息发送到论坛询问。脚本退出...
|
|