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

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

HASSIO 安装一键脚本

   关闭 [复制链接]

19

主题

417

帖子

2465

积分

金牌会员

Rank: 6Rank: 6

积分
2465
金钱
2043
HASS币
20
发表于 2020-7-27 19:19:35 | 显示全部楼层
日志详细信息( WARNING )
Logger: frontend.js.latest.202007160
Source: components/system_log/__init__.py:209
First occurred: 下午6:38:44 (50003 occurrences)
Last logged: 下午7:18:18

http://192.168.50.196:8123/front ... dce0642a.js:133:238 Uncaught TypeError: Cannot read property 'header' of null
Icon mdi:mixcloud was removed from MDI, please replace this icon with an other icon in your config, it will be removed in version 0.115.
Icon mdi:xbox-controller-menu was renamed to mdi:microsoft-xbox-controller-menu, please change your config, it will be removed in version 0.115.
http://192.168.50.196:8123/lovelace/default_view:0:0 Uncaught
:0:0 Script error.


大佬帮忙看看
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-7-28 09:34:48 | 显示全部楼层
yhwl8888 发表于 2020-7-27 19:19
日志详细信息( WARNING )
Logger: frontend.js.latest.202007160
Source: components/system_log/__init_ ...

自己翻译下就知道。用了MDI 过期的图标吧?
Nero
回复

使用道具 举报

19

主题

417

帖子

2465

积分

金牌会员

Rank: 6Rank: 6

积分
2465
金钱
2043
HASS币
20
发表于 2020-7-28 18:00:38 | 显示全部楼层
neroxps 发表于 2020-7-28 09:34
自己翻译下就知道。用了MDI 过期的图标吧?

关键是第一个  跟第四个  0好脚本错误 还有第一个  中间两个我知道 的
回复

使用道具 举报

2

主题

94

帖子

1341

积分

金牌会员

Rank: 6Rank: 6

积分
1341
金钱
1247
HASS币
0
发表于 2020-7-31 23:41:46 | 显示全部楼层
[info]: 发现系统已安装 docker,跳过 docker 安装
[info]: 切换 Docker 源为国内源....
[info]: 切换国内源完成
[info]: 安装 hassio......
下载 hassio_install.sh 官方脚本 第1次
######################################################################## 100.0%
从 hub.docker.com 下载 homeassistant/orangepi-prime-homeassistant:0.113.2......
Error response from daemon: manifest for homeassistant/orangepi-prime-homeassistant:0.113.2 not found: manifest unknown: manifest unknown
[WARNING]: 从 docker hub 下载 homeassistant/orangepi-prime-homeassistant:0.113.2 失败,第 10 次重试.
Error response from daemon: Get https://registry-1.docker.io/v2/ ... /manifests/0.113.2: net/http: TLS handshake timeout
[WARNING]: 从 docker hub 下载 homeassistant/orangepi-prime-homeassistant:0.113.2 失败,第 9 次重试.
Error response from daemon: manifest for homeassistant/orangepi-prime-homeassistant:0.113.2 not found: manifest unknown: manifest unknown
[WARNING]: 从 docker hub 下载 homeassistant/orangepi-prime-homeassistant:0.113.2 失败,第 8 次重试.
Error response from daemon: manifest for homeassistant/orangepi-prime-homeassistant:0.113.2 not found: manifest unknown: manifest unknown
[WARNING]: 从 docker hub 下载 homeassistant/orangepi-prime-homeassistant:0.113.2 失败,第 7 次重试.
Error response from daemon: manifest for homeassistant/orangepi-prime-homeassistant:0.113.2 not found: manifest unknown: manifest unknown
[WARNING]: 从 docker hub 下载 homeassistant/orangepi-prime-homeassistant:0.113.2 失败,第 6 次重试.
Error response from daemon: manifest for homeassistant/orangepi-prime-homeassistant:0.113.2 not found: manifest unknown: manifest unknown
[WARNING]: 从 docker hub 下载 homeassistant/orangepi-prime-homeassistant:0.113.2 失败,第 5 次重试.
Error response from daemon: manifest for homeassistant/orangepi-prime-homeassistant:0.113.2 not found: manifest unknown: manifest unknown
[WARNING]: 从 docker hub 下载 homeassistant/orangepi-prime-homeassistant:0.113.2 失败,第 4 次重试.
Error response from daemon: manifest for homeassistant/orangepi-prime-homeassistant:0.113.2 not found: manifest unknown: manifest unknown
[WARNING]: 从 docker hub 下载 homeassistant/orangepi-prime-homeassistant:0.113.2 失败,第 3 次重试.
Error response from daemon: manifest for homeassistant/orangepi-prime-homeassistant:0.113.2 not found: manifest unknown: manifest unknown
[WARNING]: 从 docker hub 下载 homeassistant/orangepi-prime-homeassistant:0.113.2 失败,第 2 次重试.
Error response from daemon: manifest for homeassistant/orangepi-prime-homeassistant:0.113.2 not found: manifest unknown: manifest unknown
[WARNING]: 从 docker hub 下载 homeassistant/orangepi-prime-homeassistant:0.113.2 失败,第 1 次重试.
Error response from daemon: manifest for homeassistant/orangepi-prime-homeassistant:0.113.2 not found: manifest unknown: manifest unknown
[WARNING]: 从 docker hub 下载 homeassistant/orangepi-prime-homeassistant:0.113.2 失败,第 0 次重试.
[ERROR]: 从 docker 下载 homeassistant/orangepi-prime-homeassistant:0.113.2 失败,请检查上方失败信息。

请大佬指导一下。。。
回复

使用道具 举报

2

主题

94

帖子

1341

积分

金牌会员

Rank: 6Rank: 6

积分
1341
金钱
1247
HASS币
0
发表于 2020-7-31 23:46:11 | 显示全部楼层
本帖最后由 Alkali 于 2020-8-1 14:23 编辑

去dockerhub看了一下tag,手动把install.sh脚本里的homeassistant_version版本号改成了0.103.5
回复

使用道具 举报

0

主题

5

帖子

48

积分

新手上路

Rank: 1

积分
48
金钱
43
HASS币
0
发表于 2020-8-2 07:27:54 | 显示全部楼层
[info]: 跳过切换系统源。
[info]: 安装 hassio 必要依赖.....
Hit:1 http://beta.armbian.com buster InRelease                                                            
Hit:2 http://security.debian.org buster/updates InRelease                                                
Hit:3 http://httpredir.debian.org/debian buster InRelease                     
Hit:4 http://httpredir.debian.org/debian buster-updates InRelease
Hit:5 http://httpredir.debian.org/debian buster-backports InRelease
Reading package lists... Done
Building dependency tree      
Reading state information... Done
72 packages can be upgraded. Run 'apt list --upgradable' to see them.
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID:        Debian
Description:        Debian GNU/Linux 10 (buster)
Release:        10
Codename:        buster
########################### System version 2 ###########################
Linux version 5.5.0-rc6-aml-s9xxx (root@vbox) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #rc1.037 SMP PREEMPT Wed Feb 5 16:55:20 MSK 2020
########################### System info ###########################
Linux aml 5.5.0-rc6-aml-s9xxx #rc1.037 SMP PREEMPT Wed Feb 5 16:55:20 MSK 2020 aarch64 GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m
回复

使用道具 举报

2

主题

94

帖子

1341

积分

金牌会员

Rank: 6Rank: 6

积分
1341
金钱
1247
HASS币
0
发表于 2020-8-2 10:55:27 | 显示全部楼层
下载 hassio_install.sh 官方脚本 第1次
######################################################################## 100.0%
从 hub.docker.com 下载 homeassistant/orangepi-prime-homeassistant:latest......
latest: Pulling from homeassistant/orangepi-prime-homeassistant
8bfa91304040: Already exists
90fa5da5faf7: Already exists
f55cb04fbfb7: Already exists
84e14646f92b: Already exists
5c654286dcbd: Already exists
5b708a5697b8: Already exists
00c8ce94892a: Already exists
dc539e3c54e8: Already exists
b60b4a4e2af6: Already exists
391c6ee28e94: Already exists
695494bc0265: Already exists
bb280693426a: Already exists
de3de7444604: Already exists
9efa0f702ae7: Already exists
a281aaa041a0: Already exists
8e46286c9c91: Already exists
4a55886c1838: Already exists
a8af50cc9b97: Pull complete
272f45951881: Pull complete
b55f83d346ab: Pull complete
4e37d3c730d4: Pull complete
Digest: sha256:2c63ad322c14602c945db0fee234faed805a4bce16df17bd8d9433e80708f90c
Status: Downloaded newer image for homeassistant/orangepi-prime-homeassistant:latest
开始 hassio 安装流程。(如出现 [Warning] 请忽略,无须理会)
[Error] Unknown machine type orangepi-prime!

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID:        Ubuntu
Description:        Ubuntu 16.04.6 LTS
Release:        16.04
Codename:        xenial
########################### System version 2 ###########################
Linux version 5.3.5+ (root@test) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #3 SMP Tue Mar 24 16:27:29 CST 2020
########################### System info ###########################
Linux orangepizero 5.3.5+ #3 SMP Tue Mar 24 16:27:29 CST 2020 armv7l armv7l armv7l GN
回复

使用道具 举报

0

主题

5

帖子

86

积分

注册会员

Rank: 2

积分
86
金钱
81
HASS币
0
发表于 2020-8-13 14:25:00 | 显示全部楼层
root@ubuntuserver:~# wget https://code.aliyun.com/neroxps/ ... w/master/install.sh
--2020-08-13 13:58:59--  https://code.aliyun.com/neroxps/ ... w/master/install.sh
Resolving code.aliyun.com (code.aliyun.com)... 120.55.150.20
Connecting to code.aliyun.com (code.aliyun.com)|120.55.150.20|:443... failed: Connection timed out.
Retrying.

--2020-08-13 14:01:11--  (try: 2)  https://code.aliyun.com/neroxps/ ... w/master/install.sh
Connecting to code.aliyun.com (code.aliyun.com)|120.55.150.20|:443... failed: Connection timed out.
Retrying.

--2020-08-13 14:03:23--  (try: 3)  https://code.aliyun.com/neroxps/ ... w/master/install.sh
Connecting to code.aliyun.com (code.aliyun.com)|120.55.150.20|:443...

手动下载install.sh,通过winscp传到ubuntu18.04的/root目录下面,再执行chmod a+x install.sh
执行./install.sh的时候一直都是这样,只要是联网的都提示连不上,但我的网络没有问题,可以登录其它网站。


[info]: 切换系统网络源.....
Err:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
  Could not connect to mirrors.tuna.tsinghua.edu.cn:80 (101.6.8.193), connection timed out
Err:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease
  Unable to connect to mirrors.tuna.tsinghua.edu.cn:http:
Err:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease
  Unable to connect to mirrors.tuna.tsinghua.edu.cn:http:
Err:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease
  Unable to connect to mirrors.tuna.tsinghua.edu.cn:http:
Reading package lists... Done                                
Building dependency tree      
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/bionic/InRelease  Could not connect to mirrors.tuna.tsinghua.edu.cn:80 (101.6.8.193), connection timed out
W: Failed to fetch http://mirrors.tuna.tsinghua.edu ... c-updates/InRelease  Unable to connect to mirrors.tuna.tsinghua.edu.cn:http:
W: Failed to fetch http://mirrors.tuna.tsinghua.edu ... backports/InRelease  Unable to connect to mirrors.tuna.tsinghua.edu.cn:http:
W: Failed to fetch http://mirrors.tuna.tsinghua.edu ... -security/InRelease  Unable to connect to mirrors.tuna.tsinghua.edu.cn:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
[info]: 安装 hassio 必要依赖.....
Err:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
  Could not connect to mirrors.tuna.tsinghua.edu.cn:80 (101.6.8.193), connection timed out
Err:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease
  Unable to connect to mirrors.tuna.tsinghua.edu.cn:http:
Err:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease
  Unable to connect to mirrors.tuna.tsinghua.edu.cn:http:
Err:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease
  Unable to connect to mirrors.tuna.tsinghua.edu.cn:http:
Reading package lists... Done                                
Building dependency tree      
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/bionic/InRelease  Could not connect to mirrors.tuna.tsinghua.edu.cn:80 (101.6.8.193), connection timed out
W: Failed to fetch http://mirrors.tuna.tsinghua.edu ... c-updates/InRelease  Unable to connect to mirrors.tuna.tsinghua.edu.cn:http:
W: Failed to fetch http://mirrors.tuna.tsinghua.edu ... backports/InRelease  Unable to connect to mirrors.tuna.tsinghua.edu.cn:http:
W: Failed to fetch http://mirrors.tuna.tsinghua.edu ... -security/InRelease  Unable to connect to mirrors.tuna.tsinghua.edu.cn:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package socat
E: Unable to locate package jq
E: Unable to locate package avahi-daemon
E: Unable to locate package qrencode
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-8-14 08:30:19 | 显示全部楼层
xjydl 发表于 2020-8-13 14:25
root@ubuntuserver:~# wget https://code.aliyun.com/neroxps/hassio_install/raw/master/install.sh
--202 ...

ls -al /etc/apt/apt.conf.d/

Nero
回复

使用道具 举报

0

主题

5

帖子

86

积分

注册会员

Rank: 2

积分
86
金钱
81
HASS币
0
发表于 2020-8-14 11:04:38 | 显示全部楼层
neroxps 发表于 2020-8-14 08:30

ls -al /etc/apt/apt.conf.d/


在root下执行ls -al /etc/apt/apt.conf.d/ 后还是一样的提示,不知道哪里出了问题。
昨天又装了debian,用你的一键脚本一下就装上去了,速度也比较快,中间没有出任何问题。
出问题的这个是在ubuntu系统中。ubuntu和debian都是安装在esxi下面。
之前在ubuntu下也用你的一键脚本装过,一次成功,因为是手动指定的IP地址,后来用IP+8123登录不上去了,没找到原因,就把ubuntu删了,又重装的ubuntu,现在出问题的就是这个重装过的ubuntu。后来想可能是因为IP地址变了,所以登录不上去了,应该到路由器里找一下新增的地址,然后试一下,如果可以登录,就加入静态地址。
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 11:36 , Processed in 0.086944 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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