I shut down Home Assistant: Hassio -> System -> Host System -> Shutdown
Waited 10 minutes
Unplugged the Pi3B+
Waited for 10 seconds
Plugged it back in
None of the Addons auto-stated. They are all set to do so:
Configurator
Mosquitto broker
SSH Server
Samba Share
Had to manually start them all
Found this in the System Log:
19-04-10 07:13:08 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
Restarted Hass: Configurator -> 3 Dot Menu on right -> Restart HASS
Now none of my sensor have any state history.
Here is my MQTT Log:
[INFO] Setup mosquitto configuration
[WARN] SSL not enabled - No valid certs found!
[INFO] Found local users inside config
[INFO] Initialize Hass.io Add-on services
[INFO] Initialize Home Assistant discovery
[INFO] Start Mosquitto daemon
1554880749: mosquitto version 1.5.6 starting
1554880749: Config loaded from /etc/mosquitto.conf.
1554880749: |-- *** auth-plug: startup
1554880749: |-- ** Configured order: http
1554880749: |-- with_tls=false
1554880749: |-- getuser_uri=/login
1554880749: |-- superuser_uri=/superuser
1554880749: |-- aclcheck_uri=/acl
1554880749: |-- getuser_params=(null)
1554880749: |-- superuser_params=(null)
1554880749: |-- aclcheck_params=(null)
1554880749: |-- retry_count=3
1554880749: Opening ipv4 listen socket on port 1883.
1554880749: Opening ipv6 listen socket on port 1883.
1554880749: Opening websockets listen socket on port 1884.
1554880749: Warning: Mosquitto should not be run as root/administrator.
1554880754: New connection from 172.27.3.12 on port 1883.
1554880754: |-- mosquitto_auth_unpwd_check(MQTT_USER)
1554880754: |-- ** checking backend http
1554880754: |-- url=http://127.0.0.1:8080/login
1554880754: |-- data=username=MQTT_USER&password=xxxx&topic=&acc=-1&clientid=
[INFO] found MQTT_USER on local database
1554880755: |-- getuser(MQTT_USER) AUTHENTICATED=1 by http
1554880755: New client connected from 172.27.3.12 as TableLampSensor (c1, k10, u'MQTT_USER').
1554880755: New connection from 172.27.3.13 on port 1883.
1554880755: New connection from 172.27.3.11 on port 1883.
1554880755: |-- mosquitto_auth_unpwd_check(MQTT_USER)
1554880755: |-- ** checking backend http
1554880755: |-- url=http://127.0.0.1:8080/login
1554880755: |-- data=username=MQTT_USER&password=xxxx&topic=&acc=-1&clientid=
[INFO] found MQTT_USER on local database
1554880756: New client connected from 172.27.3.13 as Hevo3DPrinter (c1, k10, u'MQTT_USER').
1554880756: |-- getuser(MQTT_USER) AUTHENTICATED=1 by http
1554880756: |-- mosquitto_auth_unpwd_check(MQTT_USER)
1554880756: |-- ** checking backend http
1554880756: |-- url=http://127.0.0.1:8080/login
1554880756: |-- data=username=MQTT_USER&password=xxxx&topic=&acc=-1&clientid=
[INFO] found MQTT_USER on local database
1554880757: |-- getuser(MQTT_USER) AUTHENTICATED=1 by http
1554880757: New client connected from 172.27.3.11 as work_lamp (c1, k10, u'MQTT_USER').
1554880897: New connection from 172.30.32.1 on port 1883.
1554880897: |-- mosquitto_auth_unpwd_check(homeassistant)
1554880897: |-- ** checking backend http
1554880897: |-- url=http://127.0.0.1:8080/login
1554880897: |-- data=username=homeassistant&password=xxx&topic=&acc=-1&clientid=
[INFO] found homeassistant on local database
1554880898: New client connected from 172.30.32.1 as 99ac3601-42f0-4030-bddb-9b107dc1d33e (c1, k60, u'homeassistant').
1554880898: |-- getuser(homeassistant) AUTHENTICATED=1 by http
No errors in About page.
Home Assistant 0.91.2
HassOS 2.11
P.S. I restarted the Host System, and again, none of the Addons auto-started.
P.P.S Looks like the DB got corrupted…again…so now trying to install MariaDB.
fun times.