Error updating to 0.105.2 (HomeAssistant update fails)

Update failed from 0.104.3 to 0.105.2. This is from Check Home Assistant configuration log:

starting version 3.2.8
[15:07:36] INFO: Don't worry, this temporary installation is not overwriting your current one.
[15:07:36] INFO: Installing Home Assistant: latest...
[15:07:36] 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.
[15:11:26] INFO: Installed Home Assistant 0.105.2
[15:11:26] INFO: Making a copy of your configuration for checking...
[15:21:10] INFO: Checking your configuration against this version...
[15:28:12] ERROR: The configuration check did not pass!
[15:28:12] 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 hbmqtt==0.9.5
INFO:homeassistant.util.package:Attempting install of paho-mqtt==1.5.0
INFO:homeassistant.util.package:Attempting install of aiohttp_cors==0.7.0
INFO:homeassistant.util.package:Attempting install of aiopylgtv==0.3.3
INFO:homeassistant.util.package:Attempting install of home-assistant-frontend==20200130.2
INFO:homeassistant.util.package:Attempting install of zeroconf==0.24.4
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 mutagen==1.43.0
INFO:homeassistant.util.package:Attempting install of gTTS-token==1.1.3
INFO:homeassistant.util.package:Attempting install of wakeonlan==1.1.6
INFO:homeassistant.util.package:Attempting install of broadlink==0.12.0
INFO:homeassistant.util.package:Attempting install of samsungctl[websocket]==0.7.1
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

What is wrong? Any ideas? Thank you

1 Like

I have this error too (amongst others), I created a brand new installation of HA which ran fine until I copied my original configuration files back into the config directory. Sorry Iā€™m not much help but it might give someone a clue of how to fix this problem.

What are you running home assistant on?

Running on Raspberry Pi 3B+ with 64GB SD card.

same for me! Rpi 4 virtual env. downgrade to 0.104.3 and it works again (but it is not a solution)

Home Assistant (Hass.io) or did you install using another method

I get the same error using home assistant core docker image. The same config worked in 0.104.3

Update: In my case it was because of netatmo configuration had changed. I still would expect a better error and home assistant to be able to handle a faulty config of a non critical component like that

1 Like

Iā€™m using hass.io - update to Hassos 3.9 was ok. I also tried to comment Netatmo, Samsung, LG but it do not help.I will install fresh system on SSD with X820 board so hope this will work.

REINSTALL
:frowning: