Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HACS Setup: Integration does not activate #3666

Closed
7 tasks done
superpower10 opened this issue May 2, 2024 · 11 comments
Closed
7 tasks done

HACS Setup: Integration does not activate #3666

superpower10 opened this issue May 2, 2024 · 11 comments
Labels
issue:backend For issues with the backend/integration

Comments

@superpower10
Copy link

System Health details

System Information

version core-2024.5.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.1.73-haos-raspi
arch aarch64
timezone Europe/Berlin
config_dir /config
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.2
update_channel stable
supervisor_version supervisor-2024.04.4
agent_version 1.6.0
docker_version 25.0.5
disk_total 234.0 GB
disk_used 7.3 GB
healthy true
supported true
board rpi5-64
supervisor_api ok
version_api ok
installed_addons Matter Server (5.6.0), Advanced SSH & Web Terminal (17.2.0), Studio Code Server (5.15.0)
Dashboards
dashboards 2
resources 0
views 0
mode storage
Recorder
oldest_recorder_run 2. Mai 2024 um 07:38
current_recorder_run 2. Mai 2024 um 15:13
estimated_db_size 0.58 MiB
database_engine sqlite
database_version 3.44.2

Checklist

Describe the issue

Followed Instruction Word-by-Word

Activation of Hacs when setting up the integration doesn't complete.

Reproduction steps

  1. Installed has via Script on an absolute new Home Assistant. Nothing else installed on it
  2. Restart Home Assistant
  3. Deleted Browser-Historie and everything else completly
  4. Went to Settings - Integration - Add Integration - Filter with HACS - Click on Hats
  5. Dialog with link to GitHub open
  6. Click on Github-Link
  7. Signed in by Github
  8. Paste Code from Integration-Dialog
  9. Hit accepted
  10. Github-Dialog says that its now connected/allowed
  11. Went back to Home Assistant
  12. Turning for minutes nothing happens

Tried it with Safari, Chrome and Opera.

Also waited for hours. Red all other issues. Did not help

Debug logs

Logger: homeassistant.data_entry_flow
Quelle: data_entry_flow.py:805
Erstmals aufgetreten: 15:14:12 (1 Vorkommnisse)
Zuletzt protokolliert: 15:14:12

custom_components.hacs.config_flow::HacsFlowHandler calls async_show_progress without passing a progress task, this is not valid and will break in Home Assistant Core 2024.8. Please report it to the custom integration author

Diagnostics dump

None here. It is not installed.

@superpower10 superpower10 added the issue:backend For issues with the backend/integration label May 2, 2024
@hacs-bot
Copy link

hacs-bot bot commented May 2, 2024

Make sure you have read the issue guidelines and that you filled out the entire template.

If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a 👍 reaction to the issue description. Thanks! 👍

@DanielMazurFL4RE
Copy link

#3555

possibly duplicate

@ainmosni
Copy link

ainmosni commented May 2, 2024

I don't think it's a duplicate, as I have the exact same problem with the OS installed in a KVM amd64 machine, and the issue above is an aarch64 machine. The ticket you linked cites a hardware issue.

Here's my system information, outside of the arch, the issue is the same.

System Information

version core-2024.5.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.25-haos
arch x86_64
timezone Europe/Berlin
config_dir /config
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.2
update_channel stable
supervisor_version supervisor-2024.04.4
agent_version 1.6.0
docker_version 25.0.5
disk_total 30.8 GB
disk_used 5.2 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons Studio Code Server (5.15.0), Tailscale (0.18.0), Terminal & SSH (9.13.0)
Dashboards
dashboards 2
resources 0
views 0
mode storage
Recorder
oldest_recorder_run 1 May 2024 at 09:35
current_recorder_run 2 May 2024 at 15:25
estimated_db_size 12.93 MiB
database_engine sqlite
database_version 3.44.2

@bealex
Copy link

bealex commented May 2, 2024

Same problem. Can't install HACS :( It just waits for device activation forever, without ability to do anything (no "Submit" button is there in the dialog)

@jcasarini
Copy link

jcasarini commented May 2, 2024

Hi, had the same problem, just solved it with a workaround:

  1. Go to the Terminal and download the install script but do not execute it right away:
    wget -O hacs.sh https://get.hacs.xyz

  2. Edit the hacs.sh file with your preferred text editor.

  3. In line 65 replace de download URL to version 1.33.0 and save:
    wget "https://github.com/hacs/integration/releases/download/1.33.0/hacs.zip"

  4. Run the updated install script:
    bash hacs.sh

  5. Restart HomeAssistant.

  6. Follow the usual steps for activation (About the "Submit" button you mentioned, the documentation is outdated, there's no such button anymore).

  7. Update HACS in the usual manner.

Same problem. Can't install HACS :( It just waits for device activation forever, without ability to do anything (no "Submit" button is there in the dialog)

@Onolisk
Copy link

Onolisk commented May 2, 2024

another solution is to downgrade HA, install HACS, upgrade HA. Just did this now and it worked for me and others on reddit.
ha core update --version 2024.1.0

@kaford88
Copy link

kaford88 commented May 2, 2024

Hi, had the same problem, just solved it with a workaround:

  1. Go to the Terminal and download the install script but do not execute it right away:
    wget -O hacs.sh https://get.hacs.xyz
  2. Edit the hacs.sh file with your preferred text editor.
  3. In line 65 replace de download URL to version 1.33.0 and save:
    wget "https://github.com/hacs/integration/releases/download/1.33.0/hacs.zip"
  4. Run the updated install script:
    bash hacs.sh
  5. Restart HomeAssistant.
  6. Follow the usual steps for activation (About the "Submit" button you mentioned, the documentation is outdated, there's no such button anymore).
  7. Update HACS in the usual manner.

Same problem. Can't install HACS :( It just waits for device activation forever, without ability to do anything (no "Submit" button is there in the dialog)

genius.....ive spent all day on this until i saw this post. THanks so much.

@jcasarini
Copy link

jcasarini commented May 2, 2024

I prefer downgrading the plugin rather than the whole platform honestly.

In any case I'm pretty sure #3555 mentioned by @DanielMazurFL4RE is related, possibly the same, @ainmosni. This is definitely not hardware related.

As this was a new instance I'm installing for my brother I tried doing it in one of my hypervisors as it's recommended in that case but that didn't fix it. That's when I thought about examining the install script.

another solution is to downgrade HA, install HACS, upgrade HA. Just did this now and it worked for me and others on reddit. ha core update --version 2024.1.0

@DB-HASS
Copy link

DB-HASS commented May 2, 2024

Hi, had the same problem, just solved it with a workaround:

Confirm this worked for me, too - running on RasPi with HAOS. After install completed, it prompted for an update to 1.34 which also went smoothly.

Thanks for figuring this out!

@jcasarini jcasarini mentioned this issue May 3, 2024
6 tasks
@ludeeus ludeeus pinned this issue May 3, 2024
@superpower10
Copy link
Author

Thank you very much. It works now!

P.S.: After the installation and update I had to completely restart the PI and clear Browser Cache again so HACS looks like it should

@ludeeus ludeeus reopened this May 3, 2024
@hacs hacs locked and limited conversation to collaborators May 3, 2024
@ludeeus
Copy link
Member

ludeeus commented May 7, 2024

Home Assistant 2024.5.2 was released yesterday, which includes a fi for this.
Update to that version or newer before trying again.

@ludeeus ludeeus closed this as completed May 7, 2024
@ludeeus ludeeus unpinned this issue May 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue:backend For issues with the backend/integration
Projects
None yet
Development

No branches or pull requests

9 participants