Fault after upgrading to 0.83, how to read SD

Hi all

Yesterday I upgraded (my fault) to 0.83 from 0.82.1 and I get a lot of issues.

I’ve tried to downgrade back to 0.82.1 and now Hassio is not starting anymore.

I can access to internal terminal, but no samba.

Now I have got a new SD card and restore a snapshot from two day ago, but something is missing, probably, because I get a lot of misconfiguration and errors.

How can I access the old SD card from Windows/Linux/Mac to copy all the files in various config/addons/share folder to the new SD card?

Thanks

If ssh session in hass.io is working you can use scp to copy files from the SD card using the SSH session .If you are using windows try winscp client

https://winscp.net/eng/index.php

I never install samba on Hass.io always use scp one less addin

No, I haven’t ssh enable, but only web terminal.

Strange thing is that I can reach the login page in Hassio, but if I type my credentials user/pass or API I can’t access.

Is there a way to reset the user or something like that?

Thanks

Without terminal access SSH you cannot fix or recover any files. Ensure your new instance has SSH added :slight_smile:

You can try mounting the old sd card in windows

Never tried any of the options . Best of luck

From Windows, SD card is not visible, only from a Linux machine.

Now I have access thru Samba to all the files.

What can I do ?

Thanks

The safest (but most long winded ) secure your old configuration. Then create a new install on a new sd card . Get it working so you can log in . Install SSH add in and then samba . Get them working. Take a snapshot . Test it ! . Then start copying your configuration files back. Testing each time

Thanks

This is what I’ve today.

Luckly, all is working now!!!

I have the same issue after update, did it get it resolved without reinstalling everything?

My loggfile:
2018-12-01 15:04:20 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’

After struggling some times, the best choice is to reinstall and restore a backup.
Fortunately, the Hassio backup option copy every folder needed.

ok, thanks.
I have struggled some time with the recorder also, so it is time to do a reinstall

I had issue too, with recorder, but the issue was MariaDB.
I had to uninstall and reinstall after the restore.
In this case really strange.