Can't update hassio to 0.105.x

Tags: #<Tag:0x00007f7804c82c28>

Hi,
I’ve tried to update my home assistant running to 0.105.1, but it keeps failing and rolling back to 0.104.3.
Following is the debug log of the supervisor (199).

20-02-06 14:04:43 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.105.1
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.1
20-02-06 14:04:43 INFO (SyncWorker_19) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.105.1.
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.1
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.1 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

I’m running Hassio on a raspberry pi 3B+.
Any suggestion?

Thanks

V.

2 Likes

I have exactly the same problem

Same issue. I hit update, Hassio restarts and i am exactly back to 104.3. No change. I disabled all addons and same thing.
20-02-06 17:04:12 ERROR (MainThread) [hassio.api.ingress] Ingress error: Cannot connect to host 0.0.0.0:1337 ssl:None [Connection refused]

Emptied my Config.yaml (left default in there). Kept only Samba running.
Tried update again.
System log - Failed to get supervisor logs, [object Object]
Restart automatically. Still on 104.3. No change

Stopped all addons, deleted a couple of unused images, remaining unused could not be deleted as they were being used somewhere. I’m scared to delete them.
I was able to start SSH & web terminal and check space. Seems fine.
I cannot start other addon’s and cannot update to 105.1.
Still trying.
I keep seeing this error:
20-02-06 18:09:00 ERROR (MainThread) [hassio.api.ingress] Ingress error: Cannot connect to host 172.30.33.1:1337 ssl:None [Host is unreachable]

So my last failure for today:
Used SSH web terminal addon:
pip3 install --upgrade homeassistant
went smoothly until got ton of errors.
Major one was: ERROR: Comand errored out with exit status1: /usr/bin/python3.8 etc etc

No idea what to do. Someone please help.

Hello, I also have an RPi 3. The update to 105.1 went smoothly. Before I did the update I updated Hassos to 3.9. Could that be the cause of the problem?

I updated to Hassos 3.9 as well. but cannot update to 105.1.
I cannot start addons as well. Just a red blink and nothing.

20-02-06 18:29:46 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.105.1
20-02-06 18:29:46 INFO (SyncWorker_12) [hassio.docker.interface] Update image homeassistant/raspberrypi4-homeassistant:0.104.3 to homeassistant/raspberrypi4-homeassistant:0.105.1
20-02-06 18:29:46 INFO (SyncWorker_12) [hassio.docker.interface] Pull image homeassistant/raspberrypi4-homeassistant tag 0.105.1.
20-02-06 18:35:29 INFO (SyncWorker_12) [hassio.docker.interface] Stop homeassistant application
20-02-06 18:35:30 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-06 18:35:30 ERROR (MainThread) [hassio.api.proxy] Error on API for request states/binary_sensor.snapshots_stale
20-02-06 18:36:30 INFO (SyncWorker_12) [hassio.docker.interface] Clean homeassistant application
20-02-06 18:36:31 INFO (SyncWorker_16) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi4-homeassistant with version 0.105.1
20-02-06 18:36:35 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-06 18:36:35 ERROR (MainThread) [hassio.api.proxy] Error on API for request states/binary_sensor.snapshots_stale
20-02-06 18:36:51 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-06 18:37:11 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-06 18:37:16 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-06 18:37:50 INFO (MainThread) [hassio.auth] Auth request from core_mosquitto for mosquitto
20-02-06 18:37:50 ERROR (MainThread) [hassio.homeassistant] Error on call http://172.30.32.1:8123/api/: Cannot connect to host 172.30.32.1:8123 ssl:None [Connection refused]
20-02-06 18:37:50 INFO (MainThread) [hassio.auth] Home Assistant not running, check cache
20-02-06 18:37:50 INFO (MainThread) [hassio.auth] Cache hit for mosquitto
20-02-06 18:37:51 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-06 18:37:56 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-06 18:38:41 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-06 18:38:41 ERROR (MainThread) [hassio.api.proxy] Error on API for request states/binary_sensor.snapshots_stale
20-02-06 18:39:36 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-06 18:42:46 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-06 18:42:46 ERROR (MainThread) [hassio.api.proxy] Error on API for request states/binary_sensor.snapshots_stale
20-02-06 18:47:51 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-06 18:47:51 ERROR (MainThread) [hassio.api.proxy] Error on API for request states/binary_sensor.snapshots_stale
20-02-06 18:49:38 WARNING (MainThread) [hassio.homeassistant] Don’t wait anymore of Home Assistant startup!
20-02-06 18:49:38 CRITICAL (MainThread) [hassio.homeassistant] HomeAssistant update fails -> rollback!
20-02-06 18:49:38 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.104.3
20-02-06 18:49:38 INFO (SyncWorker_16) [hassio.docker.interface] Update image homeassistant/raspberrypi4-homeassistant:0.105.1 to homeassistant/raspberrypi4-homeassistant:0.104.3
20-02-06 18:49:38 INFO (SyncWorker_16) [hassio.docker.interface] Pull image homeassistant/raspberrypi4-homeassistant tag 0.104.3.
20-02-06 18:49:40 INFO (SyncWorker_16) [hassio.docker.interface] Stop homeassistant application
20-02-06 18:49:40 INFO (SyncWorker_16) [hassio.docker.interface] Clean homeassistant application
20-02-06 18:49:41 INFO (SyncWorker_3) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi4-homeassistant with version 0.104.3
20-02-06 18:50:01 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-06 18:50:56 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-06 18:51:03 INFO (MainThread) [hassio.auth] Auth request from core_mosquitto for mosquitto
20-02-06 18:51:03 ERROR (MainThread) [hassio.homeassistant] Error on call http://172.30.32.1:8123/api/: Cannot connect to host 172.30.32.1:8123 ssl:None [Connection refused]
20-02-06 18:51:03 INFO (MainThread) [hassio.auth] Home Assistant not running, check cache
20-02-06 18:51:03 INFO (MainThread) [hassio.auth] Cache hit for mosquitto
20-02-06 18:51:06 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-06 18:52:52 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-06 18:52:56 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-06 18:52:56 ERROR (MainThread) [hassio.api.proxy] Error on API for request states/binary_sensor.snapshots_stale
20-02-06 18:53:12 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
20-02-06 18:53:12 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.104.3
20-02-06 18:53:12 INFO (SyncWorker_5) [hassio.docker.interface] Cleanup images: [‘homeassistant/raspberrypi4-homeassistant:0.105.1’]
20-02-06 18:58:01 INFO (MainThread) [hassio.homeassistant] Updated Home Assistant API token

Hassos is in 3.5 can’t upgrade to 3.9

Sorry, can’t help you, hope that your problem will be solved soon. Have you read the “Release Notes”, is there anything that gives you an indication of the problem? Good luck

This maybe a space issue.
I restored my config file and added the following to my config file:
recorder:
purge_keep_days: 1

I got the addons to install and start by doing the following:
I uninstalled them and restarted, then installed them one by one and started each on seperately and restarted again.
Update to 105.1 still failed.
Next step delete all containers and restart. I’ll let you know how that goes. Fingers crossed.

It won’t help those of you that have cleared out your configuration.yaml and still can’t upgrade, but for those that haven’t, this addon can sometimes help identify possible upgrade blockers:

So I deleted the dns container and it came back.
Restarted the homeassistant container and it came back.
Updated HA - didn’t work. Stuck with 104.3.
Stopped Supervisor container, it came back.
Paused Suprevisor - addon containers dissapeared. Tried updating - its been spinning for 3 mins now.
Didn’t work :frowning:

I give up. Reinstalling HA on the RP3 b+. What a mess and waste of time.

Same here, have it running on Proxmox, hassio en supervisor to highest level.
Can start the upgrade, it will reboot but no upgrade after reboot, and the option to upgrade, again…

I’m trying to install after formatting SD card. The new installation stuck on eudev-3.2.8
I have the Raspberry PI3 and this issue started after update the core and the process was stucked always at eudev-3.2.8

I always read about update-issues. I started with 0.100.3 a couple months ago. Is there any major reason to update on a regular basis?

I ran this. No errors. Update fails to load Lovelace. Back to
104.3 no Issues. Can’t connect to host as people say above.

There is something to be said for “it works, don’t mess with it.” And if you have a relatively simple config, I think you might be able to get away with it. If you you’re using lots of integrations, you might end up with a ton of breaking changes to tackle when you finally do upgrade (or you might get lucky like I did when I went for a few months and only had one or two things to change).

tried your idea, and the check failed, but I don’t think it’s because of the configuration…

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)
1 Like

Also having a problem upgrading, although my errors are different:


20-02-07 08:57:55 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.105.2
20-02-07 08:57:55 INFO (SyncWorker_6) [hassio.docker.interface] Update image homeassistant/qemux86-64-homeassistant:0.104.3 to homeassistant/qemux86-64-homeassistant:0.105.2
20-02-07 08:57:55 INFO (SyncWorker_6) [hassio.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag 0.105.2.
20-02-07 09:05:26 INFO (SyncWorker_6) [hassio.docker.interface] Stop homeassistant application
20-02-07 09:06:29 INFO (SyncWorker_6) [hassio.docker.interface] Clean homeassistant application
20-02-07 09:06:32 INFO (SyncWorker_2) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.105.2
20-02-07 09:06:52 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-07 09:07:27 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-07 09:07:32 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-07 09:09:02 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-07 09:19:04 WARNING (MainThread) [hassio.homeassistant] Don't wait anymore of Home Assistant startup!
20-02-07 09:19:04 CRITICAL (MainThread) [hassio.homeassistant] HomeAssistant update fails -> rollback!
20-02-07 09:19:04 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.104.3
20-02-07 09:19:04 INFO (SyncWorker_9) [hassio.docker.interface] Update image homeassistant/qemux86-64-homeassistant:0.105.2 to homeassistant/qemux86-64-homeassistant:0.104.3
20-02-07 09:19:04 INFO (SyncWorker_9) [hassio.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag 0.104.3.
20-02-07 09:19:06 INFO (SyncWorker_9) [hassio.docker.interface] Stop homeassistant application
20-02-07 09:19:08 INFO (SyncWorker_9) [hassio.docker.interface] Clean homeassistant application
20-02-07 09:19:10 INFO (SyncWorker_2) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.104.3
20-02-07 09:19:36 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-07 09:20:16 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-07 09:20:26 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
20-02-07 09:21:56 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
20-02-07 09:22:01 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
20-02-07 09:22:01 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.104.3
20-02-07 09:22:01 INFO (SyncWorker_5) [hassio.docker.interface] Cleanup images: ['homeassistant/qemux86-64-homeassistant:0.105.2']

Any ideas?