So, I ran the upgrade for a second time last knight using the steps below, the first time I ran the upgrade, HASS never started, I thought maybe I didn’t wait long enough as I reverted back to 0.45.1 and everything worked.
I decided to give it a second chance since a couple things stopped working since upgrading to 0.45.1 and I wanted to add my Arlo Cam’s to HASS.
It is now exactly eight hours since the upgrade and HASS sill hasnt started up.
Any ideas.
Step’s to upgrade HASS on Hassbian:
sudo systemctl stop [email protected]
sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
pip3 install --upgrade homeassistant
exit
sudo systemctl start [email protected]
Upgrade Log:
Downloading/unpacking homeassistant from https://pypi.python.org/packages/c8/9f/dbb99434d08ba68976afc804abcbfc3cdfa697180746d74c27e158e429f0/homeassistant-0.46.0-py2.py3-none-any.whl#md5=66cab5867af4ce2b473b04d500aea095
Downloading homeassistant-0.46.0-py2.py3-none-any.whl (7.1MB): 7.1MB downloaded
Requirement already up-to-date: async-timeout==1.2.1 in /srv/homeassistant/lib/python3.4/site-packages (from homeassistant)
Downloading/unpacking aiohttp==2.1.0 (from homeassistant)
Downloading aiohttp-2.1.0.tar.gz (748kB): 748kB downloaded
Running setup.py (path:/tmp/pip-build-xqedcqdl/aiohttp/setup.py) egg_info for package aiohttp
aiohttp/_http_parser.pyx: cannot find cimported module ‘.’
Compiling aiohttp/_websocket.pyx because it changed.
Compiling aiohttp/_http_parser.pyx because it changed.
[1/2] Cythonizing aiohttp/_http_parser.pyx
[2/2] Cythonizing aiohttp/_websocket.pyx
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files found matching 'aiohttp/_multidict.html'
warning: no previously-included files found matching 'aiohttp/_multidict.*.so'
warning: no previously-included files found matching 'aiohttp/_multidict.pyd'
warning: no previously-included files found matching 'aiohttp/_multidict.*.pyd'
warning: no previously-included files found matching 'aiohttp/_websocket.html'
warning: no previously-included files found matching 'aiohttp/_websocket.*.so'
warning: no previously-included files found matching 'aiohttp/_websocket.pyd'
warning: no previously-included files found matching 'aiohttp/_websocket.*.pyd'
no previously-included directories found matching 'docs/_build'
Requirement already up-to-date: pytz>=2017.02 in /srv/homeassistant/lib/python3.4/site-packages (from homeassistant)
Downloading/unpacking requests==2.14.2 (from homeassistant)
Downloading requests-2.14.2-py2.py3-none-any.whl (560kB): 560kB downloaded
Requirement already up-to-date: typing>=3,<4 in /srv/homeassistant/lib/python3.4/site-packages (from homeassistant)
Downloading/unpacking pip>=7.1.0 (from homeassistant)
Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB): 1.3MB downloaded
Requirement already up-to-date: astral==1.4 in /srv/homeassistant/lib/python3.4/site-packages (from homeassistant)
Downloading/unpacking jinja2>=2.9.5 (from homeassistant)
Downloading Jinja2-2.9.6-py2.py3-none-any.whl (340kB): 340kB downloaded
Requirement already up-to-date: voluptuous==0.10.5 in /srv/homeassistant/lib/python3.4/site-packages (from homeassistant)
Requirement already up-to-date: pyyaml>=3.11,<4 in /srv/homeassistant/lib/python3.4/site-packages (from homeassistant)
Downloading/unpacking chardet==3.0.2 (from homeassistant)
Downloading chardet-3.0.2-py2.py3-none-any.whl (133kB): 133kB downloaded
Requirement already up-to-date: multidict>=2.1.4 in /srv/homeassistant/lib/python3.4/site-packages (from aiohttp==2.1.0->homeassistant)
Requirement already up-to-date: yarl>=0.10.0,<0.11 in /srv/homeassistant/lib/python3.4/site-packages (from aiohttp==2.1.0->homeassistant)
Downloading/unpacking MarkupSafe>=0.23 from https://pypi.python.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz#md5=2fcedc9284d50e577b5192e8e3578355 (from jinja2>=2.9.5->homeassistant)
Downloading MarkupSafe-1.0.tar.gz
Running setup.py (path:/tmp/pip-build-xqedcqdl/MarkupSafe/setup.py) egg_info for package MarkupSafe
Installing collected packages: homeassistant, aiohttp, requests, pip, jinja2, chardet, MarkupSafe
Found existing installation: homeassistant 0.45.1
Uninstalling homeassistant:
Successfully uninstalled homeassistant
Found existing installation: aiohttp 2.0.7
Uninstalling aiohttp:
Successfully uninstalled aiohttp
Running setup.py install for aiohttp
aiohttp/_http_parser.pyx: cannot find cimported module ‘.’
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files found matching 'aiohttp/_multidict.html'
warning: no previously-included files found matching 'aiohttp/_multidict.*.so'
warning: no previously-included files found matching 'aiohttp/_multidict.pyd'
warning: no previously-included files found matching 'aiohttp/_multidict.*.pyd'
warning: no previously-included files found matching 'aiohttp/_websocket.html'
warning: no previously-included files found matching 'aiohttp/_websocket.*.so'
warning: no previously-included files found matching 'aiohttp/_websocket.pyd'
warning: no previously-included files found matching 'aiohttp/_websocket.*.pyd'
no previously-included directories found matching 'docs/_build'
building 'aiohttp._websocket' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/srv/homeassistant/include -I/usr/include/python3.4m -c aiohttp/_websocket.c -o build/temp.linux-armv7l-3.4/aiohttp/_websocket.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/aiohttp/_websocket.o -o build/lib.linux-armv7l-3.4/aiohttp/_websocket.cpython-34m.so
building 'aiohttp._http_parser' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/srv/homeassistant/include -I/usr/include/python3.4m -c aiohttp/_http_parser.c -o build/temp.linux-armv7l-3.4/aiohttp/_http_parser.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/srv/homeassistant/include -I/usr/include/python3.4m -c vendor/http-parser/http_parser.c -o build/temp.linux-armv7l-3.4/vendor/http-parser/http_parser.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/aiohttp/_http_parser.o build/temp.linux-armv7l-3.4/vendor/http-parser/http_parser.o -o build/lib.linux-armv7l-3.4/aiohttp/_http_parser.cpython-34m.so
Found existing installation: requests 2.4.3
Not uninstalling requests at /usr/lib/python3/dist-packages, outside environment /srv/homeassistant
Found existing installation: pip 1.5.6
Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /srv/homeassistant
Found existing installation: Jinja2 2.7.3
Not uninstalling Jinja2 at /usr/lib/python3/dist-packages, outside environment /srv/homeassistant
*** Error compiling ‘/tmp/pip-build-xqedcqdl/jinja2/jinja2/asyncfilters.py’…
File “/tmp/pip-build-xqedcqdl/jinja2/jinja2/asyncfilters.py”, line 7
async def auto_to_seq(value):
^
SyntaxError: invalid syntax
*** Error compiling ‘/tmp/pip-build-xqedcqdl/jinja2/jinja2/asyncsupport.py’…
File “/tmp/pip-build-xqedcqdl/jinja2/jinja2/asyncsupport.py”, line 22
async def concat_async(async_gen):
^
SyntaxError: invalid syntax
Found existing installation: chardet 2.3.0
Not uninstalling chardet at /usr/lib/python3/dist-packages, outside environment /srv/homeassistant
Found existing installation: MarkupSafe 0.23
Not uninstalling MarkupSafe at /usr/lib/python3/dist-packages, outside environment /srv/homeassistant
Running setup.py install for MarkupSafe
building 'markupsafe._speedups' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/srv/homeassistant/include -I/usr/include/python3.4m -c markupsafe/_speedups.c -o build/temp.linux-armv7l-3.4/markupsafe/_speedups.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/markupsafe/_speedups.o -o build/lib.linux-armv7l-3.4/markupsafe/_speedups.cpython-34m.so
Successfully installed homeassistant aiohttp requests pip jinja2 chardet MarkupSafe
Cleaning up…