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

HASSIO 安装一键脚本

 火...   [复制链接]

7

主题

64

回帖

231

积分

中级会员

积分
231
金钱
160
HASS币
0
发表于 2020-7-13 10:16:13 | 显示全部楼层
neroxps 发表于 2020-7-13 08:39
dpkg被中断,您必须手动运行'dpkg --configure -a'来解决问题。

谢谢 N大 我一会回去执行这个命令试试
回复

使用道具 举报

7

主题

64

回帖

231

积分

中级会员

积分
231
金钱
160
HASS币
0
发表于 2020-7-13 13:04:41 | 显示全部楼层
本帖最后由 hlqhome 于 2020-7-13 13:08 编辑
neroxps 发表于 2020-7-13 08:39
dpkg被中断,您必须手动运行'dpkg --configure -a'来解决问题。

N大,已经执行了这个命令了 还是报错。

###############################################################################                                                                                                                                                             #
# 1. 是否将系统源切换为清华源: 否
# 2. 是否将用户添加至 Docker 用户组:   是,添加用户为 admin
# 3. 是否将 Docker 源切换至国内源:     否
# 4. 您的设备类型为:                   qemuarm-64
# 5. 您的 hassio 数据路径为:           /usr/share/hassio
###############################################################################                                                                                                                                                             #
请确认以上信息,继续请按任意键,如需修改请输入 Ctrl+C 结束任务重新执行脚本。

[info]: 跳过切换系统源。
[info]: 安装 hassio 必要依赖.....
Get:1 file:/var/cache/openmediavault/archives  InRelease
Ign:1 file:/var/cache/openmediavault/archives  InRelease
Get:2 file:/var/cache/openmediavault/archives  Release
Ign:2 file:/var/cache/openmediavault/archives  Release
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Translation-en
Ign:4 file:/var/cache/openmediavault/archives  Translation-en
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:6 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:6 file:/var/cache/openmediavault/archives  Contents (deb)
Get:7 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:7 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Translation-en
Ign:4 file:/var/cache/openmediavault/archives  Translation-en
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:6 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:6 file:/var/cache/openmediavault/archives  Contents (deb)
Get:7 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:7 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Translation-en
Ign:4 file:/var/cache/openmediavault/archives  Translation-en
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:6 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:6 file:/var/cache/openmediavault/archives  Contents (deb)
Get:7 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:7 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Translation-en
Ign:4 file:/var/cache/openmediavault/archives  Translation-en
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:6 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:6 file:/var/cache/openmediavault/archives  Contents (deb)
Get:7 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:7 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Translation-en
Ign:4 file:/var/cache/openmediavault/archives  Translation-en
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:6 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:6 file:/var/cache/openmediavault/archives  Contents (deb)
Get:7 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:7 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Translation-en
Ign:4 file:/var/cache/openmediavault/archives  Translation-en
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:6 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:6 file:/var/cache/openmediavault/archives  Contents (deb)
Get:7 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:7 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:8 http://mirrors.ustc.edu.cn/debian stretch InRelease
Get:9 http://mirrors.ustc.edu.cn/debian stretch-updates InRelease [93.6 kB]
Hit:10 http://packages.openmediavault.org/public arrakis InRelease
Get:11 http://mirrors.ustc.edu.cn/debian-security stretch/updates InRelease [53.                                                                                                                                                             0 kB]
Hit:12 http://mirrors.ustc.edu.cn/debian stretch Release
Hit:13 https://mirror.azure.cn/docker-ce/linux/debian stretch InRelease
Get:14 http://httpredir.debian.org/debian stretch-backports InRelease [91.8 kB]
Get:15 http://mirrors.ustc.edu.cn/debian-security stretch/updates/main Sources [                                                                                                                                                             218 kB]
Get:16 https://openmediavault.github.io/packages arrakis InRelease [12.8 kB]
Get:17 http://mirrors.ustc.edu.cn/debian-security stretch/updates/main arm64 Pac                                                                                                                                                             kages [512 kB]
Get:19 http://mirrors.ustc.edu.cn/debian-security stretch/updates/main armhf Pac                                                                                                                                                             kages [508 kB]
Ign:20 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch InRelease
Get:21 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release [4389 B]
Hit:21 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release
Fetched 1490 kB in 36s (40.6 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
57 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
avahi-daemon is already the newest version (0.6.32-2).
jq is already the newest version (1.5+dfsg-1.3).
net-tools is already the newest version (1.60+git20161116.90da8a0-1).
qrencode is already the newest version (3.4.4-1+b2).
socat is already the newest version (1.7.3.1-2+deb9u1).
curl is already the newest version (7.52.1-5+deb9u10).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
vim : Depends: vim-common (= 2:8.0.0197-4+deb9u3) but 2:8.0.0197-4+deb9u1 is to be installed
vim-tiny : Depends: vim-common (= 2:8.0.0197-4+deb9u3) but 2:8.0.0197-4+deb9u1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID: Debian
Description:    Debian GNU/Linux 9.12 (stretch)
Release:        9.12
Codename:       stretch
########################### System version 2 ###########################
Linux version 5.1.0-rc1-aml-s905 (root@vbox) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #5.77 SMP PREEMPT Mon Apr 8 14:21:24 MSK 2019
########################### System info ###########################
Linux aml 5.1.0-rc1-aml-s905 #5.77 SMP PREEMPT Mon Apr 8 14:21:24 MSK 2019 aarch64 GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m

执行 apt --fix-broken install 报以下错误
...
unable to restore backup version of '/usr/bin/vimtutor': Read-only file system
dpkg: error while cleaning up:
unable to securely remove '/var/lib/dpkg/tmp.ci': Read-only file system
dpkg: error processing archive /var/cache/apt/archives/vim-common_2%3a8.0.0197-4+deb9u3_all.deb (--unpack):
error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file system
dpkg: error: unable to create new file '/var/lib/dpkg/status-new': Read-only file system
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
rm: cannot remove '/etc/cron.daily/mdadm': Read-only file system
Traceback (most recent call last):
  File "/usr/sbin/omv-mkaptidx", line 141, in <module>
    ), 'w'
OSError: [Errno 30] Read-only file system: '/var/lib/openmediavault/apt/upgradeindex.json'
E: Sub-process /usr/bin/dpkg returned an error code (2)
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - pkgDPkgPM::Go (30: Read-only file system)


回复

使用道具 举报

7

主题

64

回帖

231

积分

中级会员

积分
231
金钱
160
HASS币
0
发表于 2020-7-13 14:06:21 | 显示全部楼层
neroxps 发表于 2020-7-13 08:39
dpkg被中断,您必须手动运行'dpkg --configure -a'来解决问题。

root@aml:~# dpkg --configure -a
dpkg: error: unable to access dpkg status area: Read-only file system
运行了这个口令提示这个
回复

使用道具 举报

40

主题

3016

回帖

1万

积分

超级版主

Nero

积分
11150
金钱
8044
HASS币
182
 楼主| 发表于 2020-7-13 15:22:48 | 显示全部楼层
hlqhome 发表于 2020-7-13 14:06
root@aml:~# dpkg --configure -a
dpkg: error: unable to access dpkg status area: Read-only file sys ...

Read-only file system

你的OMV 有问题。

mount 看看根目录是不是只读了。
Nero
回复

使用道具 举报

7

主题

64

回帖

231

积分

中级会员

积分
231
金钱
160
HASS币
0
发表于 2020-7-13 16:06:50 | 显示全部楼层
neroxps 发表于 2020-7-13 15:22
Read-only file system

你的OMV 有问题。

那是不是需要重做一遍系统呢
回复

使用道具 举报

40

主题

3016

回帖

1万

积分

超级版主

Nero

积分
11150
金钱
8044
HASS币
182
 楼主| 发表于 2020-7-13 16:29:35 | 显示全部楼层
hlqhome 发表于 2020-7-13 16:06
那是不是需要重做一遍系统呢

如果你不懂怎么解决那么可以试试重做。
Nero
回复

使用道具 举报

7

主题

64

回帖

231

积分

中级会员

积分
231
金钱
160
HASS币
0
发表于 2020-7-13 16:59:45 | 显示全部楼层
neroxps 发表于 2020-7-13 16:29
如果你不懂怎么解决那么可以试试重做。

我目前是armbian 需要更换成其他系统吗?
回复

使用道具 举报

0

主题

6

回帖

129

积分

注册会员

积分
129
金钱
123
HASS币
0
发表于 2020-7-14 09:26:32 | 显示全部楼层
之前安装使用都是正常的,前两周发现 supervisor 面板突然访问不了了,错误提示:

Unable to load the panel source: /api/hassio/app/entrypoint.js.

后面重新运行 install.sh 脚本安装了一次,依然没法使用,homeassistant 和 supervisor 的 Log 中均未见错误。

supervisor Log:

20-07-13 12:27:00 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-13 12:27:00 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-13 12:27:00 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-13 12:27:01 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-13 13:19:29 INFO (SyncWorker_8) [supervisor.docker] Run command 'python3 -m homeassistant -c /config --script check_config' on homeassistant/raspberrypi4-homeassistant
20-07-13 13:19:41 INFO (MainThread) [supervisor.homeassistant] Home Assistant config is valid
20-07-13 13:21:12 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-13 13:21:40 INFO (MainThread) [supervisor.core] Start repairing of Supervisor Environment
20-07-13 13:21:40 INFO (SyncWorker_12) [supervisor.docker] Prune stale containers
20-07-13 13:21:40 INFO (SyncWorker_12) [supervisor.docker] Prune stale images
20-07-13 13:21:47 INFO (SyncWorker_12) [supervisor.docker] Prune stale builds
20-07-13 13:21:47 INFO (SyncWorker_12) [supervisor.docker] Prune stale volumes
20-07-13 13:21:47 INFO (SyncWorker_12) [supervisor.docker] Prune stale networks
20-07-13 13:21:47 INFO (MainThread) [supervisor.plugins.cli] Repair HA cli 25
20-07-13 13:21:47 INFO (SyncWorker_14) [supervisor.docker.interface] Pull image homeassistant/armv7-hassio-cli tag 25.
20-07-13 13:22:15 INFO (SyncWorker_14) [supervisor.docker.interface] Tag image homeassistant/armv7-hassio-cli with version 25 as latest
20-07-13 13:22:15 INFO (MainThread) [supervisor.addons] Found 1 add-ons to repair
20-07-13 13:22:15 INFO (MainThread) [supervisor.addons] Start repair for add-on: core_check_config
20-07-13 13:22:15 INFO (SyncWorker_1) [supervisor.docker.interface] Pull image homeassistant/armv7-addon-check_config tag 3.3.0.
20-07-13 13:22:31 INFO (MainThread) [supervisor.supervisor] Repair Supervisor 228
20-07-13 13:22:31 INFO (MainThread) [supervisor.core] Finished repairing of Supervisor Environment
20-07-13 13:23:31 INFO (MainThread) [supervisor.homeassistant] Update Home Assistant to version 0.112.4
20-07-13 13:23:31 INFO (SyncWorker_18) [supervisor.docker.interface] Update image homeassistant/raspberrypi4-homeassistant:0.111.2 to homeassistant/raspberrypi4-homeassistant:0.112.4
20-07-13 13:23:31 INFO (SyncWorker_18) [supervisor.docker.interface] Pull image homeassistant/raspberrypi4-homeassistant tag 0.112.4.
20-07-13 13:25:33 INFO (SyncWorker_18) [supervisor.docker.interface] Stop homeassistant application
20-07-13 13:25:43 INFO (SyncWorker_18) [supervisor.docker.interface] Clean homeassistant application
20-07-13 13:25:43 INFO (MainThread) [supervisor.homeassistant] Update pulse/client.config: /data/tmp/homeassistant_pulse
20-07-13 13:25:44 INFO (SyncWorker_5) [supervisor.docker.homeassistant] Start homeassistant homeassistant/raspberrypi4-homeassistant with version 0.112.4
20-07-13 13:25:49 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-07-13 13:25:49 INFO (MainThread) [supervisor.homeassistant] Detect a running Home Assistant instance
20-07-13 13:25:49 INFO (MainThread) [supervisor.homeassistant] Successful run Home Assistant 0.112.4
20-07-13 13:25:50 INFO (SyncWorker_14) [supervisor.docker.interface] Cleanup images: ['homeassistant/raspberrypi4-homeassistant:0.111.2']
20-07-13 14:27:00 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-13 14:33:40 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-13 14:33:40 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-13 14:33:40 INFO (MainThread) [supervisor.host.services] Update service information
20-07-13 14:33:40 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-13 14:33:40 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-13 14:33:40 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-13 14:33:40 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-13 15:27:00 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-07-13 15:27:00 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-07-13 15:27:06 INFO (MainThread) [supervisor.store] Load add-ons from store: 65 all - 0 new - 0 remove
20-07-13 16:27:00 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-13 16:40:20 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-13 16:40:20 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-13 16:40:20 INFO (MainThread) [supervisor.host.services] Update service information
20-07-13 16:40:20 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-13 16:40:20 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-13 16:40:20 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-13 16:40:20 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-13 18:27:00 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-07-13 18:27:00 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-07-13 18:27:00 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-13 18:27:04 INFO (MainThread) [supervisor.store] Load add-ons from store: 65 all - 0 new - 0 remove
20-07-13 18:47:00 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-13 18:47:00 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-13 18:47:00 INFO (MainThread) [supervisor.host.services] Update service information
20-07-13 18:47:00 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-13 18:47:00 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-13 18:47:00 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-13 18:47:00 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-13 20:27:00 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-13 20:50:20 INFO (MainThread) [supervisor.misc.tasks] Found new PulseAudio plugin version
20-07-13 20:50:20 INFO (SyncWorker_16) [supervisor.docker.interface] Update image homeassistant/armv7-hassio-audio:14 to homeassistant/armv7-hassio-audio:16
20-07-13 20:50:20 INFO (SyncWorker_16) [supervisor.docker.interface] Pull image homeassistant/armv7-hassio-audio tag 16.
20-07-13 20:50:29 INFO (SyncWorker_16) [supervisor.docker.interface] Stop hassio_audio application
20-07-13 20:50:34 INFO (SyncWorker_16) [supervisor.docker.interface] Clean hassio_audio application
20-07-13 20:50:34 INFO (SyncWorker_5) [supervisor.docker.interface] Cleanup images: ['homeassistant/armv7-hassio-audio:14']
20-07-13 20:50:35 INFO (MainThread) [supervisor.plugins.audio] Start Audio plugin
20-07-13 20:50:36 INFO (SyncWorker_10) [supervisor.docker.audio] Start Audio homeassistant/armv7-hassio-audio with version 16 - 172.30.32.4
20-07-13 20:53:40 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-13 20:53:40 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-13 20:53:40 INFO (MainThread) [supervisor.host.services] Update service information
20-07-13 20:53:40 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-13 20:53:40 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-13 20:53:40 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-13 20:53:40 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-13 21:27:00 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-07-13 21:27:00 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-07-13 21:27:04 INFO (MainThread) [supervisor.store] Load add-ons from store: 65 all - 0 new - 0 remove
20-07-13 22:27:00 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-13 23:00:20 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-13 23:00:20 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-13 23:00:20 INFO (MainThread) [supervisor.host.services] Update service information
20-07-13 23:00:20 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-13 23:00:20 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-13 23:00:20 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-13 23:00:20 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-14 00:27:00 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-14 00:27:00 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-07-14 00:27:00 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-07-14 00:27:04 INFO (MainThread) [supervisor.store] Load add-ons from store: 65 all - 0 new - 0 remove
20-07-14 01:07:00 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-14 01:07:00 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-14 01:07:00 INFO (MainThread) [supervisor.host.services] Update service information
20-07-14 01:07:00 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-14 01:07:00 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-14 01:07:00 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-14 01:07:00 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information


ha info:
arch: armv7
channel: stable
docker: 19.03.8
hassos: null
homeassistant: 0.112.4
hostname: raspberrypi
logging: info
machine: raspberrypi4
supervisor: "228"
supported_arch:
- armv7
- armhf
timezone: Asia/Shanghai


不知道是不是和 supervisor 版本升级有关,请问有什么好的解决排查方法吗?

回复

使用道具 举报

40

主题

3016

回帖

1万

积分

超级版主

Nero

积分
11150
金钱
8044
HASS币
182
 楼主| 发表于 2020-7-14 10:06:24 | 显示全部楼层
g199209 发表于 2020-7-14 09:26
之前安装使用都是正常的,前两周发现 supervisor 面板突然访问不了了,错误提示:

Unable to load the pan ...

请提供 homeassistant  log
Nero
回复

使用道具 举报

0

主题

6

回帖

129

积分

注册会员

积分
129
金钱
123
HASS币
0
发表于 2020-7-14 13:04:38 | 显示全部楼层
neroxps 发表于 2020-7-14 10:06
请提供 homeassistant  log

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.,
[s6-init] ensuring user provided files have correct perms...exited 0.,
[fix-attrs.d] applying ownership & permissions fixes...,
[fix-attrs.d] done.,
[cont-init.d] executing container initialization scripts...,
[cont-init.d] udev.sh: executing... ,
[21:25:45] INFO: Update udev information,
[cont-init.d] udev.sh: exited 0.,
[cont-init.d] done.,
[services.d] starting services,
[services.d] done.,

2020-07-13 21:25:52 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.,
2020-07-13 21:25:53 WARNING (Recorder) [homeassistant.components.recorder.migration] Database is about to upgrade. Schema version: 7,
2020-07-13 21:25:53 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding columns context_parent_id to table events. Note: this can take several minutes on large databases and slow computers. Please be patient!,
2020-07-13 21:26:03 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.,
2020-07-13 21:26:41 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (MySQLdb._exceptions.OperationalError) (1296, "Got error 64 'Temp file write failure' from InnoDB"),
[SQL: ALTER TABLE events ADD context_parent_id CHARACTER(36)],
(Background on this error at: http://sqlalche.me/e/e3q8),
2020-07-13 21:26:41 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (MySQLdb._exceptions.OperationalError) (1296, "Got error 64 'Temp file write failure' from InnoDB"),
[SQL: ALTER TABLE events ADD context_parent_id CHARACTER(36)],
(Background on this error at: http://sqlalche.me/e/e3q8) (retrying in 3 seconds),
..........重复
2020-07-13 21:34:26 ERROR (MainThread) [homeassistant.setup] Setup failed for recorder: Integration failed to initialize.,

2020-07-13 21:34:29 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for chineseholiday which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.,
2020-07-13 21:34:30 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for xiaomi_miio_airpurifier which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.,
2020-07-13 21:34:30 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for xiaomi_miio_airconditioningcompanion which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.,
2020-07-13 21:34:31 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history. Setup failed for dependencies: recorder,
2020-07-13 21:34:31 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not set up all dependencies.,
2020-07-13 21:34:31 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: recorder,
2020-07-13 21:34:31 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.,
2020-07-13 21:34:31 WARNING (MainThread) [homeassistant.components.climate] ClimateDevice is deprecated, modify XiaomiAirConditioningCompanion to extend ClimateEntity,
2020-07-13 21:34:31 ERROR (MainThread) [homeassistant.components.http] Failed to create HTTP server at port 8123: [Errno 98] error while attempting to bind on address ('0.0.0.0', 8123): address in use,
2020-07-13 21:36:58 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: history, logbook,
2020-07-13 21:36:58 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.,
2020-07-13 21:37:06 ERROR (SyncWorker_8) [homeassistant.components.zeroconf] Home Assistant instance with identical name present in the local network,
2020-07-13 21:37:06 ERROR (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Unable to update from sensor: could not convert string to float: 'unavailable',
2020-07-13 22:31:12 WARNING (MainThread) [homeassistant.helpers.entity] Update of vacuum.xiaomi_vacuum_cleaner is taking over 10 seconds,
2020-07-13 22:31:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.aqara_air_conditioning_companion is taking over 10 seconds,
2020-07-13 22:31:14 ERROR (SyncWorker_1) [miio.miioprotocol] Unable to discover a device at address 10.42.113.10,
2020-07-13 22:31:14 ERROR (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Got exception while fetching the state: Unable to discover the device 10.42.113.10,
2020-07-13 23:15:56 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.xiaomi_philips_smart_led_ball is taking over 10 seconds,
2020-07-13 23:15:56 ERROR (SyncWorker_9) [miio.miioprotocol] Unable to discover a device at address 10.42.110.10,
2020-07-13 23:15:56 ERROR (MainThread) [homeassistant.components.xiaomi_miio.light] Got exception while fetching the state: Unable to discover the device 10.42.110.10,
2020-07-13 23:16:15 WARNING (MainThread) [homeassistant.helpers.entity] Update of vacuum.xiaomi_vacuum_cleaner is taking over 10 seconds,
2020-07-13 23:16:20 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.aqara_air_conditioning_companion is taking over 10 seconds,
2020-07-13 23:16:20 WARNING (MainThread) [homeassistant.components.climate] Updating xiaomi_miio_airconditioningcompanion climate took longer than the scheduled update interval 0:00:10,
2020-07-13 23:16:20 ERROR (SyncWorker_10) [miio.miioprotocol] Unable to discover a device at address 10.42.113.10,
2020-07-13 23:16:20 ERROR (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Got exception while fetching the state: Unable to discover the device 10.42.113.10,
2020-07-13 23:16:22 ERROR (SyncWorker_3) [miio.miioprotocol] Unable to discover a device at address 10.42.110.10,
2020-07-13 23:16:22 ERROR (MainThread) [homeassistant.components.xiaomi_miio.light] Got exception while fetching the state: Unable to discover the device 10.42.110.10,
2020-07-13 23:16:25 WARNING (MainThread) [homeassistant.helpers.entity] Update of alarm_control_panel.xiaomi_gateway_alarm is taking over 10 seconds,

2020-07-14 12:54:12 ERROR (SyncWorker_17) [miio.miioprotocol] Unable to discover a device at address 10.42.110.10,
2020-07-14 12:54:12 ERROR (MainThread) [homeassistant.components.xiaomi_miio.light] Got exception while fetching the state: Unable to discover the device 10.42.110.10,
..........重复


---------------------------------------------------------------


MySQL 似乎有些问题,导致 Recorder 初始化失败,这个的原因我再检查下,难说是部署 MySQL 的机子硬盘满了。不过这个对访问 supervisor 面板感觉应该不会有影响。

后面大量重复 Log 是无法连上某个智能灯泡,这个应该也没什么影响。

回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2025-5-2 06:55 , Processed in 0.144890 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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