Hacs just says starting up and hacs custom components won’t update

After several restarts hacs keeps saying it’s still starting up.

This means when I try and update hacs addons it lets me but when I restart HA it says they still need updating and hacs is still starting up.

Only thing I can see in the logs is this:

Logger: homeassistant
Source: custom_components/hacs/hacsbase/hacs.py:195
First occurred: 15:57:30 (1 occurrences)
Last logged: 15:57:30

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’

Any ideas?

I get the same with mine, with no solution found yet.

To be clear, HACS doesn’t do add-ons - what you’re referring to are custom components.

Add-ons are other software such as the Mosquitto broker. Integrations are how Home Assistant communicates with other software and services, which may include those add-ons.

sorry yes my custom components wont update and HACs permanently says starting up.

This is an issue for me since version HA 2021.5.0.

Update HACS to the latest version, that should work ok. A work a round to be able to update HACS is by disabling line 195 and assing None.

critical = json.loads(critical.content)

like

# critical = json.loads(critical.content)
critical = None

Then restart HA and update HACS (clear browser history).
Updating also reverts the work-a-round.

Thank you. Just to confirm I deleted hacs abs reinstalled and all working fine now

What is “abs” ?

Hi, please can you explain what you did because I have the same problem with HACS?