Job for haos-agent.service failed because a fatal signal was delivered to the control process
bartplessers opened this issue · 2 comments
bartplessers commented
Hi,
Just for fun, I'm trying to install HA Supervised on a Raspberry 1 (!)
- I Installed latest version of DietPi today
- something went wrong on "Step 3: Install the OS-Agent": (I tried to install os-agent 1.2.2 before, but same problem)
wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.1_linux_armv7.deb
dpkg -i os-agent_1.2.1_linux_armv7.deb
but this gave
root@rpi-81:~# dpkg -i os-agent_1.2.1_linux_armv7.deb
Selecting previously unselected package os-agent.
(Reading database ... 24582 files and directories currently installed.)
Preparing to unpack os-agent_1.2.1_linux_armv7.deb ...
Unpacking os-agent (1.2.1) ...
Setting up os-agent (1.2.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/haos-agent.service → /lib/systemd/system/haos-agent.service.
Job for haos-agent.service failed because a fatal signal was delivered to the control process.
See "systemctl status haos-agent.service" and "journalctl -xe" for details.
dpkg: error processing package os-agent (--install):
installed os-agent package post-installation script subprocess returned error exit status 1
Processing triggers for dbus (1.12.20-2) ...
Errors were encountered while processing:
os-agent
root@rpi-81:~#
root@rpi-81:~# systemctl status haos-agent.service
● haos-agent.service - Home Assistant OS Agent
Loaded: loaded (/lib/systemd/system/haos-agent.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: signal) since Wed 2022-02-16 16:25:14 GMT; 1s ago
Process: 2772 ExecStart=/usr/bin/os-agent (code=killed, signal=ILL)
Main PID: 2772 (code=killed, signal=ILL)
CPU: 12ms
root@rpi-81:~# journalctl -xe
Feb 16 16:25:56 rpi-81 systemd[1]: Starting Home Assistant OS Agent...
░░ Subject: A start job for unit haos-agent.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit haos-agent.service has begun execution.
░░
░░ The job identifier is 15021.
Feb 16 16:25:56 rpi-81 systemd[1]: haos-agent.service: Main process exited, code=killed, status=4/ILL
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit haos-agent.service has exited.
░░
░░ The process' exit code is 'killed' and its exit status is 4.
Feb 16 16:25:56 rpi-81 systemd[1]: haos-agent.service: Failed with result 'signal'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit haos-agent.service has entered the 'failed' state with result 'signal'.
Feb 16 16:25:56 rpi-81 systemd[1]: Failed to start Home Assistant OS Agent.
░░ Subject: A start job for unit haos-agent.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit haos-agent.service has finished with a failure.
░░
░░ The job identifier is 15021 and the job result is failed.
Has anybody tried to run HA on RPI1?
bartplessers commented
PS: here me install logfile:
After installing plain DietPi, I've run following commands
# ======================================================================
# Home Assistant Supervised
# ======================================================================
# https://github.com/home-assistant/supervised-installer
# ----------------------------------------------------------------------
# Step 1: prerequisites
# ----------------------------------------------------------------------
apt-get install \
jq \
wget \
curl \
udisks2 \
libglib2.0-bin \
apparmor \
apparmor-utils \
network-manager \
dbus -y
apt-get update && apt-get upgrade
# apt --fix-broken install
# ----------------------------------------------------------------------
# Step 2: Install Docker-CE with the following command:
# ----------------------------------------------------------------------
curl -fsSL get.docker.com | sh
docker ps
# ----------------------------------------------------------------------
# Step 3: Install the OS-Agent:
# ----------------------------------------------------------------------
# Instructions for installing the OS-Agent can be found here
# Download the latest Debian package from OS Agent GitHub release page at:
# https://github.com/home-assistant/os-agent/releases/latest
wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_armv7.deb
dpkg -i os-agent_1.2.2_linux_armv7.deb
wget https://github.com/home-assistant/os-agent/releases/download/1.2.1/os-agent_1.2.1_linux_armv7.deb
dpkg -i os-agent_1.2.1_linux_armv7.deb