HomeAssistant config got corrupted after installing Debian Buster as recommend

When I try to upgrade, I got:

sudo hassbian-config upgrade homeassistant

Operation failed…
Reverting…
mv: cannot stat ‘/srv/homeassistant_’: No such file or directory
/opt/hassbian/suites/homeassistant/python-migration: line 74: /srv/homeassistant/hassbian/pythonmigration: No such file or directory

Please help,

Thanks

This is what happens when I try to upgrade python

pi@hassbian:/home/homeassistant/.homeassistant $ sudo hassbian-config upgrade python
Generating system information...

  Home Assistant:
  Home Assistant Python:
  hassbian-config:       0.13.1

  Linux hassbian 4.19.58-v7+ #1245 SMP Fri Jul 12 17:25:51 BST 2019 armv7l GNU/Linux


Suite:     Python
Installed: false
Contributed to the project by Ludeeus <https://github.com/ludeeus>
Upgrades python3 and virtual environment to the newest stable version.

Checking current python version...
Stopping Home Assistant....
Backing up previous virutal enviorment....
mv: cannot stat '/srv/homeassistant': No such file or directory
Creating new virutal environment using Python 3.7.4...
Copying hassbian from the old venv to the new...
cp: cannot stat '/srv/homeassistant_/hassbian': No such file or directory
Setting permissions...
Reinstalling Home Assistant...
Updating apt...

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Ign:3 https://gitlab.com/hassbian/repository/raw/master buster InRelease
Get:4 https://gitlab.com/hassbian/repository/raw/master buster Release [3,110 B]
Ign:5 https://gitlab.com/hassbian/repository/raw/master buster Release.gpg
Fetched 3,110 B in 1s (2,616 B/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
Installing packages...

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
python3-dev is already the newest version (3.7.3-1).
python3-pip is already the newest version (18.1-5+rpt1).
The following packages were automatically installed and are no longer required:
  g++-6 gnupg-agent libaio1 libass5 libavcodec57 libavdevice57 libavfilter6
  libavformat57 libavresample3 libavutil55 libbabeltrace-ctf1 libbind9-140
  libblas-common libbluray1 libcdio-cdda1 libcdio-paranoia1 libcdio13
  libdbus-glib-1-2 libdns162 libdrm-amdgpu1 libdrm-freedreno1 libebur128-1
  libegl-mesa0 libegl1 libegl1-mesa libevent-2.0-5 libfile-copy-recursive-perl
  libgbm1 libgcr-3-common libgfortran3 libgl1-mesa-glx libhttp-parser2.8
  libicu57 libisc160 libisccc140 libisccfg140 libisl15 libjim0.76 liblwres141
  libmpfr4 libncursesw5-dev libntfs-3g871 libonig4 libopencv-core2.4v5
  libopencv-imgproc2.4v5 libperl5.24 libpostproc54 libpython3.5
  libpython3.5-dev libpython3.5-minimal libpython3.5-stdlib libsndio6.1
  libsodium18 libstdc++-6-dev libswresample2 libswscale4 libtinfo-dev
  libtxc-dxtn-s2tc libva-drm1 libva-x11-1 libva1 libvpx4 libwayland-egl1-mesa
  libwayland-server0 libwebpmux2 libx264-148 libx265-95 python3-pyasn1
  python3.5 python3.5-dev python3.5-minimal python3.5-venv rename sgml-base
  tcpd update-inetd xml-core
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: virtualenv in /usr/local/lib/python3.7/site-packages (16.7.2)
You are using pip version 19.0.3, however version 19.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Changing to homeassistant user...
Changing to Home Assistant venv...
Updating Python dependencies...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pip
  Downloading https://files.pythonhosted.org/packages/62/ca/94d32a6516ed197a491d17d46595ce58a83cbb2fca280414e57cd86b84dc/pip-19.2.1-py2.py3-none-any.whl (1.4MB)
Installing collected packages: pip
  Found existing installation: pip 19.0.3
    Uninstalling pip-19.0.3:
      Successfully uninstalled pip-19.0.3
Successfully installed pip-19.2.1
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting setuptools
  Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB)
Installing collected packages: setuptools
  Found existing installation: setuptools 40.8.0
    Uninstalling setuptools-40.8.0:
      Successfully uninstalled setuptools-40.8.0
Successfully installed setuptools-41.0.1
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting wheel
  Downloading https://files.pythonhosted.org/packages/bb/10/44230dd6bf3563b8f227dbf344c908d412ad2ff48066476672f3a72e174e/wheel-0.33.4-py2.py3-none-any.whl
Installing collected packages: wheel
Successfully installed wheel-0.33.4
Installing Python packages...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting homeassistant
  Using cached https://files.pythonhosted.org/packages/14/56/92852a71e4422e0e1784460e5b3e396488266604299052861d1ae08c9ae1/homeassistant-0.96.5-py3-none-any.whl
Collecting importlib-metadata==0.18 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/bd/23/dce4879ec58acf3959580bfe769926ed8198727250c5e395e6785c764a02/importlib_metadata-0.18-py2.py3-none-any.whl
Collecting PyJWT==1.7.1 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl
Collecting bcrypt==3.1.7 (from homeassistant)
  Using cached https://www.piwheels.org/simple/bcrypt/bcrypt-3.1.7-cp37-cp37m-linux_armv7l.whl
Requirement already satisfied, skipping upgrade: pip>=8.0.3 in /srv/homeassistant/lib/python3.7/site-packages (from homeassistant) (19.2.1)
Collecting python-slugify==3.0.2 (from homeassistant)
  Using cached https://www.piwheels.org/simple/python-slugify/python_slugify-3.0.2-py2.py3-none-any.whl
Collecting async-timeout==3.0.1 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
Collecting certifi>=2019.6.16 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl
Collecting requests==2.22.0 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting pytz>=2019.01 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl
Collecting cryptography==2.7 (from homeassistant)
  Using cached https://www.piwheels.org/simple/cryptography/cryptography-2.7-cp37-cp37m-linux_armv7l.whl
Collecting attrs==19.1.0 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
Collecting aiohttp==3.5.4 (from homeassistant)
  Using cached https://www.piwheels.org/simple/aiohttp/aiohttp-3.5.4-cp37-cp37m-linux_armv7l.whl
Collecting jinja2>=2.10.1 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl
Collecting voluptuous==0.11.5 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/59/95/fa6218477c6999c9b7fdfab7c12c1bd4da2d5930f5eb2b232ec74eb344e7/voluptuous-0.11.5-py2.py3-none-any.whl
Collecting voluptuous-serialize==2.1.0 (from homeassistant)
  Using cached https://www.piwheels.org/simple/voluptuous-serialize/voluptuous_serialize-2.1.0-py3-none-any.whl
Collecting astral==1.10.1 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/ff/5d/261f49822b7f77c265197d46cdbaaaaf06f458734e9ac55a140dd75bdf29/astral-1.10.1-py2.py3-none-any.whl
Collecting ruamel.yaml==0.15.97 (from homeassistant)
  Using cached https://www.piwheels.org/simple/ruamel-yaml/ruamel.yaml-0.15.97-cp37-cp37m-linux_armv7l.whl
Collecting pyyaml==5.1.1 (from homeassistant)
  Using cached https://www.piwheels.org/simple/pyyaml/PyYAML-5.1.1-cp37-cp37m-linux_armv7l.whl
Collecting zipp>=0.5 (from importlib-metadata==0.18->homeassistant)
  Using cached https://files.pythonhosted.org/packages/da/bd/1a5fdf15aa44231fd09f63ecf175b60f057ae37ec65b343bb009364923f3/zipp-0.5.2-py2.py3-none-any.whl
Collecting six>=1.4.1 (from bcrypt==3.1.7->homeassistant)
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting cffi>=1.1 (from bcrypt==3.1.7->homeassistant)
  Using cached https://www.piwheels.org/simple/cffi/cffi-1.12.3-cp37-cp37m-linux_armv7l.whl
Collecting text-unidecode==1.2 (from python-slugify==3.0.2->homeassistant)
  Using cached https://files.pythonhosted.org/packages/79/42/d717cc2b4520fb09e45b344b1b0b4e81aa672001dd128c180fabc655c341/text_unidecode-1.2-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests==2.22.0->homeassistant)
  Using cached https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests==2.22.0->homeassistant)
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests==2.22.0->homeassistant)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography==2.7->homeassistant)
  Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting yarl<2.0,>=1.0 (from aiohttp==3.5.4->homeassistant)
  Using cached https://www.piwheels.org/simple/yarl/yarl-1.3.0-cp37-cp37m-linux_armv7l.whl
Collecting multidict<5.0,>=4.0 (from aiohttp==3.5.4->homeassistant)
  Using cached https://www.piwheels.org/simple/multidict/multidict-4.5.2-cp37-cp37m-linux_armv7l.whl
Collecting MarkupSafe>=0.23 (from jinja2>=2.10.1->homeassistant)
  Using cached https://www.piwheels.org/simple/markupsafe/MarkupSafe-1.1.1-cp37-cp37m-linux_armv7l.whl
Collecting pycparser (from cffi>=1.1->bcrypt==3.1.7->homeassistant)
  Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.19-py2.py3-none-any.whl
Installing collected packages: zipp, importlib-metadata, PyJWT, six, pycparser, cffi, bcrypt, text-unidecode, python-slugify, async-timeout, certifi, urllib3, idna, chardet, requests, pytz, asn1crypto, cryptography, attrs, multidict, yarl, aiohttp, MarkupSafe, jinja2, voluptuous, voluptuous-serialize, astral, ruamel.yaml, pyyaml, homeassistant
Successfully installed MarkupSafe-1.1.1 PyJWT-1.7.1 aiohttp-3.5.4 asn1crypto-0.24.0 astral-1.10.1 async-timeout-3.0.1 attrs-19.1.0 bcrypt-3.1.7 certifi-2019.6.16 cffi-1.12.3 chardet-3.0.4 cryptography-2.7 homeassistant-0.96.5 idna-2.8 importlib-metadata-0.18 jinja2-2.10.1 multidict-4.5.2 pycparser-2.19 python-slugify-3.0.2 pytz-2019.1 pyyaml-5.1.1 requests-2.22.0 ruamel.yaml-0.15.97 six-1.12.0 text-unidecode-1.2 urllib3-1.25.3 voluptuous-0.11.5 voluptuous-serialize-2.1.0 yarl-1.3.0 zipp-0.5.2
Deactivating virtualenv...
Starting Home Assistant.
Checking the installation...


Operation failed...

Reverting...
mv: cannot stat '/srv/homeassistant_': No such file or directory
If you have issues with this script, please say something in the #hassbian channel on Discord.
/opt/hassbian/helpers/suite/action: line 100: /srv/homeassistant/hassbian/control/python: No such file or directory

I was able to recover by manually resinstalling the menv for homeassistant following the steps in https://www.home-assistant.io/docs/installation/raspberry-pi/

However, I would like to understand how I got into this state.

I had exactly the same issue 2 days ago. I built a new Hassbian SD and followed the Install Hassbian guide. Got everything working. My last action was to update Python and the above issue happened and trashed my system. Started again from scratch and didn’t update this time. Was going to post later. No need now as my issue was exactly as this post by Oscar

Today, I try to do this:

pi@hassbian:~ $ sudo hassbian-config upgrade python
Generating system information...

  Home Assistant:        0.96.5
  Home Assistant Python: 3.7.3
  hassbian-config:       0.13.1

  Linux hassbian 4.19.58-v7+ #1245 SMP Fri Jul 12 17:25:51 BST 2019 armv7l GNU/Linux


Suite:     Python
Installed: false
Contributed to the project by Ludeeus <https://github.com/ludeeus>
Upgrades python3 and virtual environment to the newest stable version.

Checking current python version...
Stopping Home Assistant....
Backing up previous virutal enviorment....
Creating new virutal environment using Python 3.7.4...
Copying hassbian from the old venv to the new...
cp: cannot stat '/srv/homeassistant_3.7.3/hassbian': No such file or directory
mkdir: cannot create directory ‘mkdir’: File exists
Setting permissions...
Reinstalling Home Assistant...
Updating apt...

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Ign:3 https://gitlab.com/hassbian/repository/raw/master buster InRelease
Get:4 https://gitlab.com/hassbian/repository/raw/master buster Release [3,110 B]
Ign:5 https://gitlab.com/hassbian/repository/raw/master buster Release.gpg
Get:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Fetched 13.0 MB in 12s (1,095 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Installing packages...

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
python3-dev is already the newest version (3.7.3-1).
python3-pip is already the newest version (18.1-5+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: virtualenv in /usr/local/lib/python3.7/site-packages (16.7.2)
You are using pip version 19.0.3, however version 19.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Changing to homeassistant user...
Changing to Home Assistant venv...
Updating Python dependencies...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pip
  Downloading https://files.pythonhosted.org/packages/62/ca/94d32a6516ed197a491d17d46595ce58a83cbb2fca280414e57cd86b84dc/pip-19.2.1-py2.py3-none-any.whl (1.4MB)
Installing collected packages: pip
  Found existing installation: pip 19.0.3
    Uninstalling pip-19.0.3:
      Successfully uninstalled pip-19.0.3
Successfully installed pip-19.2.1
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting setuptools
  Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB)
Installing collected packages: setuptools
  Found existing installation: setuptools 40.8.0
    Uninstalling setuptools-40.8.0:
      Successfully uninstalled setuptools-40.8.0
Successfully installed setuptools-41.0.1
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting wheel
  Downloading https://files.pythonhosted.org/packages/bb/10/44230dd6bf3563b8f227dbf344c908d412ad2ff48066476672f3a72e174e/wheel-0.33.4-py2.py3-none-any.whl
Installing collected packages: wheel
Successfully installed wheel-0.33.4
Installing Python packages...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting homeassistant
  Using cached https://files.pythonhosted.org/packages/14/56/92852a71e4422e0e1784460e5b3e396488266604299052861d1ae08c9ae1/homeassistant-0.96.5-py3-none-any.whl
Collecting voluptuous-serialize==2.1.0 (from homeassistant)
  Using cached https://www.piwheels.org/simple/voluptuous-serialize/voluptuous_serialize-2.1.0-py3-none-any.whl
Collecting bcrypt==3.1.7 (from homeassistant)
  Using cached https://www.piwheels.org/simple/bcrypt/bcrypt-3.1.7-cp37-cp37m-linux_armv7l.whl
Requirement already satisfied, skipping upgrade: pip>=8.0.3 in /srv/homeassistant/lib/python3.7/site-packages (from homeassistant) (19.2.1)
Collecting PyJWT==1.7.1 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl
Collecting pyyaml==5.1.1 (from homeassistant)
  Using cached https://www.piwheels.org/simple/pyyaml/PyYAML-5.1.1-cp37-cp37m-linux_armv7l.whl
Collecting voluptuous==0.11.5 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/59/95/fa6218477c6999c9b7fdfab7c12c1bd4da2d5930f5eb2b232ec74eb344e7/voluptuous-0.11.5-py2.py3-none-any.whl
Collecting python-slugify==3.0.2 (from homeassistant)
  Using cached https://www.piwheels.org/simple/python-slugify/python_slugify-3.0.2-py2.py3-none-any.whl
Collecting certifi>=2019.6.16 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl
Collecting pytz>=2019.01 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl
Collecting requests==2.22.0 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting async-timeout==3.0.1 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
Collecting attrs==19.1.0 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
Collecting aiohttp==3.5.4 (from homeassistant)
  Using cached https://www.piwheels.org/simple/aiohttp/aiohttp-3.5.4-cp37-cp37m-linux_armv7l.whl
Collecting jinja2>=2.10.1 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl
Collecting cryptography==2.7 (from homeassistant)
  Using cached https://www.piwheels.org/simple/cryptography/cryptography-2.7-cp37-cp37m-linux_armv7l.whl
Collecting importlib-metadata==0.18 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/bd/23/dce4879ec58acf3959580bfe769926ed8198727250c5e395e6785c764a02/importlib_metadata-0.18-py2.py3-none-any.whl
Collecting ruamel.yaml==0.15.97 (from homeassistant)
  Using cached https://www.piwheels.org/simple/ruamel-yaml/ruamel.yaml-0.15.97-cp37-cp37m-linux_armv7l.whl
Collecting astral==1.10.1 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/ff/5d/261f49822b7f77c265197d46cdbaaaaf06f458734e9ac55a140dd75bdf29/astral-1.10.1-py2.py3-none-any.whl
Collecting six>=1.4.1 (from bcrypt==3.1.7->homeassistant)
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting cffi>=1.1 (from bcrypt==3.1.7->homeassistant)
  Using cached https://www.piwheels.org/simple/cffi/cffi-1.12.3-cp37-cp37m-linux_armv7l.whl
Collecting text-unidecode==1.2 (from python-slugify==3.0.2->homeassistant)
  Using cached https://files.pythonhosted.org/packages/79/42/d717cc2b4520fb09e45b344b1b0b4e81aa672001dd128c180fabc655c341/text_unidecode-1.2-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests==2.22.0->homeassistant)
  Using cached https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests==2.22.0->homeassistant)
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests==2.22.0->homeassistant)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting yarl<2.0,>=1.0 (from aiohttp==3.5.4->homeassistant)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/yarl/
  Using cached https://www.piwheels.org/simple/yarl/yarl-1.3.0-cp37-cp37m-linux_armv7l.whl
Collecting multidict<5.0,>=4.0 (from aiohttp==3.5.4->homeassistant)
  Using cached https://www.piwheels.org/simple/multidict/multidict-4.5.2-cp37-cp37m-linux_armv7l.whl
Collecting MarkupSafe>=0.23 (from jinja2>=2.10.1->homeassistant)
  Using cached https://www.piwheels.org/simple/markupsafe/MarkupSafe-1.1.1-cp37-cp37m-linux_armv7l.whl
Collecting asn1crypto>=0.21.0 (from cryptography==2.7->homeassistant)
  Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting zipp>=0.5 (from importlib-metadata==0.18->homeassistant)
  Using cached https://files.pythonhosted.org/packages/da/bd/1a5fdf15aa44231fd09f63ecf175b60f057ae37ec65b343bb009364923f3/zipp-0.5.2-py2.py3-none-any.whl
  Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.19-py2.py3-none-any.whl
Installing collected packages: voluptuous, voluptuous-serialize, six, pycparser, cffi, bcrypt, PyJWT, pyyaml, text-unidecode, python-slugify, certifi, pytz, urllib3, idna, chardet, requests, async-timeout, attrs, multidict, yarl, aiohttp, MarkupSafe, jinja2, asn1crypto, cryptography, zipp, importlib-metadata, ruamel.yaml, astral, homeassistant
Successfully installed MarkupSafe-1.1.1 PyJWT-1.7.1 aiohttp-3.5.4 asn1crypto-0.24.0 astral-1.10.1 async-timeout-3.0.1 attrs-19.1.0 bcrypt-3.1.7 certifi-2019.6.16 cffi-1.12.3 chardet-3.0.4 cryptography-2.7 homeassistant-0.96.5 idna-2.8 importlib-metadata-0.18 jinja2-2.10.1 multidict-4.5.2 pycparser-2.19 python-slugify-3.0.2 pytz-2019.1 pyyaml-5.1.1 requests-2.22.0 ruamel.yaml-0.15.97 six-1.12.0 text-unidecode-1.2 urllib3-1.25.3 voluptuous-0.11.5 voluptuous-serialize-2.1.0 yarl-1.3.0 zipp-0.5.2
Deactivating virtualenv...
Starting Home Assistant.
Checking the installation...

Operation failed...

Reverting...
mv: cannot stat '/srv/homeassistant_3.7.3': No such file or directory
If you have issues with this script, please say something in the #hassbian channel on Discord.
/opt/hassbian/helpers/suite/action: line 100: /srv/homeassistant/hassbian/control/python: No such file or directory
pi@hassbian:~ $ halog
-- Logs begin at Sat 2019-07-27 20:00:56 PDT. --
Jul 28 20:10:05 hassbian systemd[1]: Started Home Assistant for homeassistant.
Jul 28 20:10:06 hassbian systemd[1]: Stopping Home Assistant for homeassistant...
Jul 28 20:10:06 hassbian systemd[1]: [email protected]: Main process exited, code=killed, status=15/TERM
Jul 28 20:10:06 hassbian systemd[1]: [email protected]: Succeeded.
Jul 28 20:10:06 hassbian systemd[1]: Stopped Home Assistant for homeassistant.
Jul 28 20:10:07 hassbian systemd[1]: Started Home Assistant for homeassistant.
Jul 28 20:10:07 hassbian systemd[26866]: [email protected]: Failed to execute command: No such file or directory
Jul 28 20:10:07 hassbian systemd[26866]: [email protected]: Failed at step EXEC spawning /srv/homeassistant/bin/hass: No such file or directory
Jul 28 20:10:07 hassbian systemd[1]: [email protected]: Main process exited, code=exited, status=203/EXEC
Jul 28 20:10:07 hassbian systemd[1]: [email protected]: Failed with result 'exit-code'.
^C
pi@hassbian:~ $ cd /src
-bash: cd: /src: No such file or directory
pi@hassbian:~ $ cd /srv
pi@hassbian:/srv $ ls -l
total 0