Hello,
i updated my HASSOS based Hassio to 0.83 and it worked perfectly. Then I updated HASSOS as well and all of the sudden the “new version” message popped up saying “update 0.82.1 available, you have 0.83 right now”.
Of course I realized it after clicking the update button and the system somehow reverted halfway back to 0.82.1.
With halfway I mean that this crashed the system. I can still connect via ssh and smb but not to the webinterface. If I try to update to 0.83 via CLI it returns an error.
Is this problem known and is there any way to solve it besides starting from scratch?
core-ssh:~# hassio homeassistant update --options version=0.83
ERROR
Unknown Error, see logs
This is the log showing errors when trying to connect to the webinterface:
2018-11-30 07:24:53 INFO (MainThread) [homeassistant.components.http.view] Serving /api/websocket to 172.30.32.2 (auth: False)
2018-11-30 07:24:53 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/token to 172.30.32.2 (auth: False)
2018-11-30 07:24:53 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'
2018-11-30 07:24:53 INFO (MainThread) [homeassistant.components.http.view] Serving /api/websocket to 172.30.32.2 (auth: False)
2018-11-30 07:24:53 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/token to 172.30.32.2 (auth: False)
2018-11-30 07:24:53 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'
2018-11-30 07:24:54 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection.548080118192] Disconnected: Did not receive auth message within 10 seconds