Posted here since it feels like more of a problem based in the installation rather than the z-wave.
I base that on the different behaviour depending on how I shut down/restart my computer, from “Outside”, terminal in debian, it messes with the z-wave, but not when I do it from “inside” hass (reboot host, system) So feels like there is a difference in how HASS is shutdown.
So maybe not exactley installation-related, but maybe more on how some part inside the installation is done, if you get what I mean.
But will try and find a better place for my question
FYI, this will cause issues if anyone is running pihole on the same raspberry pi, since that uses port 53. One option to get around that would be to run pihole in docker and/or exposure it to a different port.
Anyone here have a ever-increasing var/log/journal? I noticed my drive was steadily climbing about a GB per day, turns out it’s journal files. Anyways, I’m viewing them and it’s nothing bad. Basically information about every little thing possible that occurred, no errors. So before I limit the size, is this happening to anyone else? It was not happening on buster. I updated about 5 days ago.
I wanted to say – AWESOME JOB. I only ran into a few “glitches” and doing a google search was able to resolve them and get this process completed.
(1) I had the modem manager issue - and the systemctl disable ModemManager fixed that.
(2) I was then getting error:
Error response from daemon: Get “https://registry-1.docker.io/v2/”: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:60704->[::1]:53: read: connection refused
dpkg: error processing package homeassistant-supervised (–install):
installed homeassistant-supervised package post-installation script subprocess returned error exit status 1
I have IPv6 enabled in my home with a pfSense Router/Firewall. I followed these instructions to disable it on Debian 11 - and the installation completed:
a) Edit the /etc/sysctl.conf file. – sudo nano /etc/sysctl.conf
b) Place the following entry to disable IPv6 for all adapters.
net.ipv6.conf.all.disable_ipv6 = 1
(For a particular adapter (If the network card name is enp0s3))
net.ipv6.conf.enp0s3.disable_ipv6 = 1
c) To reflect the changes execute the following command.
sudo sysctl -p
d) ip addr
– Verify there are no IPv6 addresses shown.
I simply re-ran this line: ** dpkg -i homeassistant-supervised.deb**
Proxmox 7.1-10 - Debian 11 bullseye w kernel Linux 5.12.19-6-pve
root@debian:~# sudo sysctl -p
net.ipv6.conf.all.disable_ipv6 = 1
root@debian:~# dpkg -i homeassistant-supervised.deb
(Reading database ... 44475 files and directories currently installed.)
Preparing to unpack homeassistant-supervised.deb ...
[warn]
[warn] If you want more control over your own system, run
[warn] Home Assistant as a VM or run Home Assistant Core
[warn] via a Docker container.
[warn]
[info] Fix kernel dmesg restriction
/var/lib/dpkg/tmp.ci/preinst: line 21: /proc/sys/kernel/dmesg_restrict: Read-only file system
dpkg: error processing archive homeassistant-supervised.deb (--install):
new homeassistant-supervised package pre-installation script subprocess returned error exit status 1
[info] Undo divert on abort-install
No diversion 'diversion of /etc/NetworkManager/NetworkManager.conf to /etc/NetworkManager/NetworkManager.conf.real by homeassistant-supervised', none removed.
No diversion 'diversion of /etc/NetworkManager/system-connections/default to /etc/NetworkManager/system-connections/default.real by homeassistant-supervised', none removed.
No diversion 'diversion of /etc/docker/daemon.json to /etc/docker/daemon.json.real by homeassistant-supervised', none removed.
No diversion 'diversion of /etc/network/interfaces to /etc/network/interfaces.real by homeassistant-supervised', none removed.
[info] Resetting debconf selections
[info] Removal complete, due to the complexity of this installation method,
[info] you will need to manually remove the containers created by the supervisor
Errors were encountered while processing:
homeassistant-supervised.deb
This is totally driving me nuts. Help please?
I mean how to fix this pretty please:
[info] Fix kernel dmesg restriction
/var/lib/dpkg/tmp.ci/preinst: line 21: /proc/sys/kernel/dmesg_restrict: Read-only file system
dpkg: error processing archive homeassistant-supervised.deb (--install):
new homeassistant-supervised package pre-installation script subprocess returned error exit status 1
I need much more control over the base OS. My hands are tied with ha-cli. It’s too much to bear with. Also, non-supervised is a no-no, since can’t add community add-ons for some reason, regardless of how I install HA with HAOS
Well, while I was starting to feel comfortable with Home Assistant and I liked it, because of these issues I have started looking for alternatives today. It’s regrettable, I am not 100% ready to leave, depends on what alternatives I may find.
With what specifically, and why? Running a HA OS VM along side other LXC or VMs is easy to manage and keeps HA isolated from issues from other things you may be trying to do.
Let me give you an example. I have HA in a VM and some log fills the data partition badly, blocking any move. I extended the disk from proxmox and booted with an utility “CD-ROM” and extended the data partition and now all I am getting is a boot loop. I have no clue where to look and how to troubleshoot this in a closed box OS. Happy? I have backups, I can reinstall and restore the config in minutes, but I can’t restore each time honestly.
We are probably getting a little off topic and should move this over a Proxmox thread.
Then address this issue.
I have run a HA OS VM in Proxmox for a couple of years now, I don’t have this issue. If it’s the HA logs files, not sure as you haven’t been specific, you can help to reduce the amount of logging by changing your recorder config in configuration.yaml to something like this (edit as you need).
If it’s a logging issue in Proxmox, then do some reading up on that and look for a fix.
It would guess you have done something in error during this process if you are getting a boot loop. Trash the VM and start again. If you haven’t already, you could take a look here for some pointers.