Core: Cannot upgrade to 0.105.x from 0.104.3

Created on 7 Feb 2020  路  29Comments  路  Source: home-assistant/core

The problem

Upgrade to 0.105.x from 0.104.3 consistently fails since the launch of 0.105.0.

Environment

  • Home Assistant release with the issue: 0.105
  • Last working Home Assistant release (if known):
  • Operating environment (Hass.io/Docker/Windows/etc.): Hass.io
  • Integration causing this issue:
  • Link to integration documentation on our website:

Problem-relevant configuration.yaml

Traceback/Error logs


supervisor's log:

20-02-06 14:04:43 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.105.2
20-02-06 14:04:43 INFO (SyncWorker_19) [hassio.docker.interface] Update image homeassistant/raspberrypi3-homeassistant:0.104.3 to homeassistant/raspberrypi3-homeassistant:0.105.2
20-02-06 14:04:43 INFO (SyncWorker_19) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.105.2.
20-02-06 14:09:41 INFO (SyncWorker_19) [hassio.docker.interface] Stop homeassistant application
20-02-06 14:10:35 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-02-06 14:10:35 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup repository
20-02-06 14:10:35 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-02-06 14:10:38 INFO (MainThread) [hassio.store] Load add-ons from store: 63 all - 0 new - 0 remove
20-02-06 14:10:43 INFO (SyncWorker_19) [hassio.docker.interface] Clean homeassistant application
20-02-06 14:10:44 INFO (SyncWorker_10) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.105.2
20-02-06 14:11:23 DEBUG (MainThread) [hassio.api.security] Passthrough /supervisor/ping
20-02-06 14:11:24 DEBUG (MainThread) [hassio.api.security] /homeassistant/options access from Home Assistant
20-02-06 14:11:24 DEBUG (MainThread) [hassio.api.security] /supervisor/options access from Home Assistant
20-02-06 14:11:24 DEBUG (MainThread) [hassio.api.security] /homeassistant/info access from Home Assistant
20-02-06 14:11:24 DEBUG (MainThread) [hassio.api.security] /ingress/panels access from Home Assistant
20-02-06 14:11:25 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-06 14:14:35 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-06 14:24:39 WARNING (MainThread) [hassio.homeassistant] Don't wait anymore of Home Assistant startup!
20-02-06 14:24:39 CRITICAL (MainThread) [hassio.homeassistant] HomeAssistant update fails -> rollback!
20-02-06 14:24:39 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.104.3
20-02-06 14:24:39 INFO (SyncWorker_13) [hassio.docker.interface] Update image homeassistant/raspberrypi3-homeassistant:0.105.2 to homeassistant/raspberrypi3-homeassistant:0.104.3
20-02-06 14:24:39 INFO (SyncWorker_13) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.104.3.
20-02-06 14:24:40 INFO (SyncWorker_13) [hassio.docker.interface] Stop homeassistant application
20-02-06 14:24:41 INFO (SyncWorker_13) [hassio.docker.interface] Clean homeassistant application
20-02-06 14:24:42 INFO (SyncWorker_2) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.104.3

Tried to check configuration using Hassio's add on, it fails with the following log, which to me does not seem to come from the configuration itself (check succeeds for 0.104.3).

starting version 3.2.8
[08:35:33] INFO: Don't worry, this temporary installation is not overwriting your current one.
[08:35:33] INFO: Installing Home Assistant: latest...
[08:35:33] INFO: Please be patient, this might take a few minutes...
WARNING: You are using pip version 19.2.2, however version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[08:38:57] INFO: Installed Home Assistant 0.105.2
[08:38:57] INFO: Making a copy of your configuration for checking...
[08:39:06] INFO: Checking your configuration against this version...
[08:44:00] ERROR: The configuration check did not pass!
[08:44:00] ERROR: See the output below for more details.
INFO:homeassistant.util.package:Attempting install of colorlog==4.1.0
Testing configuration at /tmp/config
INFO:homeassistant.util.package:Attempting install of python-nmap==0.6.1
INFO:homeassistant.util.package:Attempting install of getmac==0.8.1
WARNING:homeassistant.components.device_tracker:The 'hide_if_away' option (with value 'False') is deprecated, please remove it from your configuration. This option will become invalid in version 0.107.0
INFO:homeassistant.util.package:Attempting install of pytile==3.0.1
WARNING:homeassistant.components.device_tracker:The 'hide_if_away' option (with value 'False') is deprecated, please remove it from your configuration. This option will become invalid in version 0.107.0
INFO:homeassistant.util.package:Attempting install of av==6.1.2
INFO:homeassistant.util.package:Attempting install of aiohttp_cors==0.7.0
INFO:homeassistant.util.package:Attempting install of home-assistant-frontend==20200130.2
INFO:homeassistant.util.package:Attempting install of defusedxml==0.6.0
INFO:homeassistant.util.package:Attempting install of netdisco==2.6.0
INFO:homeassistant.util.package:Attempting install of hbmqtt==0.9.5
INFO:homeassistant.util.package:Attempting install of paho-mqtt==1.5.0
INFO:homeassistant.util.package:Attempting install of pyatmo==3.2.2
ERROR:homeassistant.scripts.check_config:BURB
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/scripts/check_config.py", line 204, in check
    async_check_ha_config_file(hass)
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/check_config.py", line 129, in async_check_ha_config_file
    config = config_schema(config)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 386, in validate_mapping
    cval = cvalue(key_path, value)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 373, in validate_mapping
    new_key = ckey(key_path, key)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/config_validation.py", line 659, in validator
    value = config[key]
TypeError: string indices must be integers
Fatal error while loading config: string indices must be integers
Failed config
  General Errors: 
    - string indices must be integers

Successful config (partial)

Additional information

A forum thread is open with several people having the same issue:
https://community.home-assistant.io/t/cant-update-hassio-to-0-105-x/169466

Most helpful comment

for me commenting out netatmo did not work, but updating to the new configuration did !

netatmo:
  client_id: YOUR_CLIENT_ID
  client_secret: YOUR_CLIENT_SECRET

All 29 comments

I have the same problem but my error is different

2020-02-07 11:36:30 INFO (SyncWorker_9) [homeassistant.loader] Loaded alarm_control_panel from homeassistant.components.alarm_control_panel
2020-02-07 11:36:30 ERROR (SyncWorker_9) [concurrent.futures] exception calling callback for <Future at 0x7fe4c473da50 state=finished returned Integration>
Traceback (most recent call last):
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 324, in _invoke_callbacks
    callback(self)
  File "/usr/lib/python3.7/asyncio/futures.py", line 362, in _call_set_state
    dest_loop.call_soon_threadsafe(_set_state, destination, source)
  File "/usr/lib/python3.7/asyncio/base_events.py", line 728, in call_soon_threadsafe
    self._check_closed()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 475, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

I get the same error, the log isn't very helpful is it!?

Same here.

20-02-07 18:26:14 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/hassio-addons/repository repository 20-02-07 18:26:14 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository 20-02-07 18:26:15 INFO (MainThread) [hassio.store] Load add-ons from store: 63 all - 0 new - 0 remove 20-02-07 18:26:46 INFO (MainThread) [hassio.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup 20-02-07 18:28:38 INFO (MainThread) [hassio.homeassistant] Updated Home Assistant API token 20-02-07 18:32:54 INFO (MainThread) [hassio.host.info] Update local host information 20-02-07 18:32:54 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1 20-02-07 18:32:54 INFO (MainThread) [hassio.host.services] Update service information 20-02-07 18:32:54 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1 20-02-07 18:32:54 INFO (MainThread) [hassio.host.network] Update local network DNS information 20-02-07 18:32:54 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager 20-02-07 18:43:31 INFO (MainThread) [hassio.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup 20-02-07 18:43:32 INFO (MainThread) [hassio.api.security] /homeassistant/info access from cebe7a76_hassio_google_drive_backup 20-02-07 18:43:32 INFO (MainThread) [hassio.api.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup 20-02-07 18:43:32 INFO (MainThread) [hassio.api.security] /snapshots/new/full access from cebe7a76_hassio_google_drive_backup 20-02-07 18:43:32 INFO (MainThread) [hassio.snapshots] Full-Snapshot 78af1752 start 20-02-07 18:43:32 INFO (MainThread) [hassio.snapshots] Snapshot 78af1752 store Add-ons 20-02-07 18:43:32 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on core_deconz 20-02-07 18:43:32 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on core_almond 20-02-07 18:43:32 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on cebe7a76_hassio_google_drive_backup 20-02-07 18:43:32 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on a0d7b954_adguard 20-02-07 18:43:32 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on a0d7b954_vscode 20-02-07 18:43:32 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on a0d7b954_wireguard 20-02-07 18:43:32 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on core_mosquitto 20-02-07 18:43:32 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on core_samba 20-02-07 18:43:32 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon a0d7b954_wireguard 20-02-07 18:43:32 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon core_samba 20-02-07 18:43:32 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon core_mosquitto 20-02-07 18:43:32 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon cebe7a76_hassio_google_drive_backup 20-02-07 18:43:32 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon a0d7b954_adguard 20-02-07 18:43:33 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon core_almond 20-02-07 18:43:36 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon core_deconz 20-02-07 18:43:52 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon a0d7b954_vscode 20-02-07 18:43:52 INFO (MainThread) [hassio.snapshots] Snapshot 78af1752 store folders 20-02-07 18:43:52 INFO (SyncWorker_4) [hassio.snapshots.snapshot] Snapshot folder addons/local 20-02-07 18:43:52 INFO (SyncWorker_0) [hassio.snapshots.snapshot] Snapshot folder share 20-02-07 18:43:52 INFO (SyncWorker_7) [hassio.snapshots.snapshot] Snapshot folder homeassistant 20-02-07 18:43:52 INFO (SyncWorker_1) [hassio.snapshots.snapshot] Snapshot folder ssl 20-02-07 18:43:52 INFO (SyncWorker_4) [hassio.snapshots.snapshot] Snapshot folder addons/local done 20-02-07 18:43:52 INFO (SyncWorker_0) [hassio.snapshots.snapshot] Snapshot folder share done 20-02-07 18:43:52 INFO (SyncWorker_1) [hassio.snapshots.snapshot] Snapshot folder ssl done 20-02-07 18:44:00 INFO (SyncWorker_7) [hassio.snapshots.snapshot] Snapshot folder homeassistant done 20-02-07 18:44:01 INFO (MainThread) [hassio.snapshots] Full-Snapshot 78af1752 done 20-02-07 18:44:01 INFO (MainThread) [hassio.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup 20-02-07 18:44:01 INFO (MainThread) [hassio.api.security] /snapshots/78af1752/info access from cebe7a76_hassio_google_drive_backup 20-02-07 18:44:01 INFO (MainThread) [hassio.api.security] /snapshots/78af1752/download access from cebe7a76_hassio_google_drive_backup 20-02-07 18:44:01 INFO (MainThread) [hassio.api.snapshots] Download snapshot 78af1752 20-02-07 18:44:02 INFO (MainThread) [hassio.api.security] /snapshots/78af1752/download access from cebe7a76_hassio_google_drive_backup 20-02-07 18:44:02 INFO (MainThread) [hassio.api.snapshots] Download snapshot 78af1752 20-02-07 18:44:22 INFO (MainThread) [hassio.api.security] /snapshots/78af1752/download access from cebe7a76_hassio_google_drive_backup 20-02-07 18:44:22 INFO (MainThread) [hassio.api.snapshots] Download snapshot 78af1752 20-02-07 18:44:51 INFO (MainThread) [hassio.api.security] /snapshots/78af1752/download access from cebe7a76_hassio_google_drive_backup 20-02-07 18:44:51 INFO (MainThread) [hassio.api.snapshots] Download snapshot 78af1752 20-02-07 18:45:20 INFO (MainThread) [hassio.api.security] /snapshots/78af1752/download access from cebe7a76_hassio_google_drive_backup 20-02-07 18:45:20 INFO (MainThread) [hassio.api.snapshots] Download snapshot 78af1752 20-02-07 18:45:50 INFO (MainThread) [hassio.api.security] /snapshots/78af1752/download access from cebe7a76_hassio_google_drive_backup 20-02-07 18:45:50 INFO (MainThread) [hassio.api.snapshots] Download snapshot 78af1752 20-02-07 18:46:19 INFO (MainThread) [hassio.api.security] /snapshots/78af1752/download access from cebe7a76_hassio_google_drive_backup 20-02-07 18:46:19 INFO (MainThread) [hassio.api.snapshots] Download snapshot 78af1752 20-02-07 18:46:48 INFO (MainThread) [hassio.api.security] /snapshots/78af1752/download access from cebe7a76_hassio_google_drive_backup 20-02-07 18:46:48 INFO (MainThread) [hassio.api.snapshots] Download snapshot 78af1752 20-02-07 18:47:07 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.105.2 20-02-07 18:47:07 INFO (SyncWorker_4) [hassio.docker.interface] Update image homeassistant/qemux86-64-homeassistant:0.104.3 to homeassistant/qemux86-64-homeassistant:0.105.2 20-02-07 18:47:07 INFO (SyncWorker_4) [hassio.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag 0.105.2. 20-02-07 18:47:22 INFO (MainThread) [hassio.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup 20-02-07 18:49:48 INFO (SyncWorker_4) [hassio.docker.interface] Stop homeassistant application 20-02-07 18:49:50 ERROR (MainThread) [hassio.homeassistant] Error on call http://172.30.32.1:8123/api/states/binary_sensor.snapshots_stale: Cannot connect to host 172.30.32.1:8123 ssl:None [Connection refused] 20-02-07 18:49:50 ERROR (MainThread) [hassio.api.proxy] Error on API for request states/binary_sensor.snapshots_stale 20-02-07 18:49:55 INFO (SyncWorker_4) [hassio.docker.interface] Clean homeassistant application 20-02-07 18:49:55 INFO (SyncWorker_2) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.105.2 20-02-07 18:50:05 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress 20-02-07 18:50:30 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done 20-02-07 18:50:55 ERROR (MainThread) [hassio.homeassistant] Error on call http://172.30.32.1:8123/api/states/binary_sensor.snapshots_stale: Cannot connect to host 172.30.32.1:8123 ssl:None [Connection refused] 20-02-07 18:50:55 ERROR (MainThread) [hassio.api.proxy] Error on API for request states/binary_sensor.snapshots_stale 20-02-07 18:53:00 ERROR (MainThread) [hassio.homeassistant] Error on call http://172.30.32.1:8123/api/states/binary_sensor.snapshots_stale: Cannot connect to host 172.30.32.1:8123 ssl:None [Connection refused] 20-02-07 18:53:00 ERROR (MainThread) [hassio.api.proxy] Error on API for request states/binary_sensor.snapshots_stale 20-02-07 18:57:06 ERROR (MainThread) [hassio.homeassistant] Error on call http://172.30.32.1:8123/api/states/binary_sensor.snapshots_stale: Cannot connect to host 172.30.32.1:8123 ssl:None [Connection refused] 20-02-07 18:57:06 ERROR (MainThread) [hassio.api.proxy] Error on API for request states/binary_sensor.snapshots_stale 20-02-07 19:00:31 WARNING (MainThread) [hassio.homeassistant] Don't wait anymore of Home Assistant startup! 20-02-07 19:00:31 CRITICAL (MainThread) [hassio.homeassistant] HomeAssistant update fails -> rollback! 20-02-07 19:00:31 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.104.3 20-02-07 19:00:31 INFO (SyncWorker_4) [hassio.docker.interface] Update image homeassistant/qemux86-64-homeassistant:0.105.2 to homeassistant/qemux86-64-homeassistant:0.104.3 20-02-07 19:00:31 INFO (SyncWorker_4) [hassio.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag 0.104.3. 20-02-07 19:00:35 INFO (SyncWorker_4) [hassio.docker.interface] Stop homeassistant application 20-02-07 19:00:35 INFO (SyncWorker_4) [hassio.docker.interface] Clean homeassistant application 20-02-07 19:00:36 INFO (SyncWorker_1) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.104.3 20-02-07 19:00:46 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress 20-02-07 19:01:21 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done 20-02-07 19:01:26 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress 20-02-07 19:02:06 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done 20-02-07 19:02:11 ERROR (MainThread) [hassio.homeassistant] Error on call http://172.30.32.1:8123/api/states/binary_sensor.snapshots_stale: Cannot connect to host 172.30.32.1:8123 ssl:None [Connection refused] 20-02-07 19:02:11 ERROR (MainThread) [hassio.api.proxy] Error on API for request states/binary_sensor.snapshots_stale 20-02-07 19:02:36 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance 20-02-07 19:02:36 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.104.3 20-02-07 19:02:36 INFO (SyncWorker_2) [hassio.docker.interface] Cleanup images: ['homeassistant/qemux86-64-homeassistant:0.105.2'] 20-02-07 19:07:16 INFO (MainThread) [hassio.homeassistant] Updated Home Assistant API token 20-02-07 19:26:14 INFO (MainThread) [hassio.updater] Fetch update data from https://version.home-assistant.io/stable.json 20-02-07 19:31:44 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize 20-02-07 19:31:44 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_vscode 20-02-07 19:31:44 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request running

Same here, also downloads image, looks like it installs, reboot and then fails and roll back! Glad I am not the only one.

Have Proxmox and Hassio on it.
The hard drive is 15% used of the 32Gb.
Supervisor and Host HassOS system both updated to the latest version. 199 and 3.9

Hi, got the same issue, Fatal error while loading config: string indices must be integers

Same here. Problem in check home assistant log.

For me, not starting up the frontend was fixed by removing the netatmo configuration (before I am going to fix it as described in the release notes).

?? What is the solution?? Or, what causes the not upgrading?
Why closed?

No success with temporary removing Netatmo config. Still no way to upgrade to 0.105.2

There must be something in the system config that is causing this issue...

I have the same problem even after fixing the Netatmo integration. It starts two times out of five though, and apparently more easily if I set the logger level to debug instead of info. I haven't investigated why (on a RPi3).

0-02-08 15:17:43 INFO (MainThread) [hassio.homeassistant] Updated Home Assistant API token 20-02-08 15:17:43 INFO (MainThread) [hassio.homeassistant] Updated Home Assistant API token 20-02-08 15:17:43 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request running 20-02-08 15:17:43 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request running 20-02-08 15:17:47 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance 20-02-08 15:17:47 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.104.3 20-02-08 15:17:47 INFO (SyncWorker_6) [hassio.docker.interface] Cleanup images: ['homeassistant/qemux86-64-homeassistant:0.105.2'] 20-02-08 15:35:23 INFO (MainThread) [hassio.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup 20-02-08 15:36:42 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.105.2 20-02-08 15:36:42 INFO (SyncWorker_4) [hassio.docker.interface] Update image homeassistant/qemux86-64-homeassistant:0.104.3 to homeassistant/qemux86-64-homeassistant:0.105.2 20-02-08 15:36:42 INFO (SyncWorker_4) [hassio.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag 0.105.2.

So I can pull and start updating, then it stops. After a reboot the old image is the primary, working image and the newer pull is being wiped

had similiar errors as matthewcky2k and vlebourl on a venv instance updating from 104.3 to 105.2.
after serveral HA restarts and a pi reboot, removing the netatmo integration did actually work for me.

I stuck with the same issue. I tried to remove the netatmo integration. No dice, still the same issue. Anybody have a fix for this? Also is there a was i can get to the hassio panel when home assistant isnt starting up?

edit: remove the wrong netatmo part. My issue was fixed by removing it.

@Hellowlol I commented Netatmo integration on 1 other hassio, of family's, and was able to get it upgrading tot 0.105.2
But did same on my own hassio, several tries already, but still no luck. So I commented it, do I need to remove it??? Seems odd

To add the previous comment, so far:

  • commented Netatmo parts
  • restarted hassio
  • tried the upgrade no success
  • rebooted Proxmox VM and tried upgrading again, no success
  • rebooted the host sytem and tried upgrading again, no success
  • reloaded supervisor and tried upgrading again, no success
  • restarted Proxmox again and tried upgrading again, no success
  • tried by upgrading through the terminal, no success

My goal is still to upgrade but are out of options... Anyone out there with other thoughts?

same for me, here's the check tool log. running on pi3b+ booting from usb. NO NETATMO in my config.

Log starting version 3.2.8 [13:29:38] INFO: Don't worry, this temporary installation is not overwriting your current one. [13:29:40] INFO: Installing Home Assistant: latest... [13:29:40] INFO: Please be patient, this might take a few minutes... Fatal Python error: initsite: Failed to import the site module Traceback (most recent call last): File "/usr/local/lib/python3.7/site.py", line 73, in <module> import os File "/usr/local/lib/python3.7/os.py", line 27, in <module> import stat as st ModuleNotFoundError: No module named 'stat' [13:29:49] ERROR: An error occurred while installing Home Assistant:

I think that Netatmo is not the issue...
I don't have the integration, and I'm having the same problem...
Raspberry Pi 4 funning HassOS (problem started with 8, but persists after clean SD flash with 9 - the moment I try to restore my backup from 104.3, it fails)...

More details in the forum (already linked earlier): https://community.home-assistant.io/t/cant-update-hassio-to-0-105-x/169466

Ok,

20-02-09 13:57:42 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
20-02-09 13:57:42 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
20-02-09 13:57:42 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_vscode
20-02-09 13:57:42 INFO (MainThread) [hassio.api.proxy] WebSocket access from core_almond
20-02-09 13:57:42 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-02-09 13:57:42 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-02-09 13:57:42 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
20-02-09 13:57:42 INFO (MainThread) [hassio.api.proxy] WebSocket access from core_almond
20-02-09 13:57:42 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
20-02-09 13:57:42 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_vscode
20-02-09 13:57:42 INFO (MainThread) [hassio.homeassistant] Updated Home Assistant API token
20-02-09 13:57:42 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request running
20-02-09 13:57:42 INFO (MainThread) [hassio.homeassistant] Updated Home Assistant API token
20-02-09 13:57:42 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request running
20-02-09 13:57:46 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
20-02-09 13:57:46 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.104.3
20-02-09 13:57:46 INFO (SyncWorker_4) [hassio.docker.interface] Cleanup images: ['homeassistant/qemux86-64-homeassistant:0.105.2']

I just can't get my head around it.... what is causing the no upgrade. All is running well, the upgrade it self, the reboot afterwards and then the above comments.

I use HA in virtualenv on OrangePi Zero. For me problem was in upgrade home-assistant-frontend.

pip3 install --upgrade home-assistant-frontend
Collecting home-assistant-frontend
Using cached home-assistant-frontend-20200130.2.tar.gz (35.4 MB)
Installing collected packages: home-assistant-frontend
Attempting uninstall: home-assistant-frontend
Found existing installation: home-assistant-frontend 20200108.2
Uninstalling home-assistant-frontend-20200108.2:
Successfully uninstalled home-assistant-frontend-20200108.2
Running setup.py install for home-assistant-frontend ... error
ERROR: Command errored out with exit status 1:
command: /home/ha/homeassistant/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ctie4i1v/home-assistant-frontend/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ctie4i1v/home-assistant-frontend/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-rme7j3iz/install-record.txt --single-version-externally-managed --compile --install-headers /home/ha/homeassistant/include/site/python3.7/home-assistant-frontend
cwd: /tmp/pip-install-ctie4i1v/home-assistant-frontend/
..........................................................
error: [Errno 28] No space left on device

Apparently size my 'tmp' folder is not enough so i solve this with:

export TMPDIR=$HOME/temp
pip3 install --upgrade home-assistant-frontend

Hope this help someone.

Ok, I've got it!!

Let me explain:
I have Proxmox VM, I do have 2 VM's running. I was working on one of the VM's while I had the other one still running....
Read several logs after the reboots, never saw this one, until just now: There was an unique other one running, so I stopped the other VM, upgrade again and viola! It came up.
Just to clarify, both VM's had unique IP addresses, so no errors there. Apparently the one VM also looked at the other VM ....??

for me commenting out netatmo did not work, but updating to the new configuration did !

netatmo:
  client_id: YOUR_CLIENT_ID
  client_secret: YOUR_CLIENT_SECRET

running on rpi3b+ and still have the issue, even after updating to HassOS 3.10

for me commenting out netatmo did not work, but updating to the new configuration did !

netatmo:
  client_id: YOUR_CLIENT_ID
  client_secret: YOUR_CLIENT_SECRET

This worked also for me even I haven't anymore the Netatmo configuration.

for me commenting out netatmo did not work, but updating to the new configuration did !

netatmo:
  client_id: YOUR_CLIENT_ID
  client_secret: YOUR_CLIENT_SECRET

This worked also for me even I haven't anymore the Netatmo configuration.

Also worked for me.

105.3 works now, but if I use the plugin Check Configuration Tool, it still gives me the same error. So now the problem is the plugin.

Is this still an issue?

I'm now running 105.4 without problem, but for me this tool "Check Home Assistant configuration" doesn't worked. I posted the log above. So I uninstalled it. Maybe this plugin has been replaced by: Configuration .. Server Controls .. CHECK CONFIG button? I do not know.

in <module> import os File "/usr/local/lib/python3.7/os.py", line 27, in <module> import stat as st ModuleNotFoundError: No module named 'stat' [13:29:49] ERROR: An error occurred while installing Home Assistant:

@chris669 looks like your python installation is not complete since it is missing the mentioned stat module which is installed by default as far as I know.

Looks like main issue is solved. If you still experience upgrade issues, please try again with version 105.5 (released today) and open a new issue detailing your problem.

Was this page helpful?
0 / 5 - 0 ratings