Upgrade from 0.83 to 0.83.1 Problem - Can´t access anything

Good morning,
i remotely upgraded from 0.83 to 0.83.1 an hour ago, and i couldn´t access the web UI with the following error

“Unable to connect to Home Assistant” retry

When accessing over the IP, it asks for my Local Hassio Credentials, but there is nmo response when entering them.

I then went into the SSH console and done a reboot, but get the same errors, plus SSH connection is no more possible

For now, I can´t do a power cycle until afternoon, but maybe someone can see the cause of the problem?

Here is the log file

    2018-11-30 09:26:59 WARNING (SyncWorker_15) [homeassistant.components.tahoma] Unsupported type internal:TSKAlarmComponent for Tahoma device Alarm
2018-11-30 09:26:59 WARNING (SyncWorker_15) [homeassistant.components.tahoma] Unsupported type internal:PodV2Component for Tahoma device Sensitive Taste
2018-11-30 09:27:09 WARNING (MainThread) [homeassistant.components.light] Setup of platform flux_led is taking over 10 seconds.
2018-11-30 09:27:10 WARNING (SyncWorker_12) [homeassistant.components.light.flux_led] Failed to connect to bulb 192.168.1.29, LED-TV
2018-11-30 09:27:20 WARNING (SyncWorker_14) [homeassistant.components.light.flux_led] Failed to connect to bulb 192.168.1.30, LED-TISCH
2018-11-30 09:27:20 ERROR (MainThread) [homeassistant.setup] Error during setup of component hassio
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
    hass, processed_config)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/hassio/__init__.py", line 178, in async_setup
    user = await hass.auth.async_get_user(data['hassio_user'])
  File "/usr/local/lib/python3.6/site-packages/homeassistant/auth/__init__.py", line 118, in async_get_user
    return await self._store.async_get_user(user_id)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/auth/auth_store.py", line 56, in async_get_user
    await self._async_load()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/auth/auth_store.py", line 247, in _async_load
    name=group_dict['name'],
KeyError: 'name'
2018-11-30 09:28:12 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 390, in start
    resp = await self._request_handler(request)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_app.py", line 366, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 106, in impl
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 66, in staticresource_middleware
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 113, in handle
    result = await result
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 76, in handle_req
    resp = await func(view, request, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/auth/__init__.py", line 258, in post
    hass, data, str(request[KEY_REAL_IP]))
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/auth/__init__.py", line 346, in _async_handle_refresh_token
    refresh_token = await hass.auth.async_get_refresh_token_by_token(token)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/auth/__init__.py", line 330, in async_get_refresh_token_by_token
    return await self._store.async_get_refresh_token_by_token(token)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/auth/auth_store.py", line 204, in async_get_refresh_token_by_token
    await self._async_load()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/auth/auth_store.py", line 247, in _async_load
    name=group_dict['name'],
KeyError: 'name'

Hi, I upgraded from 0.82.1 to 0.83.1 and I also have the message: Unable to connect to Home Assistant.

I can access using SSH. For now I can’t access the GUI in the browser or the ios app…

NVM My bad. Sorry

Same thing on my Hassio…

For now, just one line in my log file:

2018-11-30 10:33:11 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=95 from 2018-11-30 09:19:07.360283)

I’m using ssh now to stop/start homeassistant, takes a long time though… still waiting.

Same thing on my Hassio, after Upgrading :frowning:

I noticed one strange thing before upgrading:

  • Actual Version: 0.83
  • New Version: 0.82.1

After a few minutes:

core-ssh:/config# hassio ha start
ERROR Unknown Error, 
see logs

But there are no log lines other than the one in my previous post
Are thee more places to look for log files?

People have been reporting that all day. It just means the version checker hasn’t been updated to version 0.83.1 yet - just IGNORE it…

Ok, but that’s not my issue. After using the upgrade mechanism, I can’t access hassio anymore. No logs given my any clue whats going on.

1 Like

Hate to say it, but same thing here. Running 0.83 on a Ubuntu in a Docker container.

I stopped homeassistant using ssh with ha stop. Than I renamed the database file to home-assistant_v2.db.old and restarted the host with ha restart.
Now in my logs:
2018-11-30 10:52:09 WARNING (Recorder) [homeassistant.components.recorder.migration] Database is about to upgrade. Schema version: None
There is a new database file created, so hopefuly this will create a new db and I’m running again… :pray:

I tried that too.
No luck.

Same here, no luck.
Now I stopped the homeassistant and am running the command:

hassio ha update -o version=0.82.1

Going back to the version I came from. It takes a while now, so I’m hoping for the best. I also re-renamed my database file.

Just managed to get in by renaming home-assistant_v2.db

BUT

I could only login with the Legacy API password and I cannot create a new user account, as I get an ‘unauthorized’ error if I attempt to recreate any accounts.

Guess what, I’m back on 0.82.1 ! This worked :grinning:

I’ll make a new backup now and try again.

How can I revert to an older version when ssh is not available?
Do I have a cli when attaching a display?

did u Guys cheked this?
https://github.com/home-assistant/home-assistant/issues/18809#issuecomment-443134375

Just change

device_tracker:
  - platform: owntracks
    max_gps_accuracy: 200

to

owntracks:
  max_gps_accuracy: 200
7 Likes

Good finding! I’ll check that. I use owntracks.

I don’t have owntracks in my config.yaml…

Fixed my issue. Thanks @1337hium
I’m on 0.83.1 now.