Hello all. I’m new to Home Assistant. I’ve been experiencing some instability in my system (mostly random restarts). I’m trying my best to try to figure out if there are any issues, but I’m pretty terrible at reading/understanding logs. In any case, one thing I’ve noticed is that in my Host log, I have a constant stream of messages talking about conflicts. Can anyone give any helpful input here?
I’m running HA on a windows machine:
VirtualBox:
Currently on 2023.5.4.
Through a tutorial I found, I set up NGINX and DuckDNS. They system works, but I’ve had random restarts. This morning I woke up and the system was down. I restarted it and it works, but I’m hoping to improve on the stability. Happy to provide any other info.
Here is an example of what I’m seeing. But again, it’s a constant stream, so new conflict messages appear every time I refresh the log.
Jun 14 15:00:29 homeassistant systemd-resolved[350]: Detected conflict on homeassistant175889.local IN A 192.168.1.40
Jun 14 15:00:29 homeassistant systemd-resolved[350]: Hostname conflict, changing published hostname from 'homeassistant175889' to 'homeassistant175890'.
Jun 14 15:00:29 homeassistant systemd-resolved[350]: Detected conflict on homeassistant175890\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN SRV 0 0 0 homeassistant175890.local
Jun 14 15:00:29 homeassistant systemd-resolved[350]: Detected conflict on homeassistant175890\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN TXT ""
Jun 14 15:00:29 homeassistant systemd-resolved[350]: Detected conflict on homeassistant175890\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN SRV 0 0 0 homeassistant175890.local
Jun 14 15:00:29 homeassistant systemd-resolved[350]: Detected conflict on homeassistant175890\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN TXT "" ""
Jun 14 14:09:38 homeassistant systemd-resolved[350]: Detected conflict on homeassistant101390.local IN A 192.168.1.40
One other thing I’ve noticed: during the HA boot sequence, I see the error:
[FAILED] Failed to start RPC Bind.
I don’t know if that is related, or if maybe I should start a separate thread, or if it’s not really an issue.
Happy to provide any additional information. Appreciate any input!
Hello all. I had originally created this post in the wrong category. The Moderators were kind enough to move this to the “Configuration” category. I’m hoping to get some help with the issue I’ve described in the original post. I’ve looked into the the suggestion by tom_l (mDNS and high CPU usage), but I’m not sure if this is applicable to me. And to be honest, I didn’t really understand much reading through that post (disabling mDNS reflector, etc.).
A couple updates:
I ran two updates this morning:
I updated the HA Core from 2023.5.4 to 2023.6.2
I updated the Home Assistant Operating System to 10.3. I was particularly interested in this because there was a note in the changelog that said “Make sure rpcbind gets started after systemd-tmpfiles is ready”. This made me think maybe my issue of “[FAILED] Failed to start RPC Bind.” may have been addressed in the update. And, sure enough, when restarting HA and watching the scrolling info, I no longer see a message saying “Failed to start RPC Bind”. So I’m hoping that’s one less issue to resolve!
That said, I’m still hoping to figure out how to resolve the main issue of the Host log showing a constant stream of messages talking about changing hostname from “homeassistantXXXXXX” to “homeassistantYYYYYY”.
One final note: I recently went through a major headache of my HA installation failing. It ended up being my SSD that had slowly been dying. All of my backups dating back to 30 days had been corrupted without me even realizing it. So I had to rebuild my install from scratch. The SSD was less than a year old, so I was really surprised. I suspect that all of the logging that HA does puts a good amount of stress on an SSD. That said, I’m wondering if this Host log issue I’m having may have played any part in my previous SSD drive failure.
Looking at the Host log now, it’s running at a pace of around 25 logs per second (see below)
Any help would be appreciated!
See blow. From 33 seconds to 35 seconds, there are about 25 logs.
Jun 19 13:27:33 homeassistant systemd-resolved[333]: Hostname conflict, changing published hostname from 'homeassistant17725' to 'homeassistant17726'.
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17726\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN SRV 0 0 0 homeassistant17726.local
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17726\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN TXT
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17726\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN SRV 0 0 0 homeassistant17726.local
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17726\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN TXT
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17726.local IN A 192.168.1.40
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Hostname conflict, changing published hostname from 'homeassistant17726' to 'homeassistant17731'.
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17731\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN SRV 0 0 0 homeassistant17731.local
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17731\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN TXT
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17731\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN SRV 0 0 0 homeassistant17731.local
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17731\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN TXT
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17731.local IN A 192.168.1.40
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Hostname conflict, changing published hostname from 'homeassistant17731' to 'homeassistant17736'.
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17736\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN SRV 0 0 0 homeassistant17736.local
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17736\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN TXT
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17736\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN SRV 0 0 0 homeassistant17736.local
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17736\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN TXT
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17736.local IN A 192.168.1.40
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Hostname conflict, changing published hostname from 'homeassistant17736' to 'homeassistant17744'.
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17744\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN SRV 0 0 0 homeassistant17744.local
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17744\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN TXT
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17744\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN SRV 0 0 0 homeassistant17744.local
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17744\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN TXT
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17744.local IN A 192.168.1.40
Jun 19 13:27:34 homeassistant systemd-resolved[333]: Hostname conflict, changing published hostname from 'homeassistant17744' to 'homeassistant17752'.
Jun 19 13:27:35 homeassistant systemd-resolved[333]: Detected conflict on homeassistant17752\032\091a355b03990784f9d9003d8bec2e3fa0f\093._workstation._tcp.local IN SRV 0 0 0 homeassistant17752.local
Sorry, one other update: I loaded an instance of my HA install that was prior to setting up NGINX, thinking maybe that had something to do with the issue. But even then I was still having the Hostname conflict issue.
Same errors in my log after a power failure and difficulties in starting back up the virtual machine. I always have issue starting up after a power failure (no clean shutdown). I will do a restart to see if it helps
Dec 04 17:21:40 homeassistant systemd-resolved[349]: Detected conflict on homeassistant87117\032\09153a3bdb1ad124765ad7632ac288ecf2d\093._workstation._tcp.local IN TXT ""
Dec 04 17:21:40 homeassistant systemd-resolved[349]: Detected conflict on homeassistant87117.local IN AAAA fe80::c92e:ea3d:1f8c:d828
Dec 04 17:21:40 homeassistant systemd-resolved[349]: Hostname conflict, changing published hostname from 'homeassistant87117' to 'homeassistant87122'.
Dec 04 17:21:40 homeassistant systemd-resolved[349]: Detected conflict on homeassistant87122\032\09153a3bdb1ad124765ad7632ac288ecf2d\093._workstation._tcp.local IN SRV 0 0 0 homeassistant87122.local
Dec 04 17:21:40 homeassistant systemd-resolved[349]: Detected conflict on homeassistant87122\032\09153a3bdb1ad124765ad7632ac288ecf2d\093._workstation._tcp.local IN TXT ""
Dec 04 17:21:40 homeassistant systemd-resolved[349]: Detected conflict on homeassistant87122.local IN AAAA fd0c:9621:d1a2:493c:de04:4864:5c91:ac65
Dec 04 17:21:40 homeassistant systemd-resolved[349]: Hostname conflict, changing published hostname from 'homeassistant87122' to 'homeassistant87126'.
Dec 04 17:21:40 homeassistant systemd-resolved[349]: Detected conflict on homeassistant87126\032\09153a3bdb1ad124765ad7632ac288ecf2d\093._workstation._tcp.local IN TXT ""
Dec 04 17:21:40 homeassistant systemd-resolved[349]: Detected conflict on homeassistant87126\032\09153a3bdb1ad124765ad7632ac288ecf2d\093._workstation._tcp.local IN SRV 0 0 0 homeassistant87126.local
For anyone still bumping on this thread, I opened a bug with on home-assistant’s supervisor repository. The description of the issue also contains a solution that worked for me so far, although I tend to think that some future updates will revert the change to default.