HACS 1.34 broke. How to update?

Hey, I have issues with my current hacs installation. Its shows me a configuration error:

Logger: homeassistant.config_entries
Quelle: config_entries.py:749
Erstmals aufgetreten: 15:41:32 (1 Vorkommnis)
Zuletzt protokolliert: 15:41:32

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 68, in async_register_frontend
    hass.components.frontend.async_register_built_in_panel(
    ^^^^^^^^^^^^^^^
AttributeError: 'HomeAssistant' object has no attribute 'components'

I can remove the current installation and install hacs 2 but will I lose my configuration? How to update to v2 without losing the config etc.?

https://community.home-assistant.io/t/how-do-i-update-hacs-to-2-0/782583

I cant update hacs. I dont get any update notification and i do not get the hacs dashboard.

How is your HA installed ? HA OS, HA Container, HA Core ?

HA OS. It is installed with the proxmox helper scripts:
Proxmox VE Helper-Scripts

For Home Assistant Operating System and Supervised, there is an add-on for downloading HACS. To add the custom add-on repository that allows you to get this add-on, follow these steps.

  1. To add the HACS add-on repository to your Home Assistant, select this my link.
  • When prompted to confirm if you want to open the page in Home Assistant, check if the URL is correct. Then, select Open link.
  • In the Missing add-on repository dialog, select Add.
  • You have now added the repository that allows you to download HACS to Home Assistant.
  1. In the Get HACS add-on, select Install.
  2. Start the add-on.
  3. Navigate to the add-on logs and follow the instructions given there.

Finalizing steps¶

  1. Restart Home Assistant.
  2. Follow the steps on setting up the HACS integration.
1 Like

Thanks for the help. I add the missing repo and was confuesed because there where no “install” btton. But after a restart of ha hacs is now up-to-date.