Core: Broken update 0.73.2

Created on 16 Jul 2018  路  5Comments  路  Source: home-assistant/core

Jul 16 22:32:23 assistant hass[17772]:   File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/__main__.py", line 352, in main
Jul 16 22:32:23 assistant hass[17772]:     args = get_arguments()
Jul 16 22:32:23 assistant hass[17772]:   File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/__main__.py", line 85, in get_arguments
Jul 16 22:32:23 assistant hass[17772]:     import homeassistant.config as config_util
Jul 16 22:32:23 assistant hass[17772]:   File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/config.py", line 162, in <module>
Jul 16 22:32:23 assistant hass[17772]:     vol.All(cv.ensure_list, [auth.AUTH_PROVIDER_SCHEMA])
Jul 16 22:32:23 assistant hass[17772]: AttributeError: module 'homeassistant.auth' has no attribute 'AUTH_PROVIDER_SCHEMA'
Jul 16 22:32:23 assistant systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Jul 16 22:32:23 assistant systemd[1]: [email protected]: Unit entered failed state.
Jul 16 22:32:23 assistant systemd[1]: [email protected]: Failed with result 'exit-code'.

got this when i updated
and i have not defined the new auth in config
and if i enable the new one and try to get started
` $ hass --script auth --config /home/homeassistant/.homeassistant/configuration.yaml usage: hass [-h] [--script {auth}] [-c CONFIG] {list,add,validate,change_password} ... hass: error: the following arguments are required: func

Most helpful comment

When upgrading, add --no-cache-dir to your pip command to make sure that you don't use the local cache with the bad wheel.

All 5 comments

same here.
Update from 0.73.0 to 0.73.2.
Jul 16 22:54:39 metis systemd[1]: Started Home Assistant. Jul 16 22:54:40 metis hass[28903]: Traceback (most recent call last): Jul 16 22:54:40 metis hass[28903]: File "/home/homeassistant/homeassistant/bin/hass", line 11, in <module> Jul 16 22:54:40 metis hass[28903]: sys.exit(main()) Jul 16 22:54:40 metis hass[28903]: File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/__main__.py", line 352, in main Jul 16 22:54:40 metis hass[28903]: args = get_arguments() Jul 16 22:54:40 metis hass[28903]: File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/__main__.py", line 85, in get_arguments Jul 16 22:54:40 metis hass[28903]: import homeassistant.config as config_util Jul 16 22:54:40 metis hass[28903]: File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/config.py", line 162, in <module> Jul 16 22:54:40 metis hass[28903]: vol.All(cv.ensure_list, [auth.AUTH_PROVIDER_SCHEMA]) Jul 16 22:54:40 metis hass[28903]: AttributeError: module 'homeassistant.auth' has no attribute 'AUTH_PROVIDER_SCHEMA' Jul 16 22:54:40 metis systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE Jul 16 22:54:40 metis systemd[1]: [email protected]: Failed with result 'exit-code' .

Ugh, looks like the wheel of 0.73.2 accidentally included some files from the rc branch. I have deleted the wheel. Downgrade and upgrade again and it should install the tar.gz version which I have verified to be correct.

When upgrading, add --no-cache-dir to your pip command to make sure that you don't use the local cache with the bad wheel.

Jup, and we're back online :)

Thanks for the quick fix! 馃憤

Hello
After I upgraded my Raspberrypi 3B+ with Home Assistant (Hassbian) from 0.73.0 to version 0.73.2 I lost all my entities, automations and all my groups except the sun-icon on my frontend. I tried to upgrade to 0.74.0 bu no change. All the data is still in my configuration.yaml, automations.yaml, entity_registry.yaml, customize.yaml and groups.yaml. On my frontend it says:
Invalid config.
The following components and platforms could not be set up:

  • script
  • zha
  • group
  • automation
  • satel-integra
  • zwave
  • device-tracker
    Please check your config

Any idea why this happened, and what I can do to get them back on my frontend.
For now nothing works.

Best regards from a rookie :-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aweb-01 picture aweb-01  路  3Comments

arangates picture arangates  路  3Comments

TheZoker picture TheZoker  路  3Comments

kirichkov picture kirichkov  路  3Comments

coolriku picture coolriku  路  3Comments