question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HACS is starting up - forever

See original GitHub issue

Installation details

Description Value
112
0.112.4
Hassio

Checklist

Describe the issue

I get the message HACS is starting up forever

Steps to reproduce

Debug logs

Logs

PASTE YOUR DEBUG LOGS HERE

Logger: homeassistant.config_entries
Source: helpers/storage.py:119
First occurred: 8:01:46 (1 occurrences)
Last logged: 8:01:46

Error setting up entry for hacs
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 220, in async_setup
    hass, self
  File "/config/custom_components/hacs/__init__.py", line 81, in async_setup_entry
    startup_result = await hacs_startup()
  File "/config/custom_components/hacs/__init__.py", line 175, in hacs_startup
    if not await hacs.data.restore():
  File "/config/custom_components/hacs/hacsbase/data.py", line 85, in restore
    hacs = await async_load_from_store(self.hacs.hass, "hacs")
  File "/config/custom_components/hacs/store.py", line 11, in async_load_from_store
    restored = await store.async_load()
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 101, in async_load
    return await self._load_task
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 119, in _async_load
    if data["version"] == self.version:
KeyError: 'version'

</details>

<!-- IssueTemplateID: issue_backend -->

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:10
  • Comments:24 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
QNimbuscommented, Oct 9, 2020

I can confirm - I just installed HACS on a relatively fresh install of Home Assistant. I did take quite some time but after a while (I’m guessing 10 minutes or so) the Home Assistant is starting, not everything will be available until it is finished message disappeared. I did not have to restart Home Assistant manually in the meantime. Hope this feedback helps with this issue.

4reactions
ludeeuscommented, Jul 17, 2020
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 119, in _async_load
    if data["version"] == self.version:
KeyError: 'version'

@ascillato You get this if you tried HACS in the past and there are still data files with the old format, of your data files are corrupt.

Delete all files containing hacs under .storage and restart Home Assistant to solve it.

@LEJOUI I run both dev and beta versions of Home Assistant, both works as it should with current version of HACS.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HACS is starting up HACS is starting up, during this time some ...
After upgrading to Home Assistant 2021.4.6, when Home Assistant starts up, I get the below errors in the log on startup:
Read more >
HACS is starting up - Third party integrations
HACS is running, but this message appears: "HACS is starting. HACS is starting up, during this period some information may be missing or ......
Read more >
Friends, I'm trying to install HACS but so far no luck - Facebook
After update the HA was not online anymore. Monitor over hdmi is showing me no ip. When booting up it shows eth0 failed...
Read more >
Reference — hacs-pyscript 1.3.3 documentation
At startup, pyscript loads the following files. It also automatically unloads and ... When there is no ending datetime, the periodic trigger runs...
Read more >
Install HACS 2022 (Home Assistant How To) - YouTube
They are designed to quickly get the integration or addon up and running as ... In this one we are having a look...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found