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

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

HASSIO 安装一键脚本

   关闭 [复制链接]

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-8-14 11:26:19 | 显示全部楼层
xjydl 发表于 2020-8-14 11:04
在root下执行ls -al /etc/apt/apt.conf.d/ 后还是一样的提示,不知道哪里出了问题。
昨天又装了debian, ...

我意思是让你看看这个目录下有啥文件,是不是有一个 proxy.conf 的文件。设了代理啥的你自己不知道。
Nero
回复

使用道具 举报

0

主题

5

帖子

86

积分

注册会员

Rank: 2

积分
86
金钱
81
HASS币
0
发表于 2020-8-14 14:16:45 | 显示全部楼层
本帖最后由 xjydl 于 2020-8-14 15:04 编辑
neroxps 发表于 2020-8-14 11:26
我意思是让你看看这个目录下有啥文件,是不是有一个 proxy.conf 的文件。设了代理啥的你自己不知道。 ...
nero大大,这个帖子不用回答了,我重装了ubuntu,可以用一键脚本正常安装了。


root@ubuntuserver:~# ls -al /etc/apt/apt.conf.d/
total 56
drwxr-xr-x 2 root root 4096 Feb  3  2020 .
drwxr-xr-x 7 root root 4096 Aug 12 19:19 ..
-rw-r--r-- 1 root root 1018 Sep  3  2019 01autoremove
-r--r--r-- 1 root root 1081 Feb  3  2020 01autoremove-kernels
-rw-r--r-- 1 root root   42 Apr 20  2018 01-vendor-ubuntu
-rw-r--r-- 1 root root  129 Nov 12  2018 10periodic
-rw-r--r-- 1 root root  108 Nov 12  2018 15update-stamp
-rw-r--r-- 1 root root   85 Nov 12  2018 20archive
-rw-r--r-- 1 root root   80 Nov 25  2019 20auto-upgrades
-rw-r--r-- 1 root root  114 Oct 30  2019 20snapd.conf
-rw-r--r-- 1 root root  625 Mar 16  2018 50command-not-found
-rw-r--r-- 1 root root 3728 Nov 25  2019 50unattended-upgrades
-rw-r--r-- 1 root root  182 Feb 28  2018 70debconf
-rw-r--r-- 1 root root  305 Nov 12  2018 99update-notifier
回复

使用道具 举报

8

主题

83

帖子

811

积分

论坛技术达人

积分
811
金钱
728
HASS币
20
发表于 2020-8-14 23:39:09 | 显示全部楼层
一键安装后,正常进入界面,但是一点击Supervisor中的任意插件就报错,求修正docker版本问题

20-08-14 15:20:29 INFO (MainThread) [supervisor.bootstrap] Create Supervisor SSL/TLS folder /data/ssl
20-08-14 15:20:29 INFO (MainThread) [supervisor.bootstrap] Create Supervisor Add-on data folder /data/addons/data
20-08-14 15:20:29 INFO (MainThread) [supervisor.bootstrap] Create Supervisor Add-on local repository folder /data/addons/local
20-08-14 15:20:29 INFO (MainThread) [supervisor.bootstrap] Create Supervisor Add-on git repositories folder /data/addons/git
20-08-14 15:20:29 INFO (MainThread) [supervisor.bootstrap] Create Supervisor temp folder /data/tmp
20-08-14 15:20:29 INFO (MainThread) [supervisor.bootstrap] Create Supervisor backup folder /data/backup
20-08-14 15:20:29 INFO (MainThread) [supervisor.bootstrap] Create Supervisor share folder /data/share
20-08-14 15:20:29 INFO (MainThread) [supervisor.bootstrap] Create Supervisor DNS folder /data/dns
20-08-14 15:20:29 INFO (MainThread) [supervisor.bootstrap] Create Supervisor audio folder /data/audio
20-08-14 15:20:30 INFO (MainThread) [supervisor.bootstrap] Setup coresys for machine: qemux86-64
20-08-14 15:20:30 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attach to Supervisor homeassistant/amd64-hassio-supervisor with version 232
20-08-14 15:20:30 INFO (SyncWorker_0) [supervisor.docker.supervisor] Connect Supervisor to hassio Network
20-08-14 15:20:30 ERROR (MainThread) [supervisor.core] Docker version 18.09.7 is not supported by Supervisor!
20-08-14 15:20:30 ERROR (MainThread) [supervisor.docker] Docker logging driver json-file is not supported!
20-08-14 15:20:30 INFO (MainThread) [__main__] Setup Supervisor
20-08-14 15:20:30 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
20-08-14 15:20:30 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
20-08-14 15:20:30 WARNING (MainThread) [supervisor.dbus.rauc] Host has no rauc support. OTA updates have been disabled.
20-08-14 15:20:30 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.NetworkManager - /org/freedesktop/NetworkManager/DnsManager
20-08-14 15:20:30 INFO (MainThread) [supervisor.host.info] Update local host information
20-08-14 15:20:30 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-08-14 15:20:31 INFO (MainThread) [supervisor.host.services] Update service information
20-08-14 15:20:31 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-08-14 15:20:31 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-08-14 15:20:31 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-08-14 15:20:31 ERROR (MainThread) [supervisor.utils.gdbus] DBus return error: Error: GDBus.Errorrg.freedesktop.DBus.Error.UnknownMethod: 在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/DnsManager 接口
20-08-14 15:20:31 WARNING (MainThread) [supervisor.host.network] Can't update host DNS system information!
20-08-14 15:20:31 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-08-14 15:20:31 INFO (MainThread) [supervisor.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'}
20-08-14 15:20:31 INFO (MainThread) [supervisor.host.services] Reload local service hassio-apparmor.service
20-08-14 15:20:31 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ReloadOrRestartUnit on /org/freedesktop/systemd1
20-08-14 15:20:31 INFO (MainThread) [supervisor.plugins.dns] No CoreDNS plugin Docker image homeassistant/amd64-hassio-dns found.
20-08-14 15:20:31 INFO (MainThread) [supervisor.plugins.dns] Setup CoreDNS plugin
20-08-14 15:20:31 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-14 15:20:41 WARNING (MainThread) [supervisor.updater] Can't fetch versions from https://version.home-assistant.io/stable.json:
20-08-14 15:20:41 WARNING (MainThread) [supervisor.plugins.dns] Error on install CoreDNS plugin. Retry in 30sec
20-08-14 15:21:11 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-14 15:21:19 INFO (SyncWorker_0) [supervisor.docker.interface] Pull image homeassistant/amd64-hassio-dns tag 9.
20-08-14 15:21:41 INFO (MainThread) [supervisor.plugins.dns] CoreDNS plugin now installed
20-08-14 15:21:41 INFO (MainThread) [supervisor.misc.forwarder] Start DNS port forwarding to 172.30.32.3
20-08-14 15:21:41 INFO (MainThread) [supervisor.plugins.dns] Start CoreDNS plugin
20-08-14 15:21:42 INFO (SyncWorker_0) [supervisor.docker.dns] Start DNS homeassistant/amd64-hassio-dns with version 9 - 172.30.32.3
20-08-14 15:21:42 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
20-08-14 15:21:42 INFO (MainThread) [supervisor.plugins.audio] No Audio plugin Docker image homeassistant/amd64-hassio-audio found.
20-08-14 15:21:42 INFO (MainThread) [supervisor.plugins.audio] Setup Audio plugin
20-08-14 15:21:42 INFO (SyncWorker_0) [supervisor.docker.interface] Pull image homeassistant/amd64-hassio-audio tag 17.
20-08-14 15:22:00 INFO (MainThread) [supervisor.plugins.audio] Audio plugin now installed
20-08-14 15:22:00 INFO (MainThread) [supervisor.plugins.audio] Start Audio plugin
20-08-14 15:22:01 INFO (SyncWorker_0) [supervisor.docker.audio] Start Audio homeassistant/amd64-hassio-audio with version 17 - 172.30.32.4
20-08-14 15:22:01 INFO (MainThread) [supervisor.plugins.cli] No cli plugin Docker image homeassistant/amd64-hassio-cli found.
20-08-14 15:22:01 INFO (MainThread) [supervisor.plugins.cli] Setup cli plugin
20-08-14 15:22:01 INFO (SyncWorker_0) [supervisor.docker.interface] Pull image homeassistant/amd64-hassio-cli tag 25.
20-08-14 15:22:21 INFO (SyncWorker_0) [supervisor.docker.interface] Tag image homeassistant/amd64-hassio-cli with version 25 as latest
20-08-14 15:22:21 INFO (MainThread) [supervisor.plugins.cli] cli plugin now installed
20-08-14 15:22:21 INFO (MainThread) [supervisor.plugins.cli] Start cli plugin
20-08-14 15:22:22 INFO (SyncWorker_0) [supervisor.docker.cli] Start CLI homeassistant/amd64-hassio-cli with version 25 - 172.30.32.5
20-08-14 15:22:22 INFO (MainThread) [supervisor.plugins.multicast] No Multicast plugin Docker image homeassistant/amd64-hassio-multicast found.
20-08-14 15:22:22 INFO (MainThread) [supervisor.plugins.multicast] Setup Multicast plugin
20-08-14 15:22:22 INFO (SyncWorker_0) [supervisor.docker.interface] Pull image homeassistant/amd64-hassio-multicast tag 2.
20-08-14 15:22:40 INFO (MainThread) [supervisor.plugins.multicast] Multicast plugin now installed
20-08-14 15:22:40 INFO (MainThread) [supervisor.plugins.multicast] Start Multicast plugin
20-08-14 15:22:41 INFO (SyncWorker_0) [supervisor.docker.multicast] Start Multicast homeassistant/amd64-hassio-multicast with version 2 - Host
20-08-14 15:22:41 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-14 15:22:51 WARNING (MainThread) [supervisor.updater] Can't fetch versions from https://version.home-assistant.io/stable.json:
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-8-15 11:07:33 | 显示全部楼层
un123 发表于 2020-8-14 23:39
一键安装后,正常进入界面,但是一点击Supervisor中的任意插件就报错,求修正docker版本问题

20-08-14 15: ...

https://github.com/neroxps/hassi ... a71f6900872ccfc2f24

已修复
Nero
回复

使用道具 举报

0

主题

19

帖子

140

积分

注册会员

Rank: 2

积分
140
金钱
121
HASS币
0
发表于 2020-8-16 19:34:11 | 显示全部楼层
本帖最后由 aya4dw 于 2020-8-16 19:48 编辑

N1盒子,armbian,hassio_install安装出错
0.114.1: Pulling from homeassistant/qemuarm-64-homeassistant
b538f80385f9: Pull complete
d9ed40cac2ba: Pull complete
d6a9299143a9: Pull complete
fd658ba597e1: Pull complete
ca3240c22a8e: Pull complete
c084d8dedb27: Pull complete
7de939f6c19c: Pull complete
d4892b80a46a: Pull complete
f1ae2bc5025e: Pull complete
1f6c73b3080c: Pull complete
db902c678339: Pull complete
376ea437637f: Pull complete
a61ae35e58e6: Pull complete
776f827dc62f: Pull complete
abc3cc0f66b1: Pull complete
cdeb9323e516: Pull complete
a4e1c0c48719: Pull complete
8f99c731cf88: Pull complete
6e042e9e2766: Pull complete
448d24bcbb3a: Pull complete
6f04eed295a1: Pull complete
9c104e021def: Pull complete
c48b38836024: Pull complete
Digest: sha256:e558d65356fb53dbe87e45a4205511e8e8373b5fcb5740918870ddec13213dd1
Status: Downloaded newer image for homeassistant/qemuarm-64-homeassistant:0.114.1
docker.io/homeassistant/qemuarm-64-homeassistant:0.114.1
开始 hassio 安装流程。(如出现 [Warning] 请忽略,无须理会)
[Warning]
[Warning] If you want more control over your own system, run
[Warning] Home Assistant as a VM or run Home Assistant Core
[Warning] via a Docker container.
[Warning]
[Error] No AppArmor support on host.
Unit hassio-supervisor.service could not be found.

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID:        Ubuntu
Description:        Ubuntu 18.04.4 LTS
Release:        18.04
Codename:        bionic
########################### System version 2 ###########################
Linux version 5.8.0-arm-64 (root@ibm) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #20.07 SMP PREEMPT Mon Aug 3 15:48:29 UTC 2020
########################### System info ###########################
Linux arm-64 5.8.0-arm-64 #20.07 SMP PREEMPT Mon Aug 3 15:48:29 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
########################### END ###########################
安装 hassio 失败,请将上方安装信息发送到论坛询问。脚本退出...


--------------------------------------

root@arm-64:~/try# curl -sL https://raw.githubusercontent.co ... master/installer.sh | bash -s
[Warning]
[Warning] If you want more control over your own system, run
[Warning] Home Assistant as a VM or run Home Assistant Core
[Warning] via a Docker container.
[Warning]
[Error] No AppArmor support on host.
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-8-17 08:41:38 | 显示全部楼层
aya4dw 发表于 2020-8-16 19:34
N1盒子,armbian,hassio_install安装出错0.114.1: Pulling from homeassistant/qemuarm-64-homeassistantb ...

吧目录的 hassio_install.sh 文件发出来我看看。
Nero
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-8-17 08:48:49 | 显示全部楼层
aya4dw 发表于 2020-8-16 19:34
N1盒子,armbian,hassio_install安装出错0.114.1: Pulling from homeassistant/qemuarm-64-homeassistantb ...

最新的脚本我已经套上 https://cdn.jsdelivr.net/gh/ CDN 国内访问很好啊。

https://cdn.jsdelivr.net/gh/home ... -supervisor.service
你看看能不能下载。
Nero
回复

使用道具 举报

0

主题

19

帖子

140

积分

注册会员

Rank: 2

积分
140
金钱
121
HASS币
0
发表于 2020-8-17 21:23:19 | 显示全部楼层
neroxps 发表于 2020-8-17 08:41
吧目录的 hassio_install.sh 文件发出来我看看。

麻烦您了

hassio_install.sh.zip

2.18 KB, 下载次数: 1

回复

使用道具 举报

0

主题

19

帖子

140

积分

注册会员

Rank: 2

积分
140
金钱
121
HASS币
0
发表于 2020-8-17 21:43:41 | 显示全部楼层
neroxps 发表于 2020-8-17 08:48
最新的脚本我已经套上 https://cdn.jsdelivr.net/gh/ CDN 国内访问很好啊。

https://cdn.jsdelivr.net/g ...

确定了我的网络可以下载
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-8-18 08:38:13 | 显示全部楼层
aya4dw 发表于 2020-8-17 21:43
确定了我的网络可以下载

那么没问题啊,再装试试吧。
Nero
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 11:34 , Processed in 0.511868 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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