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

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

HASSIO 安装一键脚本

   关闭 [复制链接]

4

主题

107

帖子

843

积分

论坛技术达人

积分
843
金钱
726
HASS币
40
发表于 2020-8-28 23:47:37 | 显示全部楼层
碰到和楼上一样的问题,现在一键安装脚本没法用了
回复

使用道具 举报

40

主题

3057

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11135
金钱
8028
HASS币
182
 楼主| 发表于 2020-8-29 09:41:27 | 显示全部楼层
seon 发表于 2020-8-28 23:47
碰到和楼上一样的问题,现在一键安装脚本没法用了

树莓派吗?新的 supervisor 官方安装脚本要求 auditd 依赖。我没树莓派和 N1 如果非 X86 我都无法测试。所以请自行解决。
Nero
回复

使用道具 举报

6

主题

89

帖子

751

积分

高级会员

Rank: 4

积分
751
金钱
662
HASS币
0
发表于 2020-9-2 19:16:26 | 显示全部楼层
● auditd.service - Security Auditing Service
   Loaded: loaded (/lib/systemd/system/auditd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2020-09-02 19:14:08 CST; 25ms ago
     Docs: man:auditd(8)
           https://github.com/linux-audit/audit-documentation
  Process: 3586 ExecStart=/sbin/auditd (code=exited, status=203/EXEC)

Sep 02 19:14:08 raspberrypi systemd[1]: Starting Security Auditing Service...
Sep 02 19:14:08 raspberrypi systemd[3586]: auditd.service: Failed to execute command: No such file or directory
Sep 02 19:14:08 raspberrypi systemd[3586]: auditd.service: Failed at step EXEC spawning /sbin/auditd: No such file or directory
Sep 02 19:14:08 raspberrypi systemd[1]: auditd.service: Control process exited, code=exited, status=203/EXEC
Sep 02 19:14:08 raspberrypi systemd[1]: auditd.service: Failed with result 'exit-code'.
Sep 02 19:14:08 raspberrypi systemd[1]: Failed to start Security Auditing Service.
dpkg: error processing package auditd (--configure):
installed auditd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
auditd
E: Sub-process /usr/bin/dpkg returned an error code (1)

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID:        Raspbian
Description:        Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:        buster
########################### System version 2 ###########################
Linux version 5.4.51-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1333 SMP Mon Aug 10 16:51:40 BST 2020
########################### System info ###########################
Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m

求大佬看看咋回事,开始提示这个问题,我手贱把/sbin/auditd删除了,还是这个问题
回复

使用道具 举报

0

主题

2

帖子

20

积分

新手上路

Rank: 1

积分
20
金钱
18
HASS币
0
发表于 2020-9-3 05:58:43 | 显示全部楼层
#从 hub.docker.com 下载 homeassistant/qemux86-64-homeassistant:0.114.4......
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[WARNING]: 从 docker hub 下载 homeassistant/qemux86-64-homeassistant:0.114.4 失败,第 10 次重试.

系统用了Linux Deploy(Ubuntu、debian),和Win10上的Ubuntu子系统,都显示这个,另外Linux Deploy的docker还运行不了

盼回复
回复

使用道具 举报

40

主题

3057

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11135
金钱
8028
HASS币
182
 楼主| 发表于 2020-9-3 08:46:40 | 显示全部楼层
tzcjh 发表于 2020-9-3 05:58
#从 hub.docker.com 下载 homeassistant/qemux86-64-homeassistant:0.114.4......
Cannot connect to the D ...

帖子上已经写了。
给windows子系统的用户:
windows 商店已经提供ubuntu安装,但是这个ubuntu并不能安装docker,目前docker依然需要依赖虚拟机(因为子系统还不支持 iptables,有iptables但是没法用),网上流传的 WSL for Docker 都是需要安装 docker for windows客户端,而这个客户端其实是在 Hyper-V 上跑一个ubuntu,那你为何不直接在Hyper-V上直接装个ubuntu来跑 hassio?


安卓不能跑 docker 自己解决。
Nero
回复

使用道具 举报

0

主题

2

帖子

20

积分

新手上路

Rank: 1

积分
20
金钱
18
HASS币
0
发表于 2020-9-3 16:44:59 | 显示全部楼层
neroxps 发表于 2020-9-3 08:46
帖子上已经写了。

安卓不能跑 docker 自己解决。

谢谢谢谢!
回复

使用道具 举报

0

主题

14

帖子

174

积分

注册会员

Rank: 2

积分
174
金钱
160
HASS币
0
发表于 2020-9-7 14:21:46 | 显示全部楼层
Job for auditd.service failed because the control process exited with error code.
See "systemctl status auditd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript auditd, action "start" failed.
● auditd.service - Security Auditing Service
   Loaded: loaded (/lib/systemd/system/auditd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2020-09-07 14:17:44 CST; 22ms ago
     Docs: man:auditd(8)
           https://github.com/linux-audit/audit-documentation
  Process: 3418 ExecStart=/sbin/auditd (code=exited, status=1/FAILURE)

9月 07 14:17:44 raspberrypi systemd[1]: Starting Security Auditing Service...
9月 07 14:17:44 raspberrypi auditd[3419]: Error - audit support not in kernel
9月 07 14:17:44 raspberrypi auditd[3419]: Cannot open netlink audit socket
9月 07 14:17:44 raspberrypi auditd[3419]: The audit daemon is exiting.
9月 07 14:17:44 raspberrypi auditd[3418]: Cannot daemonize (No child processes)
9月 07 14:17:44 raspberrypi auditd[3418]: The audit daemon is exiting.
9月 07 14:17:44 raspberrypi systemd[1]: auditd.service: Control process exited, code=exited, status=1/FAILURE
9月 07 14:17:44 raspberrypi systemd[1]: auditd.service: Failed with result 'exit-code'.
9月 07 14:17:44 raspberrypi systemd[1]: Failed to start Security Auditing Service.
dpkg: 处理软件包 auditd (--configure)时出错:
已安装 auditd 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
auditd
E: Sub-process /usr/bin/dpkg returned an error code (1)

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
########################### System version 2 ###########################
Linux version 5.4.51-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1333 SMP Mon Aug 10 16:51:40 BST 2020
########################### System info ###########################
Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m

不知道哪里出了错误
回复

使用道具 举报

0

主题

14

帖子

174

积分

注册会员

Rank: 2

积分
174
金钱
160
HASS币
0
发表于 2020-9-7 15:07:47 | 显示全部楼层
Simonyud 发表于 2020-9-7 14:21
Job for auditd.service failed because the control process exited with error code.
See "systemctl sta ...

https://blog.csdn.net/stickmangod/article/details/85316142
在网上找到大神安装解决方案试了一下,很好用.
软件其实已经安装上了,但是是设置出错了,按照大神的方法
sudo apt-get update
sudo apt-get install -f
修复完成就不要动这个软件了,重装还是会出错。
复原文件
mv /var/lib/dpkg/info.bk /var/lib/dpkg/info
在执行一边脚本就好了

评分

参与人数 1金钱 +20 收起 理由
neroxps + 20 赠人玫瑰,手留余香!

查看全部评分

回复

使用道具 举报

12

主题

114

帖子

1398

积分

金牌会员

Rank: 6Rank: 6

积分
1398
金钱
1284
HASS币
0
发表于 2020-9-9 16:41:53 | 显示全部楼层
本帖最后由 xiguaboy 于 2020-9-9 16:47 编辑

求救:安装时出错

开始 hassio 安装流程。(如出现 [Warning] 请忽略,无须理会)
[Warning]
[Warning] If you want more control over your own system, run
[Warning] Home Assistant as a VM or run Home Assistant Core
[Warning] via a Docker container.
[Warning]
[Error] Please install avahi first
Unit hassio-supervisor.service could not be found.

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
########################### System version 2 ###########################
Linux version 4.19.0-10-amd64 ([email protected]) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.132-1 (2020-07-24)
########################### System info ###########################
Linux xiots1 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux
########################### END ###########################
安装 hassio 失败,请将上方安装信息发送到论坛询问。脚本退出...



查了下,avahi已经安装了
avahi-autoipd/stable,now 0.7-4+b1 amd64 [已安装]
avahi-daemon/stable,now 0.7-4+b1 amd64 [已安装]
avahi-discover/stable,now 0.7-4 all [已安装]
avahi-dnsconfd/stable,now 0.7-4+b1 amd64 [已安装]
avahi-ui-utils/stable,now 0.7-4+b1 amd64 [已安装]
avahi-utils/stable,now 0.7-4+b1 amd64 [已安装]


回复

使用道具 举报

29

主题

184

帖子

778

积分

高级会员

Rank: 4

积分
778
金钱
594
HASS币
0
发表于 2020-9-9 22:18:52 | 显示全部楼层
没有搞懂,树莓派新系统安装一直报错。
dpkg: 处理软件包 auditd (--configure)时出错:
已安装 auditd 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
auditd
E: Sub-process /usr/bin/dpkg returned an error code (1)

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID:        Raspbian
Description:        Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:        buster
########################### System version 2 ###########################
Linux version 5.4.51-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1333 SMP Mon Aug 10 16:51:40 BST 2020
########################### System info ###########################
Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m

相关问题可以访问https://bbs.iobroker.cn或者加QQ群776817275咨询
root@raspberrypi:/var/lib/dpkg/info#
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-27 19:02 , Processed in 0.055200 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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