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

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

HASSIO 安装一键脚本

   关闭 [复制链接]

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2019-7-18 11:11:19 | 显示全部楼层
lsj314457834 发表于 2019-7-18 11:07
第一个运行了没反应

curl -sL -o install.sh https://raw.githubusercontent.com/neroxps/hassio_install/master/install.sh -v

加个-v 看看,或许你连不上  raw.githubusercontent.com
另附curl详细说明

http://aiezu.com/article/linux_curl_command.html
Nero
回复

使用道具 举报

0

主题

7

帖子

27

积分

新手上路

Rank: 1

积分
27
金钱
20
HASS币
0
发表于 2019-7-18 11:30:23 | 显示全部楼层
neroxps 发表于 2019-7-18 11:11
curl -sL -o install.sh https://raw.githubusercontent.com/neroxps/hassio_install/master/install.sh  ...

root@aml:~# curl -sL -o install.sh https://raw.githubusercontent.com/neroxps/has                                                                             sio_install/master/install.sh -v
* Expire in 0 ms for 6 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 0 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 1 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Expire in 2 ms for 1 (transfer 0xaaab06dd4d50)
* Could not resolve host: raw.githubusercontent.com
* Expire in 3 ms for 1 (transfer 0xaaab06dd4d50)
* Closing connection 0
root@aml:~# chmod a+x install.sh
chmod: 无法访问'install.sh': 没有那个文件或目录


现在是这样了
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2019-7-18 11:32:02 | 显示全部楼层
lsj314457834 发表于 2019-7-18 11:30
root@aml:~# curl -sL -o install.sh https://raw.githubusercontent.com/neroxps/has                   ...

* Could not resolve host: raw.githubusercontent.com

这句自己上网搜索下看怎么解决
Nero
回复

使用道具 举报

0

主题

7

帖子

27

积分

新手上路

Rank: 1

积分
27
金钱
20
HASS币
0
发表于 2019-7-18 12:05:21 | 显示全部楼层
neroxps 发表于 2019-7-18 11:32
* Could not resolve host: raw.githubusercontent.com

这句自己上网搜索下看怎么解决

惆怅啊!我发现我可以上网,但是所有外网都ping不通,只能ping内网,外网访问正常,host没又异常
回复

使用道具 举报

0

主题

7

帖子

27

积分

新手上路

Rank: 1

积分
27
金钱
20
HASS币
0
发表于 2019-7-18 19:32:10 | 显示全部楼层
########################### System version ###########################
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
########################### System version 2 ###########################
Linux version 5.2.0-rc4-aml-s905 (root@vbox) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #5.89 SMP PREEMPT Thu Jun 20 17:48:52 MSK 2019
########################### System info ###########################
Linux aml 5.2.0-rc4-aml-s905 #5.89 SMP PREEMPT Thu Jun 20 17:48:52 MSK 2019 aarch64 GNU/Linux
########################### END ###########################
安装 hassio 失败,请将上方安装信息发送到论坛询问。脚本退出...
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2019-7-19 08:52:38 | 显示全部楼层
lsj314457834 发表于 2019-7-18 19:32
########################### System version ###########################
Distributor ID: Debian
Descri ...

system version 上面的也要发出来
Nero
回复

使用道具 举报

0

主题

7

帖子

45

积分

新手上路

Rank: 1

积分
45
金钱
38
HASS币
0
发表于 2019-7-20 19:09:21 | 显示全部楼层
启动超时是什么原因啊?@neroxps
REPOSITORY                                 TAG                 IMAGE ID            CREATED             SIZE
homeassistant/raspberrypi3-homeassistant   0.96.2              9b028c76903f        15 hours ago        962MB
homeassistant/raspberrypi3-homeassistant   latest              9b028c76903f        15 hours ago        962MB
homeassistant/armv7-hassio-supervisor      170                 592442c33e9a        25 hours ago        180MB
homeassistant/armv7-hassio-supervisor      latest              592442c33e9a        25 hours ago        180MB
########################### Docker ps ###########################
CONTAINER ID        IMAGE                                   COMMAND                  CREATED             STATUS              PORTS               NAMES
b204c701b1e1        homeassistant/armv7-hassio-supervisor   "/bin/entry.sh pytho…"   27 seconds ago      Created                                 hassio_supervisor
########################### hassio log ###########################
########################### homeassistant log ###########################
Error: No such container: homeassistant
########################### END ###########################
homeassistant 启动超时,请检查上方日志....
root@raspberrypi:/home/pi#
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2019-7-21 11:14:38 | 显示全部楼层
coyyx· 发表于 2019-7-20 19:09
启动超时是什么原因啊?@neroxps
REPOSITORY                                 TAG                 IMAGE  ...

一般重启设备可以修复
Nero
回复

使用道具 举报

0

主题

7

帖子

45

积分

新手上路

Rank: 1

积分
45
金钱
38
HASS币
0
发表于 2019-7-21 12:11:54 | 显示全部楼层
重启还是没启动服务啊,,,,
回复

使用道具 举报

0

主题

7

帖子

45

积分

新手上路

Rank: 1

积分
45
金钱
38
HASS币
0
发表于 2019-7-21 12:15:49 | 显示全部楼层
i@raspberrypi:~ $ hass HomeAssistant
usage: hass [-h] [--version] [-c path_to_config_dir] [--demo-mode] [--debug]
            [--open-ui] [--skip-pip] [-v] [--pid-file path_to_pid_file]
            [--log-rotate-days LOG_ROTATE_DAYS] [--log-file LOG_FILE]
            [--log-no-color] [--runner] [--script ...] [--daemon]
hass: error: unrecognized arguments: HomeAssistant
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 08:35 , Processed in 1.124982 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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