Home Assistant release with the issue:
0.73.0 beta 0
Last working Home Assistant release (if known):
0.72.1
Operating environment (Hass.io/Docker/Windows/etc.):
hassio on top of docker on an ubuntu install
Component/platform:
Description of problem:
Via the web interface this morning, I saw the new beta and hit 'upgrade'. Since, the homeassistant container won't start.
The docker logs show a single line every time the homeassistant container is attempted to be started:
/usr/bin/python3: No module named homeassistant
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Traceback (if applicable):
Additional information:
I noticed the same issue with the raspberrypi3-homeassistant image. docker logs simply show this (repeated for each attempted restart of the container)
starting version 3.2.4
/usr/bin/python3: No module named homeassistant
I use the "latest" tag, which appears to include beta. I've reverted to the previous build, watchtower automatically updated the image on me. Just providing information here.
Same issue with Hass.io on raspberrypi3. After upgrade to 0.73 and several warm and cold restarts I can't reach the webinterface anymore. Samba drive and config is still there. But also no fresh logs anymore, so it seems HA didn't start, at least didn't write anything in the .HA_VERSION, home-assistant.log or home-assistant_v2.db.
Same here in Raspberry pi 3B+ on Hassos RC. Any way to go back to 0.72 with CLI?
Same here on a intel-nuc. on Hassio docker.
In docker you could revert by specifying the version tag and making sure nothing auto updates the image.
Thanks,
Joel Slowik
joel.[email protected]
+12036467360
On Jun 30, 2018, at 15:20, Chris Hardt notifications@github.com wrote:
Same here in Raspberry pi 3B+ on Hassos RC. Any way to go back to 0.72 with CLI?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
Same issue here on an Odroid HC1 (Armbian) using homeassistant/armhf-homeassistant installed from docker hub.
Using the 0.71.2 tag works fine still.
Same here!
@joelslowik how would you do that say for version 0.72.2? With a docker image?
Same problem here as reported above with watchtower updating HA with the latest tagged image, this broke my automation system as I was away from home and didn't discover until this morning.
I have re-tagged my image with 0.72.1 so watchtower will no ignore for now.
I think one solution would be to tag only the released version with latest and by all means tag a beta version with beta. This I believe would help to avoid breaking those systems with auto updates.
I can confirm the same issue happens on a HassOS install on a raspberry pi 2. No dashboard/webinterface but addon's like configurator can still be accessed when going directly to the ip:port.
Same issue here. Running latest tag (auto updated by Watchtower).
Reverting for now...
@erfind
docker pull homeassistant/home-assistant:0.72.1
docker rm -f home-assistant
docker run --rm -d --name="home-assistant" -v /path/to/homeassistant/config:/config
-v /etc/localtime:/etc/localtime:ro --device /dev/ttyACM0:/dev/ttyACM0 --net=host
homeassistant/home-assistant
You will have to adapt it to your own config paths and maybe add more devices to it.
Maybe adding a separate beta channel would solve this problem in the future. So latest would only download the latest stable version.
Looks like the docker image build 0.73.0b0 is broken because of python dependencies compatibility issues: https://hub.docker.com/r/homeassistant/home-assistant/builds/bbc3as4pzwsxwcwkct8aler/
Edit: hmm, those messages were already in 0.72.1 https://hub.docker.com/r/homeassistant/home-assistant/builds/ba2qrbcy3hgru9cpvtzajqw/
Also, I could not find the build details of the homeassistant/qemux86-64-homeassistant images that I use https://hub.docker.com/r/homeassistant/qemux86-64-homeassistant/
The /usr/src/app directory is correct in both generic images:
0.72.1 :
root@hassio:/home/ha# docker run -ti homeassistant/home-assistant:0.72.1 ls -l /usr/src/app
total 128
-rw-r--r-- 1 root root 1718 Jun 25 23:58 CLA.md
-rw-r--r-- 1 root root 5992 Jun 25 23:58 CODEOWNERS
-rw-r--r-- 1 root root 3439 Jun 25 23:58 CODE_OF_CONDUCT.md
-rw-r--r-- 1 root root 1113 Jun 25 23:58 CONTRIBUTING.md
-rw-r--r-- 1 root root 1093 Jun 25 23:58 Dockerfile
-rw-r--r-- 1 root root 10480 Jun 25 23:58 LICENSE.md
-rw-r--r-- 1 root root 87 Jun 25 23:58 MANIFEST.in
-rw-r--r-- 1 root root 2106 Jun 25 23:58 README.rst
drwxr-xr-x 4 root root 4096 Jun 25 23:58 docs
drwxr-xr-x 7 root root 4096 Jun 25 23:58 homeassistant
-rw-r--r-- 1 root root 1379 Jun 25 23:58 pylintrc
-rw-r--r-- 1 root root 32038 Jun 25 23:58 requirements_all.txt
-rw-r--r-- 1 root root 83 Jun 25 23:58 requirements_docs.txt
-rw-r--r-- 1 root root 401 Jun 25 23:58 requirements_test.txt
-rw-r--r-- 1 root root 4871 Jun 25 23:58 requirements_test_all.txt
drwxr-xr-x 2 root root 4096 Jun 25 23:58 script
-rw-r--r-- 1 root root 680 Jun 25 23:58 setup.cfg
-rwxr-xr-x 1 root root 2697 Jun 25 23:58 setup.py
drwxr-xr-x 12 root root 4096 Jun 25 23:58 tests
-rw-r--r-- 1 root root 1401 Jun 25 23:58 tox.ini
drwxr-xr-x 1 root root 4096 Jun 25 23:58 virtualization
0.73.0b0 :
root@hassio:~# docker run -it homeassistant/home-assistant:0.73.0b0 ls -l /usr/src/app
total 128
-rw-r--r-- 1 root root 1718 Jun 29 23:40 CLA.md
-rw-r--r-- 1 root root 5992 Jun 29 23:40 CODEOWNERS
-rw-r--r-- 1 root root 3439 Jun 29 23:40 CODE_OF_CONDUCT.md
-rw-r--r-- 1 root root 1113 Jun 29 23:40 CONTRIBUTING.md
-rw-r--r-- 1 root root 1093 Jun 29 23:40 Dockerfile
-rw-r--r-- 1 root root 10480 Jun 29 23:40 LICENSE.md
-rw-r--r-- 1 root root 87 Jun 29 23:40 MANIFEST.in
-rw-r--r-- 1 root root 2106 Jun 29 23:40 README.rst
drwxr-xr-x 4 root root 4096 Jun 29 23:40 docs
drwxr-xr-x 7 root root 4096 Jun 29 23:40 homeassistant
-rw-r--r-- 1 root root 1397 Jun 29 23:40 pylintrc
-rw-r--r-- 1 root root 31634 Jun 29 23:40 requirements_all.txt
-rw-r--r-- 1 root root 83 Jun 29 23:40 requirements_docs.txt
-rw-r--r-- 1 root root 401 Jun 29 23:40 requirements_test.txt
-rw-r--r-- 1 root root 4871 Jun 29 23:40 requirements_test_all.txt
drwxr-xr-x 2 root root 4096 Jun 29 23:40 script
-rw-r--r-- 1 root root 1457 Jun 29 23:40 setup.cfg
-rwxr-xr-x 1 root root 1763 Jun 29 23:40 setup.py
drwxr-xr-x 12 root root 4096 Jun 29 23:40 tests
-rw-r--r-- 1 root root 1401 Jun 29 23:40 tox.ini
drwxr-xr-x 1 root root 4096 Jun 29 23:40 virtualization
But /usr/lib/python3.6/site-packages/homeassistant is missing from 0.73.0b0:
0.72.1 :
root@hassio:/home/ha# docker run homeassistant/qemux86-64-homeassistant:0.72.1 ls -l /usr/lib/python3.6/site-packages/homeassistant
starting version 3.2.4
total 224
-rw-r--r-- 1 root root 36 Jun 25 21:26 __init__.py
-rw-r--r-- 1 root root 11779 Jun 25 21:26 __main__.py
drwxr-xr-x 2 root root 4096 Jun 25 23:15 __pycache__
-rw-r--r-- 1 root root 15786 Jun 25 21:26 auth.py
drwxr-xr-x 3 root root 4096 Jun 25 23:15 auth_providers
-rw-r--r-- 1 root root 11488 Jun 25 21:26 bootstrap.py
drwxr-xr-x 61 root root 12288 Jun 25 23:15 components
-rw-r--r-- 1 root root 25633 Jun 25 21:26 config.py
-rw-r--r-- 1 root root 14479 Jun 25 21:26 config_entries.py
-rw-r--r-- 1 root root 11969 Jun 25 21:26 const.py
-rw-r--r-- 1 root root 37632 Jun 25 21:26 core.py
-rw-r--r-- 1 root root 4984 Jun 25 21:26 data_entry_flow.py
-rw-r--r-- 1 root root 908 Jun 25 21:26 exceptions.py
drwxr-xr-x 3 root root 4096 Jun 25 23:15 helpers
-rw-r--r-- 1 root root 7460 Jun 25 21:26 loader.py
-rw-r--r-- 1 root root 2246 Jun 25 21:26 monkey_patch.py
-rw-r--r-- 1 root root 380 Jun 25 21:26 package_constraints.txt
-rw-r--r-- 1 root root 8927 Jun 25 21:26 remote.py
-rw-r--r-- 1 root root 1331 Jun 25 21:26 requirements.py
drwxr-xr-x 5 root root 4096 Jun 25 23:15 scripts
-rw-r--r-- 1 root root 7598 Jun 25 21:26 setup.py
drwxr-xr-x 3 root root 4096 Jun 25 23:15 util
0.73.0b0 :
root@hassio:/home/ha# docker run homeassistant/qemux86-64-homeassistant:0.73.0b0 ls -l /usr/lib/python3.6/site-packages/homeassistant
starting version 3.2.4
ls: /usr/lib/python3.6/site-packages/homeassistant: No such file or directory
I am currently rebuilding the image locally to test https://github.com/home-assistant/home-assistant/pull/15248 ...
Fix confirmed working.
Erfind,
I use watch tower for automatic docker updates. I ended up excluding home assistant to disable automatic image updates.
For managing my containers I use docker compose and just set the tag for the build that works i.e. homeassistant/raspberry-pi3:Tag Where tag is whatever build number.
This is off the top of my head so the image name is probably wrong but you get the idea.
On Jul 1, 2018, at 00:22, erfind notifications@github.com wrote:
@JoelSlowik how would you do that say for version 0.72.2? With a docker image?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.