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

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

HASSIO 安装一键脚本

   关闭 [复制链接]

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-3-5 08:47:01 | 显示全部楼层
alonefisher 发表于 2020-3-4 18:19
docker logs -f hassio_supervisor后有以下错误信息

20-03-04 05:00:55 ERROR (MainThread) [supervisor ...

这个是 hassio 向 https://github.com/home-assistant/hassio-addons /data/addons/core pull 库的时候 因为网络问题,pull 超时的日志,不会影响使用,只是没了官方的addons 库。
Nero
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-3-5 08:47:22 | 显示全部楼层
alonefisher 发表于 2020-3-4 18:14
Run Hass.io
等待 homeassistant 启动.............................................................. ...

没看出有什么问题,可能就是慢,重启下应该可以了
Nero
回复

使用道具 举报

2

主题

123

帖子

589

积分

高级会员

Rank: 4

积分
589
金钱
466
HASS币
10
发表于 2020-3-6 21:32:57 | 显示全部楼层
james@james-ubuntu:~$ systemctl status hassio-supervisor
● hassio-supervisor.service - Hass.io supervisor
   Loaded: loaded (/etc/systemd/system/hassio-supervisor.service; enabled; vendo
   Active: active (running) since Fri 2020-03-06 21:12:25 CST; 1s ago
  Process: 7809 ExecStop=/usr/bin/docker stop hassio_supervisor (code=exited, st
  Process: 7914 ExecStartPre=/usr/bin/docker stop hassio_supervisor (code=exited
 Main PID: 7939 (hassio-supervis)
    Tasks: 7 (limit: 2247)
   CGroup: /system.slice/hassio-supervisor.service
           ├─7939 /bin/sh /usr/sbin/hassio-supervisor
           └─7961 docker start --attach hassio_supervisor

3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]:     raise EnvironmentError
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: OSError: Could not create
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: 20-03-06 13:12:27 ERROR (M
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: client_session: <aiohttp.c
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: 20-03-06 13:12:27 ERROR (M
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: client_session: <aiohttp.c
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: [cont-finish.d] executing
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: [cont-finish.d] done.
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: [s6-finish] waiting for se
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: [s6-finish] sending all pr
3月 06 21:12:30 james-ubuntu hassio-supervisor[7939]: [s6-finish] sending all pr
3月 06 21:12:32 james-ubuntu docker[8359]: hassio_supervisor
lines 1-23...skipping...
● hassio-supervisor.service - Hass.io supervisor
   Loaded: loaded (/etc/systemd/system/hassio-supervisor.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2020-03-06 21:12:25 CST; 1s ago
  Process: 7809 ExecStop=/usr/bin/docker stop hassio_supervisor (code=exited, status=0/SUCCESS)
  Process: 7914 ExecStartPre=/usr/bin/docker stop hassio_supervisor (code=exited, status=0/SUCCESS)
 Main PID: 7939 (hassio-supervis)
    Tasks: 7 (limit: 2247)
   CGroup: /system.slice/hassio-supervisor.service
           ├─7939 /bin/sh /usr/sbin/hassio-supervisor
           └─7961 docker start --attach hassio_supervisor

3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]:     raise EnvironmentError('Could not create udev monitor')
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: OSError: Could not create udev monitor
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: 20-03-06 13:12:27 ERROR (MainThread) [asyncio] Unclosed client session
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: client_session: <aiohttp.client.ClientSession object at 0x7fdcc85a2110>
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: 20-03-06 13:12:27 ERROR (MainThread) [asyncio] Unclosed client session
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: client_session: <aiohttp.client.ClientSession object at 0x7fdcc8366050>
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: [cont-finish.d] executing container finish scripts...
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: [cont-finish.d] done.
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: [s6-finish] waiting for services.
3月 06 21:12:27 james-ubuntu hassio-supervisor[7939]: [s6-finish] sending all processes the TERM signal.
3月 06 21:12:30 james-ubuntu hassio-supervisor[7939]: [s6-finish] sending all processes the KILL signal and exiting.
3月 06 21:12:32 james-ubuntu docker[8359]: hassio_supervisor
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-23/23 (END)
求助,昨晚开始突然连不上了,重启Ubuntu也没用,一直没有升级过hass,还是0.95.4
回复

使用道具 举报

2

主题

123

帖子

589

积分

高级会员

Rank: 4

积分
589
金钱
466
HASS币
10
发表于 2020-3-6 21:55:48 | 显示全部楼层
毛毛卷 发表于 2020-3-6 21:32
求助,昨晚开始突然连不上了,重启Ubuntu也没用,一直没有升级过hass,还是0.95.4
...

https://community.home-assistant ... wont-start/176169/6

搜索了一下,用这个方法解决了
回复

使用道具 举报

3

主题

62

帖子

415

积分

论坛技术达人

积分
415
金钱
343
HASS币
60
发表于 2020-3-7 11:52:37 | 显示全部楼层
太太太太感谢,一次性解决了各种依赖问题。
回复

使用道具 举报

0

主题

22

帖子

100

积分

注册会员

Rank: 2

积分
100
金钱
78
HASS币
0
发表于 2020-3-16 18:53:46 | 显示全部楼层
开始 hassio 安装流程。(如出现 [Warning] 请忽略,无须理会)
[Warning] No AppArmor support on host.
[Info] Install supervisor Docker container
Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
Unit hassio-supervisor.service could not be found.

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID: Debian
Description:    Debian GNU/Linux 9.6 (stretch)
Release:        9.6
Codename:       stretch
########################### System version 2 ###########################
Linux version 4.19.7-aml-s9xxx (root@vbox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #5.67 SMP PREEMPT Fri Dec 28 10:43:31 MSK 2018
########################### System info ###########################
Linux aml 4.19.7-aml-s9xxx #5.67 SMP PREEMPT Fri Dec 28 10:43:31 MSK 2018 aarch64 GNU/Linux
########################### END ###########################
安装 hassio 失败,请将上方安装信息发送到论坛询问。脚本退出...
前面没什么问题,最后报错了,请问大神什么情况?
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-3-17 08:49:18 | 显示全部楼层
ghb1098 发表于 2020-3-16 18:53
开始 hassio 安装流程。(如出现 [Warning] 请忽略,无须理会)
[Warning] No AppArmor support on host.
In ...

https://lmgtfy.com/?q=Client.Tim ... ing+headers&s=b

http://baidu.apphb.com/?q=Client ... le+awaiting+headers
Nero
回复

使用道具 举报

0

主题

1

帖子

20

积分

新手上路

Rank: 1

积分
20
金钱
19
HASS币
0
发表于 2020-3-17 18:17:07 | 显示全部楼层

Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?). Using system default: https://index.docker.io/v1/
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[ERROR]: 从 docker 下载 homeassistant/qemuarm-homeassistant:0.106.6 失败,请检查上方失败信息。
您好请问这是什么原因 玩客云S805 armbian
回复

使用道具 举报

0

主题

22

帖子

100

积分

注册会员

Rank: 2

积分
100
金钱
78
HASS币
0
发表于 2020-3-17 19:20:59 | 显示全部楼层
本帖最后由 ghb1098 于 2020-3-17 19:46 编辑

没问题了,谢谢大神
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-3-17 20:44:09 | 显示全部楼层
evenery 发表于 2020-3-17 18:17
Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon a ...

docker 没装
Nero
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2025-2-25 05:23 , Processed in 0.087506 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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