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

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

HASSIO 安装一键脚本

   关闭 [复制链接]

0

主题

66

帖子

376

积分

中级会员

Rank: 3Rank: 3

积分
376
金钱
310
HASS币
0
发表于 2018-12-10 02:16:20 | 显示全部楼层
3b+ 用官方的视乎不行,我是手动装的。早看这个好了。
回复

使用道具 举报

0

主题

14

帖子

52

积分

注册会员

Rank: 2

积分
52
金钱
38
HASS币
0
发表于 2018-12-10 11:13:14 | 显示全部楼层
学习学习
回复

使用道具 举报

4

主题

108

帖子

312

积分

中级会员

Rank: 3Rank: 3

积分
312
金钱
204
HASS币
0
发表于 2018-12-11 13:21:31 | 显示全部楼层
老大,香橙派用你脚本 出现这个 知道什么情况吗?


root@orangepizero:~# curl -sL -o install.sh [url]https://raw.githubusercontent.com/neroxps/hassio_install/master/install.sh[/url]
root@orangepizero:~# chmod a+x install.sh
root@orangepizero:~# ./install.sh
(1). 是否将系统源切换为中科大(USTC)源(目前支持 Debian Ubuntu Raspbian 三款系统)
请输入 y or n(默认 yes):y


(2). 在你系统内找到 pi 用户,是否将其添加至 docker 用户组。
请输入 yes 或者 no (默认 yes):y
将pi用户添加至 docker 用户组。


(3).是否需要替换 docker 默认源?
请输入 yes 或者 no(默认:yes):y


(4).请选择你设备类型(默认:qemux86)
    [1]: raspberrypi
    [2]: raspberrypi2
    [3]: raspberrypi3
    [4]: qemuarm
    [5]: qemux86
    [6]: intel-nuc
输入数字 (1-6):5
你选择了 qemux86


(5).是否需要设置 hassio 数据保存路径(默认:/usr/share/hassio)
请输入 yes 或 no (默认:no):
hassio 数据路径为默认路径: /usr/share/hassio
 ################################################################################
 # 1. 是否将系统源切换为中科大(USTC)源: 是
 # 2. 是否将用户添加至 Docker 用户组:   是,添加用户为 pi
 # 3. 是否将 Docker 源切换至国内源:     是
 # 4. 您的设备类型为:                   qemux86
 # 5. 您的 hassio 数据路径为:           /usr/share/hassio
 ################################################################################
请确认以上信息,继续请按任意键,如需修改请输入 Ctrl+C 结束任务重新执行脚本。

[info]: 切换系统网络源.....
Ign:1 [url]http://mirrors.ustc.edu.cn/debian[/url] stretch InRelease
Hit:2 [url]http://mirrors.ustc.edu.cn/debian[/url] stretch-updates InRelease
Hit:3 [url]http://mirrors.ustc.edu.cn/debian[/url] stretch-backports InRelease
Hit:4 [url]http://mirrors.ustc.edu.cn/debian-security[/url] stretch/updates InRelease
Hit:5 [url]http://mirrors.ustc.edu.cn/debian[/url] stretch Release
Hit:6 [url]https://mirrors.aliyun.com/docker-ce/linux/debian[/url] stretch InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
[info]: 更新系统至最新.....
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[info]: 系统更新成功。
[info]: 安装 hassio 必要依赖.....
Reading package lists... Done
Building dependency tree
Reading state information... Done
avahi-daemon is already the newest version (0.6.32-2).
curl is already the newest version (7.52.1-5+deb9u8).
jq is already the newest version (1.5+dfsg-1.3).
net-tools is already the newest version (1.60+git20161116.90da8a0-1).
socat is already the newest version (1.7.3.1-2+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/usr/bin/docker
[info]: 发现系统已安装 docker,跳过 docker 安装
[info]: 切换 Docker 源为国内源....
[info]: 切换国内源完成
[info]: 安装 hassio......
从 hub.docker.com 下载 homeassistant/qemux86-homeassistant:0.83.3......
0.83.3: Pulling from homeassistant/qemux86-homeassistant
Digest: sha256:06d82ade32879e7671fdda19b73cf8e6deb884e32603066fc3fd13155840a069
Status: Image is up to date for homeassistant/qemux86-homeassistant:0.83.3
开始 hassio 安装流程。(如出现 [Warning] 请忽略,无须理会)
[Warning] No AppArmor support on host.
[Info] Install supervisor Docker container
[Info] Install supervisor startup scripts
[Info] Run Hass.io
等待 homeassistant 启动................................................................................................................................                    .......................................................................................................................................................                    ......................fail
########################### Docker images ###########################
REPOSITORY                              TAG                 IMAGE ID            CREATED             SIZE
homeassistant/qemux86-homeassistant     0.83.3              c2db863a2206        7 days ago          1.05GB
homeassistant/qemux86-homeassistant     latest              c2db863a2206        7 days ago          1.05GB
homeassistant/armhf-hassio-supervisor   140                 e4395b6a782d        2 weeks ago         188MB
homeassistant/armhf-hassio-supervisor   latest              e4395b6a782d        2 weeks ago         188MB
########################### Docker ps ###########################
CONTAINER ID        IMAGE                                   COMMAND                  CREATED             STATUS                     PORTS                                   NAMES
9a75710d64b6        homeassistant/qemux86-homeassistant     "/bin/entry.sh pytho…"   4 minutes ago       Exited (1) 4 minutes ago                                           homeassistant
eb1502acb1b1        homeassistant/armhf-hassio-supervisor   "python3 -m hassio"      15 minutes ago      Up 5 minutes                                                       hassio_supervisor
########################### hassio log ###########################
18-12-11 05:01:19 INFO (MainThread) [__main__] Initialize Hass.io setup
18-12-11 05:01:19 INFO (MainThread) [hassio.docker.network] Can't find Hass.io network, create new network
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Home Assistant configuration folder /data/homeassistant
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io SSL/TLS folder /data/ssl
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io Add-on data folder /data/addons/data
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io Add-on local repository folder /data/addons/local
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io Add-on git repositories folder /data/addons/git
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io temp folder /data/tmp
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io backup folder /data/backup
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io share folder /data/share
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io Apparmor folder /data/apparmor
18-12-11 05:01:20 INFO (MainThread) [__main__] Setup HassIO
18-12-11 05:01:20 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to Supervisor homeassistant/armhf-hassio-supervisor with version 140
18-12-11 05:01:22 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.systemd1 on /org/freedesktop/systemd1
18-12-11 05:01:23 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
18-12-11 05:01:23 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.hostname1 on /org/freedesktop/hostname1
18-12-11 05:01:23 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
18-12-11 05:01:23 INFO (MainThread) [hassio.utils.gdbus] Introspect de.pengutronix.rauc on /
18-12-11 05:01:23 ERROR (MainThread) [hassio.utils.gdbus] DBus return error: b'Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name d                    e.pengutronix.rauc was not provided by any .service files\n'
18-12-11 05:01:23 WARNING (MainThread) [hassio.dbus.rauc] Can't connect to rauc
18-12-11 05:01:23 INFO (MainThread) [hassio.host.info] Update local host information
18-12-11 05:01:23 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
18-12-11 05:01:23 INFO (MainThread) [hassio.host.services] Update service information
18-12-11 05:01:23 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
18-12-11 05:01:24 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: set()
18-12-11 05:01:24 INFO (MainThread) [hassio.host.apparmor] AppArmor is not enabled on host
18-12-11 05:01:24 INFO (SyncWorker_1) [hassio.docker.interface] Attach to image homeassistant/qemux86-homeassistant with version 0.83.3
18-12-11 05:01:24 INFO (MainThread) [hassio.addons.git] Clone add-on [url]https://github.com/home-assistant/hassio-addons[/url] repository
18-12-11 05:01:24 INFO (MainThread) [hassio.addons.git] Clone add-on [url]https://github.com/hassio-addons/repository[/url] repository
18-12-11 05:01:30 INFO (MainThread) [hassio.addons] Load add-ons: 47 all - 47 new - 0 remove
18-12-11 05:01:30 INFO (MainThread) [hassio.updater] Fetch update data from [url]https://s3.amazonaws.com/hassio-version/stable.json[/url]
18-12-11 05:01:31 INFO (MainThread) [hassio.snapshots] Found 0 snapshot files
18-12-11 05:01:31 INFO (MainThread) [hassio.discovery] Load 0 messages
18-12-11 05:01:31 INFO (MainThread) [__main__] Run Hass.io
18-12-11 05:01:31 INFO (MainThread) [hassio.misc.dns] Start DNS port forwarding for host add-ons
18-12-11 05:01:31 INFO (MainThread) [hassio.core] Ignore Hass.io auto updates on dev channel
18-12-11 05:01:31 INFO (MainThread) [hassio.api] Start API on 172.30.32.2
18-12-11 05:01:31 INFO (MainThread) [hassio.addons] Startup initialize run 0 add-ons
18-12-11 05:01:31 INFO (MainThread) [hassio.addons] Startup system run 0 add-ons
18-12-11 05:01:31 INFO (MainThread) [hassio.addons] Startup services run 0 add-ons
18-12-11 05:01:36 INFO (SyncWorker_4) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-homeassistant with version 0.83.3
18-12-11 05:01:46 ERROR (MainThread) [hassio.homeassistant] Home Assistant has crashed!
18-12-11 05:01:46 INFO (MainThread) [hassio.addons] Startup application run 0 add-ons
18-12-11 05:01:46 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
18-12-11 05:01:46 INFO (MainThread) [hassio.core] Hass.io is up and running
18-12-11 05:11:23 INFO (MainThread) [__main__] Stopping Hass.io
18-12-11 05:11:23 INFO (MainThread) [hassio.api] Stop API on 172.30.32.2
18-12-11 05:11:23 INFO (MainThread) [hassio.misc.dns] Stop DNS forwarding
18-12-11 05:11:23 INFO (MainThread) [hassio.core] Hass.io is down
18-12-11 05:11:23 INFO (MainThread) [__main__] Close Hass.io
18-12-11 05:11:40 INFO (MainThread) [__main__] Initialize Hass.io setup
18-12-11 05:11:41 INFO (MainThread) [__main__] Setup HassIO
18-12-11 05:11:41 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to Supervisor homeassistant/armhf-hassio-supervisor with version 140
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.systemd1 on /org/freedesktop/systemd1
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.hostname1 on /org/freedesktop/hostname1
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Introspect de.pengutronix.rauc on /
18-12-11 05:11:41 ERROR (MainThread) [hassio.utils.gdbus] DBus return error: b'Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name d                    e.pengutronix.rauc was not provided by any .service files\n'
18-12-11 05:11:41 WARNING (MainThread) [hassio.dbus.rauc] Can't connect to rauc
18-12-11 05:11:41 INFO (MainThread) [hassio.host.info] Update local host information
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
18-12-11 05:11:41 INFO (MainThread) [hassio.host.services] Update service information
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
18-12-11 05:11:42 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: set()
18-12-11 05:11:42 INFO (MainThread) [hassio.host.apparmor] AppArmor is not enabled on host
18-12-11 05:11:42 INFO (SyncWorker_1) [hassio.docker.interface] Attach to image homeassistant/qemux86-homeassistant with version 0.83.3
18-12-11 05:11:42 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/git/a0d7b954 repository
18-12-11 05:11:42 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/core repository
18-12-11 05:11:43 INFO (MainThread) [hassio.addons] Load add-ons: 47 all - 47 new - 0 remove
18-12-11 05:11:43 INFO (MainThread) [hassio.updater] Fetch update data from [url]https://s3.amazonaws.com/hassio-version/stable.json[/url]
18-12-11 05:11:53 WARNING (MainThread) [hassio.updater] Can't fetch versions from [url]https://s3.amazonaws.com/hassio-version/stable.json:[/url]
18-12-11 05:11:53 INFO (MainThread) [hassio.snapshots] Found 0 snapshot files
18-12-11 05:11:53 INFO (MainThread) [hassio.discovery] Load 0 messages
18-12-11 05:11:53 INFO (MainThread) [__main__] Run Hass.io
18-12-11 05:11:53 INFO (MainThread) [hassio.misc.dns] Start DNS port forwarding for host add-ons
18-12-11 05:11:53 INFO (MainThread) [hassio.core] Ignore Hass.io auto updates on dev channel
18-12-11 05:11:53 INFO (MainThread) [hassio.api] Start API on 172.30.32.2
18-12-11 05:11:53 INFO (MainThread) [hassio.addons] Startup initialize run 0 add-ons
18-12-11 05:11:53 INFO (MainThread) [hassio.core] Hass.io reboot detected
18-12-11 05:11:53 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
18-12-11 05:11:53 INFO (MainThread) [hassio.core] Hass.io is up and running
18-12-11 05:12:08 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
18-12-11 05:12:09 INFO (SyncWorker_4) [hassio.docker.interface] Clean homeassistant/qemux86-homeassistant Docker application
18-12-11 05:12:12 INFO (SyncWorker_4) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-homeassistant with version 0.83.3
18-12-11 05:12:22 ERROR (MainThread) [hassio.homeassistant] Home Assistant has crashed!
18-12-11 05:12:22 ERROR (MainThread) [hassio.tasks] Watchdog Home Assistant reanimation fails!
########################### homeassistant log ###########################
[FATAL tini (8)] exec /bin/entry.sh failed: Exec format error
########################### END ###########################
 homeassistant 启动超时,请检查上方日志....
root@orangepizero:~#

回复

使用道具 举报

40

主题

3057

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11135
金钱
8028
HASS币
182
 楼主| 发表于 2018-12-11 13:31:39 | 显示全部楼层
huan1229 发表于 2018-12-11 13:21
老大,香橙派用你脚本 出现这个 知道什么情况吗?

本脚本还不是无脑回车,要看看里面的中文字才行~

(4).请选择你设备类型(默认:qemux86)
    [1]: raspberrypi
    [2]: raspberrypi2
    [3]: raspberrypi3
    [4]: qemuarm
    [5]: qemux86
    [6]: intel-nuc
输入数字 (1-6):5
你选择了 qemux86


这里你应该选 qemuarm
Nero
回复

使用道具 举报

4

主题

108

帖子

312

积分

中级会员

Rank: 3Rank: 3

积分
312
金钱
204
HASS币
0
发表于 2018-12-11 13:33:25 | 显示全部楼层
neroxps 发表于 2018-12-11 13:31
本脚本还不是无脑回车,要看看里面的中文字才行~

[code](4).请选择你设备类型(默认: ...

这样啊!我选错了啊!多谢指导!
回复

使用道具 举报

4

主题

108

帖子

312

积分

中级会员

Rank: 3Rank: 3

积分
312
金钱
204
HASS币
0
发表于 2018-12-11 13:54:16 | 显示全部楼层
[quote]neroxps 发表于 2018-12-11 13:31
本脚本还不是无脑回车,要看看里面的中文字才行~

(4).请选择你设备类型(默认: ...[/quote]老大,选择4也是这样! 我没有重新烧录系统!

[code]root@orangepizero:~# curl -sL -o install.sh [url]https://raw.githubusercontent.com/neroxps/hassio_install/master/install.sh[/url]
root@orangepizero:~# chmod a+x install.sh
root@orangepizero:~# ./install.sh
(1). 是否将系统源切换为中科大(USTC)源(目前支持 Debian Ubuntu Raspbian 三款系统)
请输入 y or n(默认 yes):y


(2). 在你系统内找到 pi 用户,是否将其添加至 docker 用户组。
请输入 yes 或者 no (默认 yes):y
将pi用户添加至 docker 用户组。


(3).是否需要替换 docker 默认源?
请输入 yes 或者 no(默认:yes):y


(4).请选择你设备类型(默认:qemux86)
    [1]: raspberrypi
    [2]: raspberrypi2
    [3]: raspberrypi3
    [4]: qemuarm
    [5]: qemux86
    [6]: intel-nuc
输入数字 (1-6):4
你选择了 qemuarm


(5).是否需要设置 hassio 数据保存路径(默认:/usr/share/hassio)
请输入 yes 或 no (默认:no):
hassio 数据路径为默认路径: /usr/share/hassio
 ################################################################################
 # 1. 是否将系统源切换为中科大(USTC)源: 是
 # 2. 是否将用户添加至 Docker 用户组:   是,添加用户为 pi
 # 3. 是否将 Docker 源切换至国内源:     是
 # 4. 您的设备类型为:                   qemuarm
 # 5. 您的 hassio 数据路径为:           /usr/share/hassio
 ################################################################################
请确认以上信息,继续请按任意键,如需修改请输入 Ctrl+C 结束任务重新执行脚本。

[info]: 切换系统网络源.....
Ign:1 [url]http://mirrors.ustc.edu.cn/debian[/url] stretch InRelease
Hit:2 [url]http://mirrors.ustc.edu.cn/debian[/url] stretch-updates InRelease
Hit:3 [url]http://mirrors.ustc.edu.cn/debian[/url] stretch-backports InRelease
Hit:4 [url]http://mirrors.ustc.edu.cn/debian-security[/url] stretch/updates InRelease
Hit:5 [url]http://mirrors.ustc.edu.cn/debian[/url] stretch Release
Hit:6 [url]https://mirrors.aliyun.com/docker-ce/linux/debian[/url] stretch InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
[info]: 更新系统至最新.....
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[info]: 系统更新成功。
[info]: 安装 hassio 必要依赖.....
Reading package lists... Done
Building dependency tree
Reading state information... Done
avahi-daemon is already the newest version (0.6.32-2).
curl is already the newest version (7.52.1-5+deb9u8).
jq is already the newest version (1.5+dfsg-1.3).
net-tools is already the newest version (1.60+git20161116.90da8a0-1).
socat is already the newest version (1.7.3.1-2+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/usr/bin/docker
[info]: 发现系统已安装 docker,跳过 docker 安装
[info]: 切换 Docker 源为国内源....
[info]: 切换国内源完成
[info]: 安装 hassio......
从 hub.docker.com 下载 homeassistant/qemuarm-homeassistant:0.83.3......
0.83.3: Pulling from homeassistant/qemuarm-homeassistant
905674ea9d94: Already exists
d91fe322e169: Already exists
4583de306f0b: Already exists
3c1445e33fed: Already exists
9c6fb5db463f: Pull complete
3cf42a2393d6: Pull complete
5a5aed61ad4b: Pull complete
9e8ecb568364: Pull complete
829d1bd86887: Pull complete
78470924dcf6: Pull complete
d3887b6628cb: Pull complete
61ce5ee1cd15: Pull complete
bdae6dd69d1b: Pull complete
a998d7c2c890: Pull complete
18a051161498: Pull complete
304256d1e1c0: Pull complete
c84e2217dcc8: Pull complete
76ddf70a8b12: Pull complete
b29d7de1ce35: Pull complete
05676edf9d21: Pull complete
e675959b27ca: Pull complete
ab6af3c2c09e: Pull complete
Digest: sha256:2834679234985c3b214e8c4cbe1dee8bf3281353f208fd04d6f6827c5bda7e25
Status: Downloaded newer image for homeassistant/qemuarm-homeassistant:0.83.3
开始 hassio 安装流程。(如出现 [Warning] 请忽略,无须理会)
[Warning] No AppArmor support on host.
[Info] Install supervisor Docker container
[Info] Install supervisor startup scripts
[Info] Run Hass.io
等待 homeassistant 启动.............................................................................................................................................................................................................................................................................................................fail
########################### Docker images ###########################
REPOSITORY                              TAG                 IMAGE ID            CREATED             SIZE
homeassistant/qemuarm-homeassistant     0.83.3              afec25a4b3dd        7 days ago          1.03GB
homeassistant/qemuarm-homeassistant     latest              afec25a4b3dd        7 days ago          1.03GB
homeassistant/qemux86-homeassistant     0.83.3              c2db863a2206        7 days ago          1.05GB
homeassistant/qemux86-homeassistant     latest              c2db863a2206        7 days ago          1.05GB
homeassistant/armhf-hassio-supervisor   140                 e4395b6a782d        2 weeks ago         188MB
homeassistant/armhf-hassio-supervisor   latest              e4395b6a782d        2 weeks ago         188MB
########################### Docker ps ###########################
CONTAINER ID        IMAGE                                   COMMAND                  CREATED             STATUS                      PORTS               NAMES
d08a2273c799        homeassistant/qemux86-homeassistant     "/bin/entry.sh pytho…"   11 minutes ago      Exited (1) 11 minutes ago                       homeassistant
eb1502acb1b1        homeassistant/armhf-hassio-supervisor   "python3 -m hassio"      About an hour ago   Up 12 minutes                                   hassio_supervisor
########################### hassio log ###########################
18-12-11 05:01:19 INFO (MainThread) [__main__] Initialize Hass.io setup
18-12-11 05:01:19 INFO (MainThread) [hassio.docker.network] Can't find Hass.io network, create new network
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Home Assistant configuration folder /data/homeassistant
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io SSL/TLS folder /data/ssl
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io Add-on data folder /data/addons/data
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io Add-on local repository folder /data/addons/local
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io Add-on git repositories folder /data/addons/git
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io temp folder /data/tmp
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io backup folder /data/backup
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io share folder /data/share
18-12-11 05:01:20 INFO (MainThread) [hassio.bootstrap] Create Hass.io Apparmor folder /data/apparmor
18-12-11 05:01:20 INFO (MainThread) [__main__] Setup HassIO
18-12-11 05:01:20 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to Supervisor homeassistant/armhf-hassio-supervisor with version 140
18-12-11 05:01:22 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.systemd1 on /org/freedesktop/systemd1
18-12-11 05:01:23 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
18-12-11 05:01:23 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.hostname1 on /org/freedesktop/hostname1
18-12-11 05:01:23 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
18-12-11 05:01:23 INFO (MainThread) [hassio.utils.gdbus] Introspect de.pengutronix.rauc on /
18-12-11 05:01:23 ERROR (MainThread) [hassio.utils.gdbus] DBus return error: b'Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name de.pengutronix.rauc was not provided by any .service files\n'
18-12-11 05:01:23 WARNING (MainThread) [hassio.dbus.rauc] Can't connect to rauc
18-12-11 05:01:23 INFO (MainThread) [hassio.host.info] Update local host information
18-12-11 05:01:23 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
18-12-11 05:01:23 INFO (MainThread) [hassio.host.services] Update service information
18-12-11 05:01:23 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
18-12-11 05:01:24 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: set()
18-12-11 05:01:24 INFO (MainThread) [hassio.host.apparmor] AppArmor is not enabled on host
18-12-11 05:01:24 INFO (SyncWorker_1) [hassio.docker.interface] Attach to image homeassistant/qemux86-homeassistant with version 0.83.3
18-12-11 05:01:24 INFO (MainThread) [hassio.addons.git] Clone add-on [url]https://github.com/home-assistant/hassio-addons[/url] repository
18-12-11 05:01:24 INFO (MainThread) [hassio.addons.git] Clone add-on [url]https://github.com/hassio-addons/repository[/url] repository
18-12-11 05:01:30 INFO (MainThread) [hassio.addons] Load add-ons: 47 all - 47 new - 0 remove
18-12-11 05:01:30 INFO (MainThread) [hassio.updater] Fetch update data from [url]https://s3.amazonaws.com/hassio-version/stable.json[/url]
18-12-11 05:01:31 INFO (MainThread) [hassio.snapshots] Found 0 snapshot files
18-12-11 05:01:31 INFO (MainThread) [hassio.discovery] Load 0 messages
18-12-11 05:01:31 INFO (MainThread) [__main__] Run Hass.io
18-12-11 05:01:31 INFO (MainThread) [hassio.misc.dns] Start DNS port forwarding for host add-ons
18-12-11 05:01:31 INFO (MainThread) [hassio.core] Ignore Hass.io auto updates on dev channel
18-12-11 05:01:31 INFO (MainThread) [hassio.api] Start API on 172.30.32.2
18-12-11 05:01:31 INFO (MainThread) [hassio.addons] Startup initialize run 0 add-ons
18-12-11 05:01:31 INFO (MainThread) [hassio.addons] Startup system run 0 add-ons
18-12-11 05:01:31 INFO (MainThread) [hassio.addons] Startup services run 0 add-ons
18-12-11 05:01:36 INFO (SyncWorker_4) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-homeassistant with version 0.83.3
18-12-11 05:01:46 ERROR (MainThread) [hassio.homeassistant] Home Assistant has crashed!
18-12-11 05:01:46 INFO (MainThread) [hassio.addons] Startup application run 0 add-ons
18-12-11 05:01:46 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
18-12-11 05:01:46 INFO (MainThread) [hassio.core] Hass.io is up and running
18-12-11 05:11:23 INFO (MainThread) [__main__] Stopping Hass.io
18-12-11 05:11:23 INFO (MainThread) [hassio.api] Stop API on 172.30.32.2
18-12-11 05:11:23 INFO (MainThread) [hassio.misc.dns] Stop DNS forwarding
18-12-11 05:11:23 INFO (MainThread) [hassio.core] Hass.io is down
18-12-11 05:11:23 INFO (MainThread) [__main__] Close Hass.io
18-12-11 05:11:40 INFO (MainThread) [__main__] Initialize Hass.io setup
18-12-11 05:11:41 INFO (MainThread) [__main__] Setup HassIO
18-12-11 05:11:41 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to Supervisor homeassistant/armhf-hassio-supervisor with version 140
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.systemd1 on /org/freedesktop/systemd1
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.hostname1 on /org/freedesktop/hostname1
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Introspect de.pengutronix.rauc on /
18-12-11 05:11:41 ERROR (MainThread) [hassio.utils.gdbus] DBus return error: b'Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name de.pengutronix.rauc was not provided by any .service files\n'
18-12-11 05:11:41 WARNING (MainThread) [hassio.dbus.rauc] Can't connect to rauc
18-12-11 05:11:41 INFO (MainThread) [hassio.host.info] Update local host information
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
18-12-11 05:11:41 INFO (MainThread) [hassio.host.services] Update service information
18-12-11 05:11:41 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
18-12-11 05:11:42 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: set()
18-12-11 05:11:42 INFO (MainThread) [hassio.host.apparmor] AppArmor is not enabled on host
18-12-11 05:11:42 INFO (SyncWorker_1) [hassio.docker.interface] Attach to image homeassistant/qemux86-homeassistant with version 0.83.3
18-12-11 05:11:42 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/git/a0d7b954 repository
18-12-11 05:11:42 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/core repository
18-12-11 05:11:43 INFO (MainThread) [hassio.addons] Load add-ons: 47 all - 47 new - 0 remove
18-12-11 05:11:43 INFO (MainThread) [hassio.updater] Fetch update data from [url]https://s3.amazonaws.com/hassio-version/stable.json[/url]
18-12-11 05:11:53 WARNING (MainThread) [hassio.updater] Can't fetch versions from [url]https://s3.amazonaws.com/hassio-version/stable.json:[/url]
18-12-11 05:11:53 INFO (MainThread) [hassio.snapshots] Found 0 snapshot files
18-12-11 05:11:53 INFO (MainThread) [hassio.discovery] Load 0 messages
18-12-11 05:11:53 INFO (MainThread) [__main__] Run Hass.io
18-12-11 05:11:53 INFO (MainThread) [hassio.misc.dns] Start DNS port forwarding for host add-ons
18-12-11 05:11:53 INFO (MainThread) [hassio.core] Ignore Hass.io auto updates on dev channel
18-12-11 05:11:53 INFO (MainThread) [hassio.api] Start API on 172.30.32.2
18-12-11 05:11:53 INFO (MainThread) [hassio.addons] Startup initialize run 0 add-ons
18-12-11 05:11:53 INFO (MainThread) [hassio.core] Hass.io reboot detected
18-12-11 05:11:53 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
18-12-11 05:11:53 INFO (MainThread) [hassio.core] Hass.io is up and running
18-12-11 05:12:08 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
18-12-11 05:12:09 INFO (SyncWorker_4) [hassio.docker.interface] Clean homeassistant/qemux86-homeassistant Docker application
18-12-11 05:12:12 INFO (SyncWorker_4) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-homeassistant with version 0.83.3
18-12-11 05:12:22 ERROR (MainThread) [hassio.homeassistant] Home Assistant has crashed!
18-12-11 05:12:22 ERROR (MainThread) [hassio.tasks] Watchdog Home Assistant reanimation fails!
18-12-11 05:38:15 INFO (MainThread) [__main__] Stopping Hass.io
18-12-11 05:38:15 INFO (MainThread) [hassio.api] Stop API on 172.30.32.2
18-12-11 05:38:16 INFO (MainThread) [hassio.misc.dns] Stop DNS forwarding
18-12-11 05:38:16 INFO (MainThread) [hassio.core] Hass.io is down
18-12-11 05:38:16 INFO (MainThread) [__main__] Close Hass.io
18-12-11 05:38:33 INFO (MainThread) [__main__] Initialize Hass.io setup
18-12-11 05:38:33 INFO (MainThread) [__main__] Setup HassIO
18-12-11 05:38:33 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to Supervisor homeassistant/armhf-hassio-supervisor with version 140
18-12-11 05:38:33 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.systemd1 on /org/freedesktop/systemd1
18-12-11 05:38:33 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
18-12-11 05:38:33 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.hostname1 on /org/freedesktop/hostname1
18-12-11 05:38:34 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
18-12-11 05:38:34 INFO (MainThread) [hassio.utils.gdbus] Introspect de.pengutronix.rauc on /
18-12-11 05:38:34 ERROR (MainThread) [hassio.utils.gdbus] DBus return error: b'Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name de.pengutronix.rauc was not provided by any .service files\n'
18-12-11 05:38:34 WARNING (MainThread) [hassio.dbus.rauc] Can't connect to rauc
18-12-11 05:38:34 INFO (MainThread) [hassio.host.info] Update local host information
18-12-11 05:38:34 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
18-12-11 05:38:34 INFO (MainThread) [hassio.host.services] Update service information
18-12-11 05:38:34 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
18-12-11 05:38:34 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: set()
18-12-11 05:38:34 INFO (MainThread) [hassio.host.apparmor] AppArmor is not enabled on host
18-12-11 05:38:34 INFO (SyncWorker_1) [hassio.docker.interface] Attach to image homeassistant/qemux86-homeassistant with version 0.83.3
18-12-11 05:38:35 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/git/a0d7b954 repository
18-12-11 05:38:35 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/core repository
18-12-11 05:38:35 INFO (MainThread) [hassio.addons] Load add-ons: 47 all - 47 new - 0 remove
18-12-11 05:38:36 INFO (MainThread) [hassio.updater] Fetch update data from [url]https://s3.amazonaws.com/hassio-version/stable.json[/url]
18-12-11 05:38:37 INFO (MainThread) [hassio.snapshots] Found 0 snapshot files
18-12-11 05:38:37 INFO (MainThread) [hassio.discovery] Load 0 messages
18-12-11 05:38:37 INFO (MainThread) [__main__] Run Hass.io
18-12-11 05:38:37 INFO (MainThread) [hassio.misc.dns] Start DNS port forwarding for host add-ons
18-12-11 05:38:37 INFO (MainThread) [hassio.core] Ignore Hass.io auto updates on dev channel
18-12-11 05:38:37 INFO (MainThread) [hassio.api] Start API on 172.30.32.2
18-12-11 05:38:37 INFO (MainThread) [hassio.addons] Startup initialize run 0 add-ons
18-12-11 05:38:37 INFO (MainThread) [hassio.core] Hass.io reboot detected
18-12-11 05:38:37 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
18-12-11 05:38:37 INFO (MainThread) [hassio.core] Hass.io is up and running
18-12-11 05:39:00 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
18-12-11 05:39:22 INFO (SyncWorker_3) [hassio.docker.interface] Clean homeassistant/qemux86-homeassistant Docker application
18-12-11 05:39:33 INFO (SyncWorker_3) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-homeassistant with version 0.83.3
18-12-11 05:39:43 ERROR (MainThread) [hassio.homeassistant] Home Assistant has crashed!
18-12-11 05:39:43 ERROR (MainThread) [hassio.tasks] Watchdog Home Assistant reanimation fails!
########################### homeassistant log ###########################
[FATAL tini (8)] exec /bin/entry.sh failed: Exec format error
########################### END ###########################
 homeassistant 启动超时,请检查上方日志....
root@orangepizero:~#

回复

使用道具 举报

4

主题

108

帖子

312

积分

中级会员

Rank: 3Rank: 3

积分
312
金钱
204
HASS币
0
发表于 2018-12-11 14:00:07 | 显示全部楼层
我重新烧录系统 手动安装试试看!
回复

使用道具 举报

1

主题

92

帖子

255

积分

中级会员

Rank: 3Rank: 3

积分
255
金钱
163
HASS币
0
发表于 2018-12-12 00:00:25 | 显示全部楼层
谢谢分享
回复

使用道具 举报

34

主题

335

帖子

1844

积分

金牌会员

Rank: 6Rank: 6

积分
1844
金钱
1509
HASS币
0
发表于 2018-12-14 10:56:41 | 显示全部楼层
感谢分享!
回复

使用道具 举报

0

主题

20

帖子

90

积分

注册会员

Rank: 2

积分
90
金钱
70
HASS币
0
发表于 2018-12-16 02:30:47 | 显示全部楼层
帮了大忙!!!!!
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-19 15:13 , Processed in 0.059004 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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