Ehm… I guess I’m updating the UI. So, what’s the correct way to update the UI under a docker?
Stop running container and basically rerun command you use to Install.
Now I’m googling about my problem and based upon your advice I found this Updating Home Assistant.
Seems that the simply way is to pull a new docker image by sudo docker pull homeassistant/home-assistant:latest
It’s right? I must do a snapshot or the config will be mantained?
Yes, the update method you have above should basically work.
You don’t need snapshot but honestly I worry how you install so just in case do snapshot and save in safe location.
When you install HA docker you should have /config folder mounted so this should not be lost unless you did something strange at first install.
Ok! many thanks now I will try… I’m a very newbie on a “docker systems”. I must learn about it.
If you are running Home Assistant Supervised (Hassio) You CANNOT do a docker pull to update. You must update via the Supervisor Side panel (hassio side panel) OR use ssh to update… (and unless you are on HA-Supervised/Hassio there is no such thing as a snapshot)
There should be an update button on the dashboard. (You are showing the system tab)
Or use the ssh addon…
Issue this command…
hassio ha update --version=0.105.2
Yes, updated until now with the “Update button” but I’m still facing with the problem from the post above.
Tried to pull docker image as @tmjpugh adviced but with no luck.
No luck because as I stated you CAN’T!
The problem is you posted 2 different HA startups with your logs in 2 posts so they are not really helping. Please post ONE contiguous log after you try and update. Post the supervisor log as well as the home assistant log… from the ONE startup.
This is my entiere log:
20-02-09 07:37:33 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-02-09 07:37:33 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'}
20-02-09 07:37:33 INFO (MainThread) [hassio.host.services] Reload local service hassio-apparmor.service
20-02-09 07:37:33 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ReloadOrRestartUnit on /org/freedesktop/systemd1
20-02-09 07:37:33 INFO (SyncWorker_2) [hassio.docker.interface] Attach to homeassistant/amd64-hassio-dns with version 1
20-02-09 07:37:33 INFO (MainThread) [hassio.dns] Start CoreDNS plugin
20-02-09 07:37:33 INFO (MainThread) [hassio.misc.forwarder] Start DNS port forwarding to 172.30.32.3
20-02-09 07:37:33 INFO (SyncWorker_2) [hassio.docker.interface] Clean hassio_dns application
20-02-09 07:37:42 INFO (SyncWorker_2) [hassio.docker.dns] Start DNS homeassistant/amd64-hassio-dns with version 1 - 172.30.32.3
20-02-09 07:37:42 INFO (SyncWorker_5) [hassio.docker.interface] Attach to homeassistant/qemux86-64-homeassistant with version 0.104.3
20-02-09 07:37:50 INFO (MainThread) [hassio.store.git] Load add-on /data/addons/git/6872d8d8 repository
20-02-09 07:37:50 INFO (MainThread) [hassio.store.git] Load add-on /data/addons/git/15ef4d2f repository
20-02-09 07:37:50 INFO (MainThread) [hassio.store.git] Load add-on /data/addons/core repository
20-02-09 07:37:50 INFO (MainThread) [hassio.store.git] Load add-on /data/addons/git/a0d7b954 repository
20-02-09 07:37:50 INFO (MainThread) [hassio.store] Load add-ons from store: 66 all - 66 new - 0 remove
20-02-09 07:37:50 INFO (MainThread) [hassio.addons] Found 15 installed add-ons
20-02-09 07:37:51 INFO (SyncWorker_6) [hassio.docker.interface] Attach to homeassistant/amd64-addon-ssh with version 8.2
20-02-09 07:37:51 INFO (SyncWorker_2) [hassio.docker.interface] Attach to samccauley/amd64-googlebackup with version 1.7.2
20-02-09 07:37:51 INFO (SyncWorker_8) [hassio.docker.interface] Attach to hassioaddons/ide-amd64 with version 2.2.0
20-02-09 07:37:51 INFO (SyncWorker_13) [hassio.docker.interface] Attach to hassioaddons/sonweb-amd64 with version 0.9.0
20-02-09 07:37:51 INFO (SyncWorker_15) [hassio.docker.interface] Attach to hassioaddons/grafana-amd64 with version 4.1.0
20-02-09 07:37:51 INFO (SyncWorker_14) [hassio.docker.interface] Attach to homeassistant/amd64-addon-mariadb with version 1.3
20-02-09 07:37:51 INFO (SyncWorker_17) [hassio.docker.interface] Attach to hassioaddons/log-viewer-amd64 with version 0.7.0
20-02-09 07:37:51 INFO (SyncWorker_2) [hassio.docker.interface] Attach to homeassistant/amd64-addon-configurator with version 4.2
20-02-09 07:37:51 INFO (SyncWorker_10) [hassio.docker.interface] Attach to homeassistant/amd64-addon-samba with version 9.0
20-02-09 07:37:51 INFO (SyncWorker_16) [hassio.docker.interface] Attach to hassioaddons/influxdb-amd64 with version 3.5.1
20-02-09 07:37:51 INFO (SyncWorker_19) [hassio.docker.interface] Attach to hassioaddons/ftp-amd64 with version 3.2.0
20-02-09 07:37:51 INFO (SyncWorker_1) [hassio.docker.interface] Attach to hassioaddons/node-red-amd64 with version 6.0.4
20-02-09 07:37:51 INFO (SyncWorker_6) [hassio.docker.interface] Attach to homeassistant/amd64-addon-mosquitto with version 5.1
20-02-09 07:37:51 INFO (SyncWorker_8) [hassio.docker.interface] Attach to homeassistant/amd64-addon-duckdns with version 1.10
20-02-09 07:37:51 INFO (SyncWorker_11) [hassio.docker.interface] Attach to esphome/esphome-hassio-amd64 with version 1.14.3
20-02-09 07:37:51 INFO (MainThread) [hassio.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-02-09 07:37:52 INFO (MainThread) [hassio.snapshots] Found 1 snapshot files
20-02-09 07:37:52 INFO (MainThread) [hassio.discovery] Load 1 messages
20-02-09 07:37:52 INFO (MainThread) [hassio.ingress] Load 0 ingress session
20-02-09 07:37:52 INFO (MainThread) [hassio.secrets] Load Home Assistant secrets: 16
20-02-09 07:37:52 INFO (MainThread) [__main__] Run Hass.io
20-02-09 07:37:52 INFO (MainThread) [hassio.api] Start API on 172.30.32.2
20-02-09 07:37:52 INFO (MainThread) [hassio.addons] Phase 'initialize' start 0 add-ons
20-02-09 07:37:52 INFO (MainThread) [hassio.addons] Phase 'system' start 3 add-ons
20-02-09 07:38:00 INFO (SyncWorker_6) [hassio.docker.addon] Start Docker add-on homeassistant/amd64-addon-mosquitto with version 5.1
20-02-09 07:38:01 INFO (SyncWorker_3) [hassio.docker.addon] Start Docker add-on homeassistant/amd64-addon-mariadb with version 1.3
20-02-09 07:38:02 INFO (SyncWorker_12) [hassio.docker.addon] Start Docker add-on hassioaddons/sonweb-amd64 with version 0.9.0
20-02-09 07:38:07 INFO (MainThread) [hassio.addons] Phase 'services' start 6 add-ons
20-02-09 07:38:09 INFO (MainThread) [hassio.services.modules.mqtt] Set core_mosquitto as service provider for mqtt
20-02-09 07:38:21 INFO (SyncWorker_16) [hassio.docker.addon] Start Docker add-on homeassistant/amd64-addon-samba with version 9.0
20-02-09 07:38:21 INFO (SyncWorker_19) [hassio.docker.addon] Start Docker add-on hassioaddons/ftp-amd64 with version 3.2.0
20-02-09 07:38:26 INFO (SyncWorker_5) [hassio.docker.addon] Start Docker add-on homeassistant/amd64-addon-duckdns with version 1.10
20-02-09 07:38:30 INFO (SyncWorker_17) [hassio.docker.addon] Start Docker add-on hassioaddons/influxdb-amd64 with version 3.5.1
20-02-09 07:38:30 INFO (SyncWorker_10) [hassio.docker.addon] Start Docker add-on samccauley/amd64-googlebackup with version 1.7.2
20-02-09 07:38:31 INFO (SyncWorker_6) [hassio.docker.addon] Start Docker add-on homeassistant/amd64-addon-ssh with version 8.2
20-02-09 07:38:33 INFO (MainThread) [hassio.api.security] /host/info access from a0d7b954_ftp
20-02-09 07:38:36 INFO (SyncWorker_2) [hassio.docker.interface] Start homeassistant/qemux86-64-homeassistant
20-02-09 07:38:52 INFO (MainThread) [hassio.api.security] /host/info access from a0d7b954_influxdb
20-02-09 07:38:58 INFO (MainThread) [hassio.api.security] /dns/info access from a0d7b954_influxdb
20-02-09 07:39:27 INFO (MainThread) [hassio.api.security] /host/info access from a0d7b954_sonweb
20-02-09 07:40:16 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-09 07:41:57 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-09 07:42:12 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-09 07:42:57 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-09 07:43:47 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
20-02-09 07:43:47 INFO (MainThread) [hassio.addons] Phase 'application' start 2 add-ons
20-02-09 07:43:54 INFO (SyncWorker_13) [hassio.docker.addon] Start Docker add-on esphome/esphome-hassio-amd64 with version 1.14.3
20-02-09 07:43:56 INFO (SyncWorker_15) [hassio.docker.addon] Start Docker add-on homeassistant/amd64-addon-configurator with version 4.2
20-02-09 07:44:01 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
20-02-09 07:44:01 INFO (MainThread) [hassio.core] Hass.io is up and running
20-02-09 07:44:15 INFO (MainThread) [hassio.api.security] /host/info access from 15ef4d2f_esphome
20-02-09 07:47:25 INFO (SyncWorker_0) [hassio.docker.interface] Restart homeassistant/qemux86-64-homeassistant
20-02-09 07:48:00 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-09 07:48:56 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-09 07:49:11 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-09 07:50:01 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-09 07:50:46 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
20-02-09 08:00:19 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.105.2
20-02-09 08:00:19 INFO (SyncWorker_9) [hassio.docker.interface] Update image homeassistant/qemux86-64-homeassistant:0.104.3 to homeassistant/qemux86-64-homeassistant:0.105.2
20-02-09 08:00:19 INFO (SyncWorker_9) [hassio.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag 0.105.2.
20-02-09 08:00:26 INFO (SyncWorker_9) [hassio.docker.interface] Stop homeassistant application
20-02-09 08:01:28 INFO (SyncWorker_9) [hassio.docker.interface] Clean homeassistant application
20-02-09 08:01:31 INFO (SyncWorker_7) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.105.2
20-02-09 08:02:21 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-09 08:06:12 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-09 08:06:17 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-09 08:10:48 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-09 08:20:51 WARNING (MainThread) [hassio.homeassistant] Don't wait anymore of Home Assistant startup!
20-02-09 08:20:51 CRITICAL (MainThread) [hassio.homeassistant] HomeAssistant update fails -> rollback!
20-02-09 08:20:51 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.104.3
20-02-09 08:20:51 INFO (SyncWorker_2) [hassio.docker.interface] Update image homeassistant/qemux86-64-homeassistant:0.105.2 to homeassistant/qemux86-64-homeassistant:0.104.3
20-02-09 08:20:51 INFO (SyncWorker_2) [hassio.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag 0.104.3.
20-02-09 08:20:53 INFO (SyncWorker_2) [hassio.docker.interface] Stop homeassistant application
20-02-09 08:20:55 INFO (SyncWorker_2) [hassio.docker.interface] Clean homeassistant application
20-02-09 08:20:57 INFO (SyncWorker_12) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.104.3
20-02-09 08:21:32 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-09 08:24:58 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-09 08:25:13 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-09 08:25:58 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-09 08:26:08 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-09 08:29:44 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-09 08:30:14 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
20-02-09 08:30:14 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.104.3
20-02-09 08:30:15 INFO (SyncWorker_14) [hassio.docker.interface] Cleanup images: ['homeassistant/qemux86-64-homeassistant:0.105.2']
Ok… so seems there is some breaking change between 104.3 and 105.2. Did you check the breaking changes? That log is the supervisor log. What about the homa assistant log?
Already tried to disable almost all in the config, but the problem is still here… is there any way to completely reset the home assistant? (like factory reset)
This is the Home Assistant log:
2020-02-09 09:21:14 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for garbage_collection which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-09 09:21:14 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for momentary which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-09 09:21:14 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-09 09:21:30 ERROR (MainThread) [homeassistant.components.calendar] google: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 299, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 461, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/google/calendar.py", line 106, in update
self.data.update()
File "/usr/src/homeassistant/homeassistant/util/__init__.py", line 240, in wrapper
result = method(*args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/google/calendar.py", line 175, in update
result = events.list(**params).execute()
File "/usr/local/lib/python3.7/site-packages/oauth2client/_helpers.py", line 133, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/googleapiclient/http.py", line 842, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 404 when requesting https://www.googleapis.com/calendar/v3/calendars/udpc80%40gmail.com/events?orderBy=startTime&maxResults=5&singleEvents=true&timeMin=2020-02-09T09%3A21%3A30.572559%2B01%3A00&alt=json returned "Not Found">
2020-02-09 09:30:09 ERROR (MainThread) [homeassistant.components.sensor] garbage_collection: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 299, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
await self.async_update()
File "/config/custom_components/garbage_collection/sensor.py", line 400, in async_update
next_date = self.get_next_date(today)
File "/config/custom_components/garbage_collection/sensor.py", line 372, in get_next_date
next_date = self.find_candidate_date(first_day)
File "/config/custom_components/garbage_collection/sensor.py", line 346, in find_candidate_date
d = self.hass.states.get(entity).attributes.get(ATTR_NEXT_DATE).date()
AttributeError: 'NoneType' object has no attribute 'attributes'
So Google Calendar… wasn’t there a change recently with that? Have you tried removing the integration, rebooting and trying to update again?
Yes already tried to remove Google Calendar… no luck
Is there any way to debug the update porcess to discover the component that make the update fail?
What change? It has stopped working with 105.2
@DavidFW1960 and @mig77angel: this is the first time I updated, since this is a freshly new installation on a new server places aside to the old tried out server
Found a solution following this thread https://community.home-assistant.io/t/cant-update-hassio-to-0-105-x/169466/55
Briefly…
I haven’t no more the Netatmo entity but it seems that it remain stored in some hidden part of config so I must insert the new netatmo standard configuration.