Error after update to 2025.5 HACS not starting

I updated to 2025.5 but when I restarted system HACS no longer start up. I checked logs and it shows this:

Logger: homeassistant.config_entries
Vir: config_entries.py:749
Prva pojavitev: 08:56:32 (2 pojavitvi)
Nazadnje zabeleženo: 08:58:51
Error setting up entry for hacs

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/__init__.py", line 246, in async_setup_entry
    setup_result = await async_initialize_integration(hass=hass, config_entry=config_entry)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/__init__.py", line 214, in async_initialize_integration
    await async_try_startup()
  File "/config/custom_components/hacs/__init__.py", line 201, in async_try_startup
    startup_result = await async_startup()
                     ^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/__init__.py", line 170, in async_startup
    async_register_frontend(hass, hacs)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/config/custom_components/hacs/frontend.py", line 58, in async_register_frontend
    hass.components.frontend.async_register_built_in_panel(
    ^^^^^^^^^^^^^^^
AttributeError: 'HomeAssistant' object has no attribute 'components'

Is there any known solution to this ? If i restore backup to older edition it works normaly.
HAOS is running on intel nuc150.

Solved, I had very old version of HACS. I guess it never updated automaticaly. I manualy reinstaled it and now I can upgrade normaly.

2 Likes

I’m having the same error…
But even after reinstalling HACS still the same error…
HACS version 1.33

Current version of Hacs is 2.0.5, so you really need to update.

OMG, thx! fixed it :slight_smile:

Remove HACS from HA en reinstalled it, but get again version 1.33 How to force to get the lastest 2.0.5 Version… THanks for any help

I had a similar problem. I could go to Developer tools and could get an option to restart HA, but no option to reboot the system. I finally disconnected the ethernet cable (my system is a HA Yellow with POE), and after rebooting the system, everything works like it should.

Finally get it working, after i manage to instal V2. of HACS. Was not a easy task en not very clear how to do it But via the hacs.xyz web site it works on the end. Take at least 5 hours trial and error…

I also updated to 2025.5 and my HACS 1.34 is down. I cannot restore backup because I get an error. How can the problem with HACS be resolved?

I’d been putting off upgrading HACS to the 2.x release since I had a Lenovo clock that did not like the updated versions of specific packages. Didn’t see anything in breaking changes, but maybe I missed that, so updated HA to 2025.5.1 and then HACS refused to start. Deleting and re-adding HACS just brought me back to a 1.x release. As @PdeRuiter pointed out (but didn’t provide steps), this took a minute to resolve. Steps are below that worked for me, irritating start to the day but my dashboards are all working again at least.

Go to the downloading page on hacs.xyz, click My Link to open HA add-on prompt, install Get-HACS add-on, set add-on to start at boot, restart HA, go to Add-ons → Get HACS → Logs tab and verify that it’s downloading HACS. Once complete, this installed HACS 2.0.5 for me and I saw a long list of HACS packages to update. You can remove the Get-HACS add-on after this.

1 Like

(post deleted by author)

I did everything as you said and everything works!! Thank you so much