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
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:
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 :-)
Most helpful comment
When upgrading, add
--no-cache-dirto your pip command to make sure that you don't use the local cache with the bad wheel.