integration: HACS is stuck at 'HACS is setting up' on new installation

Installation details

Description Value
HACS version 1.8.0
Home Assistant version 2020.12.6
Installation method for HA Proxmox VE

Checklist

  • [x ] I’m running the newest version of HACS https://github.com/hacs/integration/releases/latest
  • [x ] I have enabled debug logging for my installation.
  • [x ] I have filled out the issue template to the best of my ability.
  • [x ] I have read https://hacs.xyz/docs/issues
  • [x ] This issue is related to the backend of HACS.
  • [x ] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).

Describe the issue

Just installed HA Supervised on a Proxmox and then tried to install HACS. Followed the instructions and then used the HA Intregrations to finish the final steps. HACS shows up in the left sidepanel, but never gets past ‘HACS is setting up’. When locking at HA logs, there is an error setup up HACS. Se details below.

Logger: homeassistant.config_entries Source: core.py:174 First occurred: 11.42.03 (1 occurrences) Last logged: 11.42.03

Error setting up entry for hacs Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 236, in async_setup result = await component.async_setup_entry(hass, self) # type: ignore File “/config/custom_components/hacs/init.py”, line 30, in async_setup_entry return await hacs_ui_setup(hass, config_entry) File “/config/custom_components/hacs/operational/setup.py”, line 67, in async_setup_entry return await async_startup_wrapper_for_config_entry() File “/config/custom_components/hacs/operational/setup.py”, line 92, in async_startup_wrapper_for_config_entry startup_result = await async_hacs_startup() File “/config/custom_components/hacs/operational/setup.py”, line 197, in async_hacs_startup async_call_later(hacs.hass, 5, hacs.startup_tasks()) File “/usr/src/homeassistant/homeassistant/helpers/event.py”, line 1179, in async_call_later return async_track_point_in_utc_time( File “/usr/src/homeassistant/homeassistant/helpers/event.py”, line 1133, in async_track_point_in_utc_time job = action if isinstance(action, HassJob) else HassJob(action) File “/usr/src/homeassistant/homeassistant/core.py”, line 174, in init raise ValueError(“Coroutine not allowed to be passed to HassJob”) ValueError: Coroutine not allowed to be passed to HassJob

Steps to reproduce

1.Run HA Supervised on Proxmox 2.Copy HACS installation files via SAMBA to HA custom_components folder 3.Install HACS as new Integration

Debug logs

Logs

PASTE YOUR DEBUG LOGS HERE

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 24 (1 by maintainers)

Most upvoted comments

This fixes for me : it’s a version problem

zuzuman on discord posted Fix /config/custom_components/hacs/operational/setup.py for new 2020 version

https://pastebin.pl/view/1d67e852

setup.txt

just rename it to .py

This fixes for me : it’s a version problem

zuzuman on discord posted Fix /config/custom_components/hacs/operational/setup.py for new 2020 version

https://pastebin.pl/view/1d67e852

This works, but like @outlooknerd said you have to also delete any file that starts with “hacs” (ie hacs.critacal, hacs.hacs, etc) in the the \ config \ .storage folder of of HA