home-assistant / supervised-installer

Installer for a generic Linux system
Apache License 2.0
1.72k stars 585 forks source link

Hashes don't match in haasbian release; "Unable to install package home-assistant-frontend" #37

Closed dannysauer closed 5 years ago

dannysauer commented 5 years ago

On a clean Hassbian install, the self-setup doesn't appear to work because of a hash mismatch. However, upon restarting the home-assistant@homeassistant service, everything seems just fine. This behavior leads me to suspect an installer issue, so I'm reporting that here - but feel free to tell me that I reported in the wrong place. :)

The full initial journalctl output is below. Sorry GitHub doesn't give me a way to make that collapsible. :/

pi@hassbian:~ $ sudo journalctl -u home-assistant@homeassistant.service --no-pager
-- Logs begin at Tue 2019-07-02 09:25:37 BST, end at Sat 2019-08-24 20:38:58 BST. --
Aug 24 20:22:38 hassbian systemd[1]: Started Home Assistant for homeassistant.
Aug 24 20:22:41 hassbian hass[1358]: 2019-08-24 20:22:41 INFO (SyncWorker_1) [homeassistant.util.package] Attempting install of pyotp==2.2.7
Aug 24 20:22:45 hassbian hass[1358]: 2019-08-24 20:22:45 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of PyQRCode==1.2.1
Aug 24 20:22:49 hassbian hass[1358]: 2019-08-24 20:22:49 INFO (SyncWorker_3) [homeassistant.loader] Loaded tts from homeassistant.components.tts
Aug 24 20:22:49 hassbian hass[1358]: 2019-08-24 20:22:49 INFO (SyncWorker_4) [homeassistant.loader] Loaded default_config from homeassistant.components.default_config
Aug 24 20:22:49 hassbian hass[1358]: 2019-08-24 20:22:49 INFO (SyncWorker_5) [homeassistant.loader] Loaded script from homeassistant.components.script
Aug 24 20:22:49 hassbian hass[1358]: 2019-08-24 20:22:49 INFO (SyncWorker_10) [homeassistant.loader] Loaded automation from homeassistant.components.automation
Aug 24 20:22:49 hassbian hass[1358]: 2019-08-24 20:22:49 INFO (SyncWorker_10) [homeassistant.loader] Loaded group from homeassistant.components.group
Aug 24 20:22:49 hassbian hass[1358]: 2019-08-24 20:22:49 INFO (SyncWorker_7) [homeassistant.loader] Loaded homeassistant from homeassistant.components.homeassistant
Aug 24 20:22:49 hassbian hass[1358]: 2019-08-24 20:22:49 INFO (SyncWorker_9) [homeassistant.loader] Loaded http from homeassistant.components.http
Aug 24 20:22:49 hassbian hass[1358]: 2019-08-24 20:22:49 INFO (SyncWorker_8) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (MainThread) [homeassistant.setup] Setting up homeassistant
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant took 0.0 seconds.
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_2) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (MainThread) [homeassistant.setup] Setting up persistent_notification
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (MainThread) [homeassistant.setup] Setup of domain persistent_notification took 0.0 seconds.
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_5) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_0) [homeassistant.loader] Loaded config from homeassistant.components.config
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_13) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_14) [homeassistant.loader] Loaded api from homeassistant.components.api
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_3) [homeassistant.loader] Loaded auth from homeassistant.components.auth
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_6) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_9) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_4) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_2) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_11) [homeassistant.loader] Loaded history from homeassistant.components.history
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_0) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_18) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_19) [homeassistant.loader] Loaded map from homeassistant.components.map
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_10) [homeassistant.loader] Loaded mobile_app from homeassistant.components.mobile_app
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_7) [homeassistant.loader] Loaded person from homeassistant.components.person
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_15) [homeassistant.loader] Loaded ssdp from homeassistant.components.ssdp
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_8) [homeassistant.loader] Loaded sun from homeassistant.components.sun
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_4) [homeassistant.loader] Loaded system_health from homeassistant.components.system_health
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_17) [homeassistant.loader] Loaded updater from homeassistant.components.updater
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_5) [homeassistant.loader] Loaded zeroconf from homeassistant.components.zeroconf
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (MainThread) [homeassistant.bootstrap] Setting up {'system_log'}
Aug 24 20:22:50 hassbian hass[1358]: 2019-08-24 20:22:50 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of aiohttp_cors==0.7.0
Aug 24 20:22:58 hassbian hass[1358]: 2019-08-24 20:22:58 INFO (MainThread) [homeassistant.setup] Setting up http
Aug 24 20:22:58 hassbian hass[1358]: 2019-08-24 20:22:58 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
Aug 24 20:22:58 hassbian hass[1358]: 2019-08-24 20:22:58 INFO (MainThread) [homeassistant.setup] Setting up system_log
Aug 24 20:22:58 hassbian hass[1358]: 2019-08-24 20:22:58 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds.
Aug 24 20:22:58 hassbian hass[1358]: 2019-08-24 20:22:58 INFO (SyncWorker_10) [homeassistant.util.package] Attempting install of sqlalchemy==1.3.5
Aug 24 20:23:08 hassbian hass[1358]: 2019-08-24 20:23:08 INFO (MainThread) [homeassistant.setup] Setting up recorder
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 1.0 seconds.
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setting up sun
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.1 seconds.
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setting up group
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (SyncWorker_6) [homeassistant.util.package] Attempting install of distro==1.4.0
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.0 seconds.
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setting up lovelace
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.0 seconds.
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setting up person
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setting up script
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setting up history
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setting up auth
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds.
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setting up system_health
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.0 seconds.
Aug 24 20:23:09 hassbian hass[1358]: 2019-08-24 20:23:09 INFO (MainThread) [homeassistant.setup] Setting up config
Aug 24 20:23:10 hassbian hass[1358]: 2019-08-24 20:23:10 INFO (MainThread) [homeassistant.setup] Setting up api
Aug 24 20:23:10 hassbian hass[1358]: 2019-08-24 20:23:10 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
Aug 24 20:23:10 hassbian hass[1358]: 2019-08-24 20:23:10 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
Aug 24 20:23:10 hassbian hass[1358]: 2019-08-24 20:23:10 INFO (MainThread) [homeassistant.setup] Setting up webhook
Aug 24 20:23:10 hassbian hass[1358]: 2019-08-24 20:23:10 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds.
Aug 24 20:23:10 hassbian hass[1358]: 2019-08-24 20:23:10 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.1 seconds.
Aug 24 20:23:10 hassbian hass[1358]: 2019-08-24 20:23:10 INFO (MainThread) [homeassistant.setup] Setup of domain person took 1.1 seconds.
Aug 24 20:23:10 hassbian hass[1358]: 2019-08-24 20:23:10 INFO (MainThread) [homeassistant.setup] Setting up onboarding
Aug 24 20:23:10 hassbian hass[1358]: 2019-08-24 20:23:10 INFO (MainThread) [homeassistant.setup] Setup of domain config took 1.1 seconds.
Aug 24 20:23:10 hassbian hass[1358]: 2019-08-24 20:23:10 INFO (MainThread) [homeassistant.setup] Setting up automation
Aug 24 20:23:10 hassbian hass[1358]: 2019-08-24 20:23:10 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
Aug 24 20:23:10 hassbian hass[1358]: 2019-08-24 20:23:10 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.0 seconds.
Aug 24 20:23:13 hassbian hass[1358]: 2019-08-24 20:23:13 INFO (MainThread) [homeassistant.setup] Setting up updater
Aug 24 20:23:13 hassbian hass[1358]: 2019-08-24 20:23:13 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
Aug 24 20:23:13 hassbian hass[1358]: 2019-08-24 20:23:13 INFO (SyncWorker_12) [homeassistant.util.package] Attempting install of netdisco==2.6.0
Aug 24 20:23:20 hassbian hass[1358]: 2019-08-24 20:23:20 INFO (MainThread) [homeassistant.setup] Setting up ssdp
Aug 24 20:23:20 hassbian hass[1358]: 2019-08-24 20:23:20 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.0 seconds.
Aug 24 20:23:20 hassbian hass[1358]: 2019-08-24 20:23:20 INFO (SyncWorker_18) [homeassistant.util.package] Attempting install of mutagen==1.42.0
Aug 24 20:23:26 hassbian hass[1358]: 2019-08-24 20:23:26 INFO (SyncWorker_10) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
Aug 24 20:23:26 hassbian hass[1358]: 2019-08-24 20:23:26 INFO (SyncWorker_8) [homeassistant.util.package] Attempting install of PyNaCl==1.3.0
Aug 24 20:23:33 hassbian hass[1358]: 2019-08-24 20:23:33 INFO (MainThread) [homeassistant.setup] Setting up mobile_app
Aug 24 20:23:33 hassbian hass[1358]: 2019-08-24 20:23:33 INFO (SyncWorker_4) [homeassistant.util.package] Attempting install of hass-nabucasa==0.16
Aug 24 20:23:33 hassbian hass[1358]: 2019-08-24 20:23:33 INFO (MainThread) [homeassistant.setup] Setup of domain mobile_app took 0.0 seconds.
Aug 24 20:23:33 hassbian hass[1358]: 2019-08-24 20:23:33 INFO (SyncWorker_2) [homeassistant.loader] Loaded notify from homeassistant.components.notify
Aug 24 20:23:33 hassbian hass[1358]: 2019-08-24 20:23:33 INFO (MainThread) [homeassistant.setup] Setting up notify
Aug 24 20:23:33 hassbian hass[1358]: 2019-08-24 20:23:33 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.0 seconds.
Aug 24 20:23:33 hassbian hass[1358]: 2019-08-24 20:23:33 INFO (MainThread) [homeassistant.components.notify] Setting up notify.mobile_app
Aug 24 20:24:29 hassbian hass[1358]: 2019-08-24 20:24:29 INFO (MainThread) [homeassistant.setup] Setting up cloud
Aug 24 20:24:30 hassbian hass[1358]: 2019-08-24 20:24:30 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
Aug 24 20:24:30 hassbian hass[1358]: 2019-08-24 20:24:30 INFO (SyncWorker_12) [homeassistant.util.package] Attempting install of home-assistant-frontend==20190805.0
Aug 24 20:24:30 hassbian hass[1358]: 2019-08-24 20:24:30 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 1.4 seconds.
Aug 24 20:24:31 hassbian hass[1358]: 2019-08-24 20:24:31 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.8 seconds.
Aug 24 20:24:31 hassbian hass[1358]: 2019-08-24 20:24:31 INFO (SyncWorker_14) [homeassistant.loader] Loaded cast from homeassistant.components.cast
Aug 24 20:25:02 hassbian hass[1358]: 2019-08-24 20:25:02 ERROR (SyncWorker_12) [homeassistant.util.package] Unable to install package home-assistant-frontend==20190805.0: ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
Aug 24 20:25:02 hassbian hass[1358]:     home-assistant-frontend==20190805.0 from https://www.piwheels.org/simple/home-assistant-frontend/home_assistant_frontend-20190805.0-py3-none-any.whl#sha256=7882db8bfdab0b5aa30726ac8cb4e22d067911d47bb8d5ea333ffae6486d7ec1 (from -c /srv/homeassistant/lib/python3.7/site-packages/homeassistant/package_constraints.txt (line 14)):
Aug 24 20:25:02 hassbian hass[1358]:         Expected sha256 7882db8bfdab0b5aa30726ac8cb4e22d067911d47bb8d5ea333ffae6486d7ec1
Aug 24 20:25:02 hassbian hass[1358]:              Got        e2fcaded1976ca44697f5e5645f19920c80819de4c030c5ba990da4a7194e095
Aug 24 20:25:02 hassbian hass[1358]: 2019-08-24 20:25:02 ERROR (MainThread) [homeassistant.requirements] Not initializing frontend because could not install requirement home-assistant-frontend==20190805.0
Aug 24 20:25:02 hassbian hass[1358]: 2019-08-24 20:25:02 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not install all requirements.
Aug 24 20:25:02 hassbian hass[1358]: 2019-08-24 20:25:02 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
Aug 24 20:25:02 hassbian hass[1358]: 2019-08-24 20:25:02 INFO (SyncWorker_3) [homeassistant.util.package] Attempting install of gTTS-token==1.1.3
Aug 24 20:25:02 hassbian hass[1358]: 2019-08-24 20:25:02 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
Aug 24 20:25:02 hassbian hass[1358]: 2019-08-24 20:25:02 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
Aug 24 20:25:02 hassbian hass[1358]: 2019-08-24 20:25:02 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
Aug 24 20:25:02 hassbian hass[1358]: 2019-08-24 20:25:02 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: frontend, logbook, map
Aug 24 20:25:02 hassbian hass[1358]: 2019-08-24 20:25:02 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
Aug 24 20:25:09 hassbian hass[1358]: 2019-08-24 20:25:09 INFO (MainThread) [homeassistant.setup] Setting up tts
Aug 24 20:25:09 hassbian hass[1358]: 2019-08-24 20:25:09 INFO (SyncWorker_15) [homeassistant.components.tts] Create cache dir /home/homeassistant/.homeassistant/tts.
Aug 24 20:25:09 hassbian hass[1358]: 2019-08-24 20:25:09 INFO (SyncWorker_9) [homeassistant.util.package] Attempting install of pychromecast==3.2.2
Aug 24 20:25:20 hassbian hass[1358]: 2019-08-24 20:25:20 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 11.8 seconds.
Aug 24 20:25:20 hassbian hass[1358]: 2019-08-24 20:25:20 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 159.92s
Aug 24 20:25:20 hassbian hass[1358]: 2019-08-24 20:25:20 INFO (MainThread) [homeassistant.core] Starting Home Assistant
Aug 24 20:25:20 hassbian hass[1358]: 2019-08-24 20:25:20 INFO (MainThread) [homeassistant.core] Timer:starting
pi@hassbian:~ $
pvizeli commented 5 years ago

That is hass.io not hasbian

dannysauer commented 5 years ago

A pointer to what component this is might be more helpful. :/