Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken update 0.73.2 #15496

Closed
swetoast opened this issue Jul 16, 2018 · 5 comments
Closed

Broken update 0.73.2 #15496

swetoast opened this issue Jul 16, 2018 · 5 comments

Comments

@swetoast
Copy link
Contributor

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]: home-assistant@homeassistant.service: Main process exited, code=exited, status=1/FAILURE
Jul 16 22:32:23 assistant systemd[1]: home-assistant@homeassistant.service: Unit entered failed state.
Jul 16 22:32:23 assistant systemd[1]: home-assistant@homeassistant.service: 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
```
@bl0rp
Copy link

bl0rp commented Jul 16, 2018

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]: home-assistant@homeassistant.service: Main process exited, code=exited, status=1/FAILURE
Jul 16 22:54:40 metis systemd[1]: home-assistant@homeassistant.service: Failed with result 'exit-code'
```.

@balloob
Copy link
Member

balloob commented Jul 16, 2018

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.

@balloob balloob closed this as completed Jul 16, 2018
@balloob
Copy link
Member

balloob commented Jul 16, 2018

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.

@fliphess
Copy link
Contributor

Jup, and we're back online :)

Thanks for the quick fix! 👍

@torris63
Copy link

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 :-)

@home-assistant home-assistant locked as resolved and limited conversation to collaborators Jul 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants