Closed Bagunda closed 1 year ago
I have the exact issue on Debian GNU/Linux 11 (bullseye). It seems that installer couldn't enable systemd-journal-gatewayd
I experienced the same thing, I had to uninstall the supervisor package (specially if you had the above error displayed), remove the containers, and reinstall systemd-journal-gatewayd
, then reboot, make sure that systemd-journal-gatewayd.service
and systemd-journal-gatewayd.socket
are started without errors, install supervisor and then everything worked without issues.
I experienced the same issue and followed fcastilloec's solution with success.
Setting up homeassistant-supervised (1.4.2) ...
[info] Restarting NetworkManager
[info] Set up systemd-journal-gatewayd socket file
[info] Enable systemd-journal-gatewayd
dpkg: error processing package homeassistant-supervised (--configure):
installed homeassistant-supervised package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
homeassistant-supervised
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian:/home/david#
Slightly different error
Setting up homeassistant-supervised (1.4.2) ... [info] Restarting NetworkManager [info] Set up systemd-journal-gatewayd socket file [info] Enable systemd-journal-gatewayd dpkg: error processing package homeassistant-supervised (--configure): installed homeassistant-supervised package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: homeassistant-supervised needrestart is being skipped since dpkg has failed E: Sub-process /usr/bin/dpkg returned an error code (1) root@debian:/home/david#
Slightly different error
I'm facing this error as well.... Not able to get the new supervised config (required to change de bind propagation and make use of network folders for backups)
I just encountered this when updating my installation.
For me it was a problem of systemd-journal-gatewayd
being misconfigured. By running sudo apt install systemd-journal-remote --reinstall
it fixed itself and homeassistant-supervised
set itself up successfully.
This was a lucky guess to figure out my problem based on the lack of any erorr reason being logged.
I just encountered this when updating my installation. For me it was a problem of
systemd-journal-gatewayd
being misconfigured. By runningsudo apt install systemd-journal-remote --reinstall
it fixed itself andhomeassistant-supervised
set itself up successfully.This was a lucky guess to figure out my problem based on the lack of any erorr reason being logged.
This fixed the issues for me when upgrading to homeassistant-supervised (1.4.3).
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
I had the same issue running os-agent-1.6.0 and homeassistant-supervised-1.8.0
For others still having the same issue, check if you have all dependencies installed
apt install jq apparmor wget curl udisks2 libglib2.0-bin network-manager dbus lsb-release systemd-journal-remote systemd-resolved
which solved the issue for me
I had the same issue running os-agent-1.6.0 and homeassistant-supervised-1.8.0 For others still having the same issue, check if you have all dependencies installed
apt install jq apparmor wget curl udisks2 libglib2.0-bin network-manager dbus lsb-release systemd-journal-remote systemd-resolved
which solved the issue for me
This resolved it for me as well when attempting to upgrade from Debian 11 to 12 (Bookworm). Guessing that my "apt dist-upgrade" was hung up too early and didn't catch these other dependencies first.
OS Version
Debian GNU/Linux 11 (bullseye)
System Information
Linux shururik.example.com 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
What happened?
I encourented an issue installing homeassistant-supervised.deb on my Debian machine on VPS/VDS in internet. Steps to reproduce:
Turn-off ipv6:
nano /etc/sysctl.conf
:sysctl -p
ip addr | grep inet6
: there is no ipv6wget https://github.com/home-assistant/os-agent/releases/download/1.4.1/os-agent_1.4.1_linux_x86_64.deb
dpkg -i os-agent_1.4.1_linux_x86_64.deb
wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
Installer will fail without explaning the reason.
Try reinstall:
Installer will fail without explaning the reason.
Before installing the home assistant, it stood and worked for me, but the addons did not let me through the web interface. And I decided to remove everything related to the home assistant along with the docker. And reinstall
Machine Type
generic-x86-64
Installer output
Relevant log output
ADR
Code of Conduct