Hi
I have made a clean install of home-assistant 108.2 and I have now run into some trouble.
1 cant create an account/user in onboarding.html (startup screen)
2 after reboot on my mac i get 404:not found
I have read similar posts but non have a clean install they are all about updates
UPDATE: 1 It is no longer possible to have the username: admin
2 Made a new install with 0.108.5 That didn’t solve the 404 problem
I now have the same problem as those who updated from another version
Changed to version 0.107.7 now everything is working
30.4 Tried to update to 109.0 getting the following errors:
The following integrations and platforms could not be set up:
Please check your config.
back on 107.7. will make a new post
Hard/Software + log files
Mac mini 2014: MacOS 10.15.4 / Safari 13.1 + Crome 80.0.3987.163
Dell 640m 2006: linux 18.04 /Firefox 75.0 64bit
my dell is my server with home-assistant and my mac is my daly acces computer
Log:
Crom on mac debug:
Before restart after install:
onboarding-create-user.ts:187
{error: "Response error: 500", status_code: 500, body:
"500 Internal Server Error↵↵Server got itself in trouble"}
error: "Response error: 500"
status_code: 500
body: "500 Internal Server Error↵↵Server got itself in trouble"
__proto__:
constructor: ƒ Object()
__defineGetter__: ƒ __defineGetter__()
__defineSetter__: ƒ __defineSetter__()
hasOwnProperty: ƒ hasOwnProperty()
__lookupGetter__: ƒ __lookupGetter__()
__lookupSetter__: ƒ __lookupSetter__()
isPrototypeOf: ƒ isPrototypeOf()
propertyIsEnumerable: ƒ propertyIsEnumerable()
toString: ƒ toString()
valueOf: ƒ valueOf()
toLocaleString: ƒ toLocaleString()
get __proto__: ƒ __proto__()
set __proto__: ƒ __proto__()
After restart:
onboarding-create-user.ts:187
error: "Response error: 404"
status_code: 404
body: "404: Not Found"
__proto__: Object
UPDATE:
I found docker container homeassistant log. Looks like a lot of aiohttp errors, how do I fix theese errors?
Fetch the logs of a container
root@PetersServer:~# sudo docker logs homeassistant
[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] udev.sh: executing…
[01:37:56] INFO: Update udev information
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Unable to find configuration. Creating default one in /config
2020-04-14 01:38:04 INFO (MainThread) [homeassistant.bootstrap] Config directory: /config
2020-04-14 01:38:04 INFO (SyncWorker_2) [homeassistant.loader] Loaded homeassistant from homeassistant.components.homeassistant
2020-04-14 01:38:04 INFO (SyncWorker_4) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
2020-04-14 01:38:04 INFO (MainThread) [homeassistant.setup] Setting up homeassistant
2020-04-14 01:38:04 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant took 0.0 seconds.
2020-04-14 01:38:04 INFO (MainThread) [homeassistant.setup] Setting up persistent_notification
2020-04-14 01:38:04 INFO (MainThread) [homeassistant.setup] Setup of domain persistent_notification took 0.0 seconds.
2020-04-14 01:38:04 INFO (SyncWorker_1) [homeassistant.loader] Loaded group from homeassistant.components.group
2020-04-14 01:38:04 INFO (SyncWorker_9) [homeassistant.loader] Loaded scene from homeassistant.components.scene
2020-04-14 01:38:04 INFO (SyncWorker_0) [homeassistant.loader] Loaded automation from homeassistant.components.automation
2020-04-14 01:38:04 INFO (SyncWorker_4) [homeassistant.loader] Loaded script from homeassistant.components.script
2020-04-14 01:38:04 INFO (SyncWorker_7) [homeassistant.loader] Loaded default_config from homeassistant.components.default_config
2020-04-14 01:38:04 INFO (SyncWorker_5) [homeassistant.loader] Loaded hassio from homeassistant.components.hassio
2020-04-14 01:38:04 INFO (SyncWorker_3) [homeassistant.loader] Loaded tts from homeassistant.components.tts
2020-04-14 01:38:04 INFO (SyncWorker_2) [homeassistant.loader] Loaded http from homeassistant.components.http
2020-04-14 01:38:04 INFO (SyncWorker_8) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud
2020-04-14 01:38:04 INFO (SyncWorker_6) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook
2020-04-14 01:38:04 INFO (SyncWorker_9) [homeassistant.loader] Loaded alexa from homeassistant.components.alexa
2020-04-14 01:38:04 INFO (SyncWorker_7) [homeassistant.loader] Loaded config from homeassistant.components.config
2020-04-14 01:38:04 INFO (SyncWorker_7) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
2020-04-14 01:38:04 INFO (SyncWorker_3) [homeassistant.loader] Loaded api from homeassistant.components.api
2020-04-14 01:38:04 INFO (SyncWorker_8) [homeassistant.loader] Loaded auth from homeassistant.components.auth
2020-04-14 01:38:04 INFO (SyncWorker_6) [homeassistant.loader] Loaded device_automation from homeassistant.components.device_automation
2020-04-14 01:38:04 INFO (SyncWorker_9) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace
2020-04-14 01:38:04 INFO (SyncWorker_1) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding
2020-04-14 01:38:04 INFO (SyncWorker_2) [homeassistant.loader] Loaded person from homeassistant.components.person
2020-04-14 01:38:04 INFO (SyncWorker_0) [homeassistant.loader] Loaded search from homeassistant.components.search
2020-04-14 01:38:04 INFO (SyncWorker_4) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
2020-04-14 01:38:04 INFO (SyncWorker_5) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
2020-04-14 01:38:04 INFO (SyncWorker_7) [homeassistant.loader] Loaded history from homeassistant.components.history
2020-04-14 01:38:04 INFO (SyncWorker_3) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder
2020-04-14 01:38:04 INFO (SyncWorker_3) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook
2020-04-14 01:38:04 INFO (SyncWorker_0) [homeassistant.loader] Loaded map from homeassistant.components.map
2020-04-14 01:38:04 INFO (SyncWorker_4) [homeassistant.loader] Loaded mobile_app from homeassistant.components.mobile_app
2020-04-14 01:38:04 INFO (SyncWorker_4) [homeassistant.loader] Loaded ssdp from homeassistant.components.ssdp
2020-04-14 01:38:04 INFO (SyncWorker_1) [homeassistant.loader] Loaded sun from homeassistant.components.sun
2020-04-14 01:38:04 INFO (SyncWorker_2) [homeassistant.loader] Loaded system_health from homeassistant.components.system_health
2020-04-14 01:38:04 INFO (SyncWorker_3) [homeassistant.loader] Loaded updater from homeassistant.components.updater
2020-04-14 01:38:04 INFO (SyncWorker_3) [homeassistant.loader] Loaded zeroconf from homeassistant.components.zeroconf
2020-04-14 01:38:04 INFO (SyncWorker_9) [homeassistant.loader] Loaded zone from homeassistant.components.zone
2020-04-14 01:38:04 INFO (SyncWorker_4) [homeassistant.loader] Loaded input_boolean from homeassistant.components.input_boolean
2020-04-14 01:38:04 INFO (SyncWorker_1) [homeassistant.loader] Loaded input_datetime from homeassistant.components.input_datetime
2020-04-14 01:38:04 INFO (SyncWorker_1) [homeassistant.loader] Loaded input_text from homeassistant.components.input_text
2020-04-14 01:38:04 INFO (SyncWorker_6) [homeassistant.loader] Loaded input_number from homeassistant.components.input_number
2020-04-14 01:38:04 INFO (SyncWorker_3) [homeassistant.loader] Loaded input_select from homeassistant.components.input_select
2020-04-14 01:38:04 INFO (MainThread) [homeassistant.bootstrap] Setting up {‘system_log’}
2020-04-14 01:38:04 INFO (MainThread) [homeassistant.setup] Setting up http
2020-04-14 01:38:04 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2020-04-14 01:38:04 INFO (MainThread) [homeassistant.setup] Setting up system_log
2020-04-14 01:38:04 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds.
2020-04-14 01:38:05 INFO (MainThread) [homeassistant.setup] Setting up recorder
2020-04-14 01:38:05 INFO (MainThread) [homeassistant.setup] Setting up webhook
2020-04-14 01:38:05 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds.
2020-04-14 01:38:05 INFO (MainThread) [homeassistant.setup] Setting up alexa
2020-04-14 01:38:05 INFO (MainThread) [homeassistant.setup] Setup of domain alexa took 0.0 seconds.
2020-04-14 01:38:05 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.5 seconds.
2020-04-14 01:38:05 INFO (SyncWorker_6) [homeassistant.loader] Loaded camera from homeassistant.components.camera
2020-04-14 01:38:05 INFO (SyncWorker_0) [homeassistant.loader] Loaded google_assistant from homeassistant.components.google_assistant
2020-04-14 01:38:05 INFO (SyncWorker_3) [homeassistant.loader] Loaded homekit from homeassistant.components.homekit
2020-04-14 01:38:05 INFO (SyncWorker_8) [homeassistant.loader] Loaded device_tracker from homeassistant.components.device_tracker
2020-04-14 01:38:05 INFO (SyncWorker_7) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setting up cloud
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.1 seconds.
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setting up input_boolean
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setting up input_select
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setting up sun
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.1 seconds.
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setting up group
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.0 seconds.
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setting up updater
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setting up input_text
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setting up zone
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setting up input_datetime
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setting up script
2020-04-14 01:38:07 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up scene
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up ssdp
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.0 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up input_number
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up person
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up automation
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.0 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up history
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up config
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up system_health
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.0 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up api
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.1 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up auth
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 0.4 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain input_select took 0.4 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain input_text took 0.3 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain input_datetime took 0.3 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.2 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain input_number took 0.1 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.1 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.1 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain person took 0.1 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up search
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain search took 0.0 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.3 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.1 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.2 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up mobile_app
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up frontend
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain mobile_app took 0.0 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up map
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.0 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up logbook
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2020-04-14 01:38:08 INFO (SyncWorker_7) [homeassistant.loader] Loaded notify from homeassistant.components.notify
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setting up notify
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.0 seconds.
2020-04-14 01:38:08 INFO (MainThread) [homeassistant.components.notify] Setting up notify.mobile_app
2020-04-14 01:38:08 INFO (SyncWorker_1) [homeassistant.loader] Loaded esphome from homeassistant.components.esphome
2020-04-14 01:38:08 INFO (SyncWorker_4) [homeassistant.loader] Loaded cast from homeassistant.components.cast
2020-04-14 01:38:09 INFO (MainThread) [homeassistant.components.updater] Submitted analytics to Home Assistant servers. Information submitted includes {}
2020-04-14 01:38:09 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 1.3 seconds.
2020-04-14 01:38:09 INFO (SyncWorker_6) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor
2020-04-14 01:38:09 INFO (MainThread) [homeassistant.setup] Setting up default_config
2020-04-14 01:38:09 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2020-04-14 01:38:09 INFO (SyncWorker_3) [homeassistant.loader] Loaded stream from homeassistant.components.stream
2020-04-14 01:38:09 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds.
2020-04-14 01:38:09 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.updater
2020-04-14 01:38:09 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new binary_sensor.updater entity: binary_sensor.updater
2020-04-14 01:38:09 INFO (MainThread) [homeassistant.setup] Setting up stream
2020-04-14 01:38:09 INFO (MainThread) [homeassistant.setup] Setup of domain stream took 0.0 seconds.
2020-04-14 01:38:09 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.3 seconds.
2020-04-14 01:38:09 INFO (MainThread) [homeassistant.setup] Setting up hassio
2020-04-14 01:38:10 INFO (SyncWorker_7) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
2020-04-14 01:38:10 INFO (MainThread) [homeassistant.setup] Setting up tts
2020-04-14 01:38:10 INFO (SyncWorker_1) [homeassistant.components.tts] Create cache dir /config/tts
2020-04-14 01:38:10 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.0 seconds.
2020-04-14 01:38:10 INFO (MainThread) [homeassistant.setup] Setup of domain hassio took 0.1 seconds.
2020-04-14 01:38:10 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 5.56s
2020-04-14 01:38:10 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2020-04-14 01:38:10 INFO (MainThread) [homeassistant.core] Timer:starting
2020-04-14 01:38:10 INFO (SyncWorker_7) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
2020-04-14 01:38:58 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new person.person entity: person.
2020-04-14 01:38:58 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
2020-04-14 01:43:15 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/real_ip.py”, line 39, in real_ip_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/ban.py”, line 72, in ban_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/auth.py”, line 127, in auth_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/view.py”, line 123, in handle
result = await result
File “/usr/src/homeassistant/homeassistant/components/http/data_validator.py”, line 50, in wrapper
result = await method(view, request, *args, **kwargs)
File “/usr/src/homeassistant/homeassistant/components/onboarding/views.py”, line 105, in post
provider.data.add_auth, data[“username”], data[“password”]
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/auth/providers/homeassistant.py”, line 157, in add_auth
raise InvalidUser
homeassistant.auth.providers.homeassistant.InvalidUser