Upgrade gone bad! Can someone help me get things working again?

First time trying to upgrade HA did not go well. I followed directions at https://home-assistant.io/getting-started/installation-raspberry-pi-image/#update-home-assistant-on-hassbian for upgrading HASSbian. I had a great idea to just copy all commands as a script and ran it. I don’t think that went well. I received some errors. I went back and ran everything by hand and it completed successfully. I tried restarting and got an error similar to this:

16-11-05 20:00:24 homeassistant.bootstrap: Not initializing http because could not install dependency aiohttp_cors==0.4.0

I did some searching and found this thread which basically said I needed to update aiohttp so I did that.

I rebooted and things came back up but now I’m getting invalid config for switch.mochad, automation.sun, mochad, sun, tts.google, and discovery. I’m attaching the log file: https://hastebin.com/bifuyuhavo.sql

Can anyone tell me what I need to do to get things running again? Thanks!

Have you tried hass --script check_config ?
And read this https://home-assistant.io/getting-started/troubleshooting-configuration/

Thanks for the tip. I tried it and I did not get any errors.

Seems like installation/upgrading did not succeed successfully. Some components didn’t get installed properly. Can you double check if installation has gone okay ?
Especially when executing pip3 install --upgrade homeassistant

Thanks for helping. I restored to a back up that I had and got things running again. Unfortunately I still cannot upgrade. I followed the directions posted on the wiki and still problems with invalid configs that worked fine previously (some of them core components that I would not think would break). I did get syntax errors when it tried to build Jinja2.

I started a new thread and outlined what I had done as the original problem I had in this thread no longer exist. Perhaps I should have left everything here, but it did seem to make sense to create a new specific thread. That thread can be found here:

Can you take a look at it and let me know what you think might be wrong. Many thanks!