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

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

HASSIO 安装一键脚本

   关闭 [复制链接]

7

主题

366

帖子

1328

积分

金牌会员

Rank: 6Rank: 6

积分
1328
金钱
962
HASS币
0
发表于 2019-3-28 16:51:10 | 显示全部楼层
neroxps 发表于 2019-3-27 16:05
portainer 一般不会被覆盖,但会不会和你其他 hassio 的addons 端口占用了导致启动失败。
命令行里输入
...

感谢,根据这个找到问题,慢慢学着解决中
回复

使用道具 举报

0

主题

90

帖子

761

积分

高级会员

Rank: 4

积分
761
金钱
671
HASS币
0
发表于 2019-3-29 09:14:07 | 显示全部楼层
到最后提示这个
开始 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-64-homeassistant    0.90.2              dd2cbae0adc3        47 hours ago        1.09GB
homeassistant/qemuarm-64-homeassistant    latest              dd2cbae0adc3        47 hours ago        1.09GB
homeassistant/aarch64-hassio-supervisor   150                 6fc6be9d9321        8 days ago          205MB
homeassistant/aarch64-hassio-supervisor   latest              6fc6be9d9321        8 days ago          205MB
portainer/portainer                       latest              163b4769210c        3 weeks ago         63.2MB
########################### Docker ps ###########################
CONTAINER ID        IMAGE                 COMMAND             CREATED             STATUS              PORTS                    NAMES
285bd763a254        portainer/portainer   "/portainer"        9 hours ago         Up 6 minutes        0.0.0.0:9000->9000/tcp   prtainer-test
########################### hassio log ###########################
Error: No such container: hassio_supervisor
########################### homeassistant log ###########################
Error: No such container: homeassistant
########################### END ###########################
 homeassistant 启动超时,请检查上方日志....

什么问题
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2019-3-29 09:29:13 | 显示全部楼层
94weimei 发表于 2019-3-29 09:14
到最后提示这个
[code]开始 hassio 安装流程。(如出现 [Warning] 请忽略,无须理 ...

hassio 启动失败了,看看 systemctl status hassio-supervisor

journalctl -u hassio-supervisor
Nero
回复

使用道具 举报

0

主题

90

帖子

761

积分

高级会员

Rank: 4

积分
761
金钱
671
HASS币
0
发表于 2019-3-29 13:18:59 | 显示全部楼层
root@aml:~# systemctl status hassio-supervisor
* hassio-supervisor.service - Hass.io supervisor
   Loaded: loaded (/etc/systemd/system/hassio-supervisor.service; enabled; vendo
   Active: activating (auto-restart) (Result: exit-code) since Fri 2019-03-29 05
  Process: 21881 ExecStop=/usr/bin/docker stop hassio_supervisor (code=exited, s
  Process: 21866 ExecStart=/usr/sbin/hassio-supervisor (code=exited, status=1/FA
  Process: 21856 ExecStartPre=/usr/bin/docker stop hassio_supervisor (code=exite
 Main PID: 21866 (code=exited, status=1/FAILURE)
    Tasks: 0 (limit: 4915)
   Memory: 0B
      CPU: 0
   CGroup: /system.slice/hassio-supervisor.service

Mar 29 05:14:29 aml systemd[1]: hassio-supervisor.service: Failed with result 'e
lines 1-13/13 (END)
* hassio-supervisor.service - Hass.io supervisor
   Loaded: loaded (/etc/systemd/system/hassio-supervisor.service; enabled; vendor prese
   Active: activating (auto-restart) (Result: exit-code) since Fri 2019-03-29 05:14:29
  Process: 21881 ExecStop=/usr/bin/docker stop hassio_supervisor (code=exited, status=1
  Process: 21866 ExecStart=/usr/sbin/hassio-supervisor (code=exited, status=1/FAILURE)
  Process: 21856 ExecStartPre=/usr/bin/docker stop hassio_supervisor (code=exited, stat
 Main PID: 21866 (code=exited, status=1/FAILURE)
    Tasks: 0 (limit: 4915)
   Memory: 0B
      CPU: 0
   CGroup: /system.slice/hassio-supervisor.service

Mar 29 05:14:29 aml systemd[1]: hassio-supervisor.service: Failed with result 'exit-cod
回复

使用道具 举报

0

主题

90

帖子

761

积分

高级会员

Rank: 4

积分
761
金钱
671
HASS币
0
发表于 2019-3-29 13:20:08 | 显示全部楼层
root@aml:~# journalctl -u hassio-supervisor
-- Logs begin at Thu 2016-11-03 17:16:43 UTC, end at Fri 2019-03-29 05:15:15 UTC. --
Mar 29 04:28:13 aml systemd[1]: Starting Hass.io supervisor...
Mar 29 04:28:17 aml docker[2278]: Error response from daemon: No such container: hassio
Mar 29 04:28:17 aml systemd[1]: Started Hass.io supervisor.
Mar 29 04:28:17 aml hassio-supervisor[2288]: Error response from daemon: layer does not
Mar 29 04:28:17 aml systemd[1]: hassio-supervisor.service: Main process exited, code=ex
Mar 29 04:28:17 aml docker[2308]: Error response from daemon: No such container: hassio
Mar 29 04:28:17 aml systemd[1]: hassio-supervisor.service: Unit entered failed state.
Mar 29 04:28:17 aml systemd[1]: hassio-supervisor.service: Failed with result 'exit-cod
Mar 29 04:28:22 aml systemd[1]: hassio-supervisor.service: Service hold-off time over,
Mar 29 04:28:22 aml systemd[1]: Stopped Hass.io supervisor.
Mar 29 04:28:22 aml systemd[1]: Starting Hass.io supervisor...
Mar 29 04:28:22 aml docker[2325]: Error response from daemon: No such container: hassio
Mar 29 04:28:22 aml systemd[1]: Started Hass.io supervisor.
Mar 29 04:28:23 aml hassio-supervisor[2335]: Error response from daemon: layer does not
Mar 29 04:28:23 aml systemd[1]: hassio-supervisor.service: Main process exited, code=ex
Mar 29 04:28:23 aml docker[2350]: Error response from daemon: No such container: hassio
Mar 29 04:28:23 aml systemd[1]: hassio-supervisor.service: Unit entered failed state.
Mar 29 04:28:23 aml systemd[1]: hassio-supervisor.service: Failed with result 'exit-cod
Mar 29 04:28:28 aml systemd[1]: hassio-supervisor.service: Service hold-off time over,
Mar 29 04:28:28 aml systemd[1]: Stopped Hass.io supervisor.
Mar 29 04:28:28 aml systemd[1]: Starting Hass.io supervisor...
Mar 29 04:28:28 aml docker[2366]: Error response from daemon: No such container: hassio
lines 1-23...skipping...
-- Logs begin at Thu 2016-11-03 17:16:43 UTC, end at Fri 2019-03-29 05:15:15 UTC. --
Mar 29 04:28:13 aml systemd[1]: Starting Hass.io supervisor...
Mar 29 04:28:17 aml docker[2278]: Error response from daemon: No such container: hassio_supervisor
Mar 29 04:28:17 aml systemd[1]: Started Hass.io supervisor.
Mar 29 04:28:17 aml hassio-supervisor[2288]: Error response from daemon: layer does not exist
Mar 29 04:28:17 aml systemd[1]: hassio-supervisor.service: Main process exited, code=exited, status=1/FAILURE
Mar 29 04:28:17 aml docker[2308]: Error response from daemon: No such container: hassio_supervisor
Mar 29 04:28:17 aml systemd[1]: hassio-supervisor.service: Unit entered failed state.
Mar 29 04:28:17 aml systemd[1]: hassio-supervisor.service: Failed with result 'exit-code'.
Mar 29 04:28:22 aml systemd[1]: hassio-supervisor.service: Service hold-off time over, scheduling restart.
Mar 29 04:28:22 aml systemd[1]: Stopped Hass.io supervisor.
Mar 29 04:28:22 aml systemd[1]: Starting Hass.io supervisor...
Mar 29 04:28:22 aml docker[2325]: Error response from daemon: No such container: hassio_supervisor
Mar 29 04:28:22 aml systemd[1]: Started Hass.io supervisor.
Mar 29 04:28:23 aml hassio-supervisor[2335]: Error response from daemon: layer does not exist
Mar 29 04:28:23 aml systemd[1]: hassio-supervisor.service: Main process exited, code=exited, status=1/FAILURE
Mar 29 04:28:23 aml docker[2350]: Error response from daemon: No such container: hassio_supervisor
Mar 29 04:28:23 aml systemd[1]: hassio-supervisor.service: Unit entered failed state.
Mar 29 04:28:23 aml systemd[1]: hassio-supervisor.service: Failed with result 'exit-code'.
Mar 29 04:28:28 aml systemd[1]: hassio-supervisor.service: Service hold-off time over, scheduling restart.
Mar 29 04:28:28 aml systemd[1]: Stopped Hass.io supervisor.
Mar 29 04:28:28 aml systemd[1]: Starting Hass.io supervisor...
Mar 29 04:28:28 aml docker[2366]: Error response from daemon: No such container: hassio_supervisor
Mar 29 04:28:28 aml systemd[1]: Started Hass.io supervisor.
Mar 29 04:28:28 aml hassio-supervisor[2376]: Error response from daemon: layer does not exist
Mar 29 04:28:28 aml systemd[1]: hassio-supervisor.service: Main process exited, code=exited, status=1/FAILURE
Mar 29 04:28:28 aml docker[2391]: Error response from daemon: No such container: hassio_supervisor
Mar 29 04:28:28 aml systemd[1]: hassio-supervisor.service: Unit entered failed state.
Mar 29 04:28:28 aml systemd[1]: hassio-supervisor.service: Failed with result 'exit-code'.
Mar 29 04:28:33 aml systemd[1]: hassio-supervisor.service: Service hold-off time over, scheduling restart.
Mar 29 04:28:33 aml systemd[1]: Stopped Hass.io supervisor.
Mar 29 04:28:33 aml systemd[1]: Starting Hass.io supervisor...
Mar 29 04:28:33 aml docker[2404]: Error response from daemon: No such container: hassio_supervisor
Mar 29 04:28:33 aml systemd[1]: Started Hass.io supervisor.
Mar 29 04:28:34 aml hassio-supervisor[2414]: Error response from daemon: layer does not exist
Mar 29 04:28:34 aml systemd[1]: hassio-supervisor.service: Main process exited, code=exited, status=1/FAILURE
Mar 29 04:28:34 aml docker[2429]: Error response from daemon: No such container: hassio_supervisor
Mar 29 04:28:34 aml systemd[1]: hassio-supervisor.service: Unit entered failed state.
Mar 29 04:28:34 aml systemd[1]: hassio-supervisor.service: Failed with result 'exit-code'.
Mar 29 04:28:39 aml systemd[1]: hassio-supervisor.service: Service hold-off time over, scheduling restart.
Mar 29 04:28:39 aml systemd[1]: Stopped Hass.io supervisor.
Mar 29 04:28:39 aml systemd[1]: Starting Hass.io supervisor...
Mar 29 04:28:39 aml docker[2440]: Error response from daemon: No such container: hassio_supervisor
Mar 29 04:28:39 aml systemd[1]: Started Hass.io supervisor.
Mar 29 04:28:39 aml hassio-supervisor[2450]: Error response from daemon: layer does not exist
Mar 29 04:28:39 aml systemd[1]: hassio-supervisor.service: Main process exited, code=exited, status=1/FAILURE
Mar 29 04:28:39 aml docker[2466]: Error response from daemon: No such container: hassio_supervisor
Mar 29 04:28:39 aml systemd[1]: hassio-supervisor.service: Unit entered failed state.
Mar 29 04:28:39 aml systemd[1]: hassio-supervisor.service: Failed with result 'exit-code'.
Mar 29 04:28:44 aml systemd[1]: hassio-supervisor.service: Service hold-off time over, scheduling restart.
Mar 29 04:28:44 aml systemd[1]: Stopped Hass.io supervisor.
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2019-3-29 14:26:23 | 显示全部楼层
94weimei 发表于 2019-3-29 13:20
[code]root@aml:~# journalctl -u hassio-supervisor
-- Logs begin at Thu 2016- ...

你是什么设备,是不是硬件类型选错了
Nero
回复

使用道具 举报

0

主题

90

帖子

761

积分

高级会员

Rank: 4

积分
761
金钱
671
HASS币
0
发表于 2019-3-29 16:10:50 | 显示全部楼层
neroxps 发表于 2019-3-29 14:26
你是什么设备,是不是硬件类型选错了

裴讯N1 刷的https://www.right.com.cn/forum/f ... ypeid%26typeid%3D21
这个版本debian desk
现在就卡在这里 重启几次了,脚本设备选择的是2
回复

使用道具 举报

4

主题

47

帖子

303

积分

论坛DIY达人

积分
303
金钱
256
HASS币
10
发表于 2019-3-30 13:03:06 | 显示全部楼层
感谢分享~~~~~~
回复

使用道具 举报

0

主题

10

帖子

52

积分

注册会员

Rank: 2

积分
52
金钱
42
HASS币
0
发表于 2019-3-30 17:02:34 | 显示全部楼层
94weimei 发表于 2019-3-29 16:10
裴讯N1 刷的https://www.right.com.cn/forum/forum.php?mod=viewthread&tid=510423&extra=page%3D2%26fil ...

兄弟 我和你一样的情况
回复

使用道具 举报

1

主题

16

帖子

71

积分

注册会员

Rank: 2

积分
71
金钱
55
HASS币
0
发表于 2019-4-2 15:22:36 | 显示全部楼层
膜拜大神,用脚本一次性安装成功。
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 19:19 , Processed in 0.131395 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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