I did an update from 0.82.0 to 0.83.1
And all my active automations stopped to work, there are missing at all, in the lovelace UI they are shown as “entity not availabele”. Only the disabled automations are shown. That means, the automation file is available and even used, otherwise I would not see the disables automations.
some light entities are not available, but only theese which are “platform: mqtt”.
Before upgrading I did a snapshot. I was able to restore the snapshot and it is showing that I am on 0.82.0 again.
But the automations are still not working, entities are missing. And my log is full of errors and warnings.
Some of them:
2018-11-30 21:20:52 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
sqlite3.DatabaseError: database disk image is malformed
How are backup and restore working?
I selected to restore all elements from the backup, but the result is showing that the restore is not a real restore. Where can I find a detailed description what is happening while doing a restore? What is restored and what isn’t?
I will try the “wipe and restore”, but what is the difference between a simple restore and the “wipe and restore”?
Why I get serious issues nearly on each hass.io update? Sometimes I feel like a beta- or even like an alpha-tester.
I used fhem for many years and I still use it for some components which are not available in hass.io and I connect both systems via mqtt. But I don’t remember any issues with any fhem update.
“wipe and restore” did not help. But why? Shouldn’t this restore the state before the update? Are there any other and more safe ways to do backup and restore? How can I really restore the state before the update from the backup?
I even deleted (moved) the home-assistant.log into a subfolder to force a recreation because of the many database related entries in the log. Nothing helps.
with every restart of hass.io it looks different. Now I see automations, but all my sensors (connected via Xiaomi hub) are missing… I get less errors, but one is:
2018-11-30 23:39:26 ERROR (SyncWorker_7) [homeassistant.components.xiaomi_aqara] No gateway discovered
2018-11-30 23:39:26 ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi_aqara: Component failed to initialize.
I even hard restarted the RPI, but I still always get the error that the configuration of my xiaomi-aquara component should be wrong. But it worked this way all the time:
my gateways are working again after reverting to 0.82.0
I don’t know if this related, but in the past my HA-bridge was excluded in hass.io but was there again in the list last time. I stopped the HA-bridge, I restarted hassio. And I got the xiaomi.gateways back. But maybe this is nothing with the HA-bridge.
In the log I see still a lot of entries, which haven’t been there in the past:
2018-12-01 10:16:14 ERROR (SyncWorker_11) [xiaomi_gateway] Cannot connect to Gateway
2018-12-01 10:16:14 ERROR (SyncWorker_11) [xiaomi_gateway] No data in response from hub None
Thanks for the hint regarding breaking change regarding xiaomi gateway! This explains why all my switches and sensors stopped to work after the update to 0.83. My fault, I did not read the whole release notes