404 after most recent update - can't fix

Hello,

Updated to most recent update, after a few hours had to restart system and now i get a 404 for the front end, yet my automations work etc

I tried deleting the database file (it was huge) and hasn’t seemed to fix the issue.

Any ideas? I really don’t want to reinstall this thing. I can’t post full log output because of this sites policy with hyperlinks…but i think the error is below…

KeyError: ‘access_tokens’
2018-08-23 10:59:55 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of frontend. Setup failed for dependencies: onboarding
2018-08-23 10:59:55 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not setup all dependencies.
2018-08-23 10:59:57 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=1 from 2018-08-22 17:09:04.797727)
2018-08-23 10:59:59 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of logbook. Setup failed for dependencies: frontend
2018-08-23 10:59:59 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not setup all dependencies.
2018-08-23 10:59:59 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of panel_iframe. Setup failed for dependencies: frontend
2018-08-23 10:59:59 ERROR (MainThread) [homeassistant.setup] Setup failed for panel_iframe: Could not setup all dependencies.
2018-08-23 11:00:09 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-08-23 11:00:19 WARNING (SyncWorker_18) [homeassistant.components.light.tplink] Could not read state for TP-Link Light: Communication error
2018-08-23 11:00:24 WARNING (MainThread) [homeassistant.components.light] Setup of platform flux_led is taking over 10 seconds.
2018-08-23 11:00:25 ERROR (MainThread) [homeassistant.setup] Error during setup of component hassio

I’m also getting 404 on the frontend. I didn’t update manually but I have just finished a fresh 32bit install on a Pi3, I think that downloads the latest update. It worked well until restored a full snapshot which rebooted it and resulted in the 404 error. I will try and get into the logs when I get home.

Also having a similar problem after upgrading (I think it was 0.76). Not getting a 404 but a spinning “connecting” and asking for the password after a while (could simply be the files in the browser cache that are showing me that). Look and see if you see the ports with “netstat -tunelp” in root. Also, looks like not the releated dockers are starting. (only the 2 for HassIO and MQTT).

This is not right, looks like your hassio roll back you to 0.75.x

Delete auth and hassio file under config/.storage folder should allow your front end back

2 Likes

THANK YOU!!!

This fixed it right away.

Hi,

'm aware that this is a hold thread but, Like it was said, putting a static also fixed it for me. I think the problem is when the envisalink board renews its DHCP session, that is when HA looses the connexion… not 100% sure but it does look like it…

A test that can be made is to but a infinte session time for that specific MAC address in the dhcp server (possible with dnsmasq acting as the dhcp server on the network)

anyways, thanks for the heads up. this solved a big headache :slight_smile: