AIO & 0.72 Upgrade Issues

I am running my original PI with AIO, been updating it since 0.3 or something. After latest update from 0.71 to 0.72 I have two issues.

First, if I enable the history_stats sensors I get the following error:

2018-06-24 09:03:01 ERROR (SyncWorker_5) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/hass/hass_venv/lib/python3.6/site-packages/homeassistant/components/sensor/history_stats.py”, line 114, in force_refresh
self.schedule_update_ha_state(True)
File “/srv/hass/hass_venv/lib/python3.6/site-packages/homeassistant/helpers/entity.py”, line 287, in schedule_update_ha_state
self.hass.add_job(self.async_update_ha_state(force_refresh))
AttributeError: ‘NoneType’ object has no attribute ‘add_job’

If I disable all my history_stats sensors, home assistant load without errors, however, I have no UI. Whenever I go to https://xxx.xxx:port/states I get a blank page saying “404: Not Found” and in the log I get the error:

2018-06-24 09:04:00 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/srv/hass/hass_venv/lib/python3.6/site-packages/aiohttp/web_protocol.py”, line 378, in start
resp = await self._request_handler(request)
File “/srv/hass/hass_venv/lib/python3.6/site-packages/aiohttp/web_app.py”, line 341, in _handle
resp = await handler(request)
File “/srv/hass/hass_venv/lib/python3.6/site-packages/aiohttp/web_middlewares.py”, line 88, in impl
return await handler(request)
File “/srv/hass/hass_venv/lib/python3.6/site-packages/homeassistant/components/http/static.py”, line 70, in staticresource_middleware
fingerprinted = _FINGERPRINT.match(request.match_info[‘filename’])
KeyError: ‘filename’

I have already restarted home assistant multiple times, and cleared the browser cache.

Any ideas on how to resolve the no UI issue on AIO?

Thanks!

I also have the AIO filename error on startup after migrating to 0.72.

I have finally decided to give up on the AIO since it is deprecated. I am going to install hass.io, start over from scratch.

I had a bunch of errors. More specifically with permissions. No idea why as the normaly update method has always worked until now. I ended up going through an manually deleting everything it was having a cry about and then installed HA again via pip. Simple enough and everything is working again.

I’m starting to get that way. If these errors keep happening, then I’ll likely go that way.