HACS is starting up

Hi!
today I updated my HomeAssistant from 2021.4.4 to 2021.4.6 version and now i have some problems with HACS.

HACS is running, but this message appears:
"HACS is starting.
HACS is starting up, during this period some information may be missing or incorrect "

If I try to update a component of HACS, when I restart HomeAssistant it returns as before updating it.

When I restart HomeAssistant, I get the following errors:

Logger: homeassistant
Source: custom_components/hacs/hacsbase/hacs.py:195
First occurred: 18:12:01 (1 occurrences) 
Last logged: 18:12:01

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/hacs/hacsbase/hacs.py", line 140, in startup_tasks
    await self.handle_critical_repositories()
  File "/config/custom_components/hacs/hacsbase/hacs.py", line 195, in handle_critical_repositories
    critical = json.loads(critical.content)
AttributeError: 'list' object has no attribute 'content'

Logger: custom_components.hacs
Source: custom_components/hacs/repositories/integration.py:64
Integration: HACS (documentation, issues) 
First occurred: 18:11:50 (1 occurrences) 
Last logged: 18:11:50

<Integration hacs/integration> Could not read manifest.json [encoding without a string argument]

I tried to delete the integration and do it again, but I didn’t fix the problem :frowning:

please have you any solutions? Thanks

1 Like

Same problem here…
Logger: custom_components.hacs
Source: custom_components/hacs/repositories/integration.py:64
Integration: HACS (documentation, issues)
First occurred: 20:58:40 (1 occurrences)
Last logged: 20:58:40

<Integration hacs/integration> Could not read manifest.json [encoding without a string argument]

Had the same problem.
In my case just reinstalling from shell helped:

wget -q -O - https://install.hacs.xyz | bash -
2 Likes

is there a command to force HACS upgrade from Terminal?

I am also having the same issue. I’m using Home Assistant OS. What’s the safest and cleanest way to fix this issue? I definitely don’t want to lose all my HACS addons.

UPDATE: I found the fix for this problem in this Github issue:

Instructions:

1. in /config/custom_components/hacs/manifest.json, change "aiogithubapi>=21.2.0" to "aiogithubapi==21.2.0"
2. Clear browser cache
3. Restart Home Assistant
4. Finally, update HACS
6 Likes

Thanks! Worked for me!

Indeed. Thanks! Also worked for me!