All my switches and mqtt data disappeared overnight. No changes, No Updates. running Hassio 84.6 and mosquitto 2.0.
Does anybody now what’s going on?
mosquitto log
[INFO] Setup mosquitto configuration
[INFO] No local user available
[INFO] Initialize Hass.io Add-on services
[ERROR] Can’t setup Hass.io service mqtt
[INFO] Initialize Home Assistant discovery
[ERROR] Can’t setup Home Assistant discovery mqtt
[INFO] Start Mosquitto daemon
1546570768: mosquitto version 1.4.15 (build date 2018-03-04 15:35:59+0000) starting
1546570768: Config loaded from /etc/mosquitto.conf.
1546570768: *** auth-plug: startup
1546570768: ** Configured order: http
1546570768: Opening ipv4 listen socket on port 1883.
1546570768: Opening ipv6 listen socket on port 1883.
1546570768: Opening websockets listen socket on port 1884.
1546570768: Opening ipv4 listen socket on port 8883.
1546570768: Opening ipv6 listen socket on port 8883.
1546570768: Opening websockets listen socket on port 8884.
1546570769: Warning: Mosquitto should not be run as root/administrator.
1546570769: New connection from 192.168.50.138 on port 1883.
[ERROR] Auth error with cove
1546570769: Socket error on client , disconnecting.
1546570773: New connection from 192.168.50.138 on port 1883.
[ERROR] Auth error with cove
1546570773: Socket error on client , disconnecting.
1546570773: New connection from 192.168.50.212 on port 1883.
[ERROR] Auth error with cove
1546570774: Socket error on client , disconnecting.
No I don’t know what is going on. This is the second report I’ve seen in as many days and I had to restart my mosquitto server yesterday to get it to start responding again too.
Tried alot of things, no go, reinstalling everything
Edit: everythings almost back to normal. Ive setup a automation to backup every night. Even tho that was accessible through gui it didn’t work. That backup was then backed up by Windows scheduler to a raid 10 setup.
Long story short guys don’t just do a snapshot and think you can go back.
Ok, like passwords, usernames, addresses, and ports… All have not changed. Just woke up one day and I think I noticed a light off that should have been on or something restart hassio and found all my mqtt items unable to connect to server. I uninstalled server reinstalled, did restore snapshot still can’t get it working. I had to pull sd card out and reinstall hassio.
To use the Mosquitto as broker, go to the integration page and install the configuration with one click. If you have old MQTT settings available, remove this old integration and restart Home Assistant to see the new one.
I’m still trying to figure out why or what is crashing mqtt after running for a while. Usually a restart fixes it but right now restarting everything isn’t even working. On my front end it shows all the devices as online but can’t control it.
Just wanted to add a review on this, I am using home assistant on raspbian, everytime the ha restart it lost it’s connection to my tasmota mqtt device.
Homeassistant restart every night to rotate it’s log, even with autodiscover mqtt were not bring back in ha, on my side I had to restart these devices.