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

Custom Repo "add" button not working #4246

Open
7 tasks done
kenneth27dunne opened this issue Dec 5, 2024 · 3 comments
Open
7 tasks done

Custom Repo "add" button not working #4246

kenneth27dunne opened this issue Dec 5, 2024 · 3 comments
Labels
Missing required issue information Added to issues with missing information from the issue template

Comments

@kenneth27dunne
Copy link

Web browser

chrome

Web browser version

131.0.6778.87

System Health details

System Information

version core-2024.12.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.0
os_name Linux
os_version 6.6.63-haos
arch x86_64
timezone Europe/Dublin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 4988
Installed Version 2.0.1
Stage running
Available Repositories 1533
Downloaded Repositories 2
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 14.0
update_channel stable
supervisor_version supervisor-2024.11.4
agent_version 1.6.0
docker_version 27.2.0
disk_total 30.8 GB
disk_used 4.1 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization oracle
board ova
supervisor_api ok
version_api ok
installed_addons Matter Server (6.6.1), Terminal & SSH (9.15.0), Get HACS (1.3.1)
Dashboards
dashboards 2
resources 0
views 0
mode storage
Recorder
oldest_recorder_run December 2, 2024 at 5:46 PM
current_recorder_run December 5, 2024 at 4:29 PM
estimated_db_size 5.06 MiB
database_engine sqlite
database_version 3.45.3

Checklist

Describe the issue

When I attempt to add a custom repo nothing happens. I select custom repositories > fill the repo field with the following "https://github.com/timniklas/hass-govee-ble-lights" select Integration from the drop down list.. add button becomes enabled. I click the Add button and nothing happens... no loader icon, no network requests appear on the Chrome inspector and the custom repo dialog remains the same doesn;t disappear or anything... Literally nothing happens when I click "Add"

Reproduction steps

  1. select custom repositories
  2. fill the repo field with the following "https://github.com/timniklas/hass-govee-ble-lights"
  3. select Integration from the drop down list
  4. click the Add button

Screenshots

image

Javascript logs from your browser console

N/A (Nothing shows in console)

Diagnostics dump

No response

@kenneth27dunne kenneth27dunne added the issue:frontend For issues with the frontend/UI label Dec 5, 2024
@hacs-bot
Copy link

hacs-bot bot commented Dec 5, 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! 👍

@ludeeus ludeeus added Missing required issue information Added to issues with missing information from the issue template and removed issue:frontend For issues with the frontend/UI labels Dec 5, 2024
@puja108
Copy link

puja108 commented Dec 15, 2024

Similar problem with a different repo (https://github.com/CharlesGillanders/homeassistant-alphaESS), which I had added before, too. After reinstalling HACS (to debug an issue similar to #4235), I tried adding the repo, first it did not add, then after a while it got added, but I still could not find the integration in the list. After a restart of HA the custom repo was gone again.

The issue might be related to running HA in a container. There have been changes to how some things in HA are handled recently, leading to issues with HACS and custom integrations that have python dependencies when running HA in a container (see home-assistant/core#127966 and https://community.home-assistant.io/t/wth-is-going-on-with-docker-container-installs-and-third-party-integrations-that-need-python-modules/806430/5). It seems to be mainly related to switching from pip to uv, but also how core detects that it's running in a container.

I realize the dependency issue might not be the focus of HACS (as you also closed #4235), but wanted to mention it just in case this is also leading to some HACS functionality (like here adding custom repos) not working correctly.

Most probably there's not much HACS and HACS users can do to fix besides running one of the still working workarounds and/or waiting for a real fix in core.

@rogersmj
Copy link

I'm having the same issue as described here (exactly — no logs in the Console or anything). Is there even a workaround? I can't find one. Multiple restarts, cache clear, etc and I still can't add a repo.

@ludeeus This issue is labeled "Missing required issue information", which I'm assuming refers to the diagnostics dump, which I'm guessing is the debug log? Since OP didn't include a debug log, I enabled debug logging per the instructions here, and here's the only entries in the log for "HACS" after I've recreated this issue.

2024-12-21 12:08:50.898 INFO (MainThread) [custom_components.hacs] Stage changed: startup
2024-12-21 12:08:50.904 DEBUG (MainThread) [custom_components.hacs] There are 6 scheduled recurring tasks
2024-12-21 12:08:50.905 INFO (MainThread) [custom_components.hacs] Loading removed repositories
2024-12-21 12:08:51.014 INFO (MainThread) [custom_components.hacs] Loading known repositories
2024-12-21 12:08:51.014 DEBUG (MainThread) [custom_components.hacs] Fetching updated content for integration
2024-12-21 12:08:51.015 DEBUG (MainThread) [custom_components.hacs] Fetching updated content for plugin
2024-12-21 12:08:51.016 DEBUG (MainThread) [custom_components.hacs] Fetching updated content for template
2024-12-21 12:08:51.016 DEBUG (MainThread) [custom_components.hacs] Fetching updated content for theme
2024-12-21 12:08:51.126 DEBUG (MainThread) [custom_components.hacs] <Integration KoljaWindeler/kaco> Unregister stale custom repository
2024-12-21 12:08:51.155 INFO (MainThread) [custom_components.hacs] Stage changed: running
2024-12-21 12:08:51.180 DEBUG (MainThread) [custom_components.hacs] <QueueManager> The queue is empty
2024-12-21 12:08:51.180 DEBUG (MainThread) [custom_components.hacs] <HACSStore async_save_to_store> Did not store data for 'hacs.critical'. Content did not change
2024-12-21 12:08:51.181 DEBUG (MainThread) [custom_components.hacs] Nothing in the queue
/hacsfiles/mini-media-player/mini-media-player-bundle.js:162:67
/hacsfiles/mini-media-player/mini-media-player-bundle.js:162:82
t (/hacsfiles/mini-media-player/mini-media-player-bundle.js:15:250)
/hacsfiles/mini-media-player/mini-media-player-bundle.js:707:170
2024-12-21 12:09:15.865 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Getting repository information
2024-12-21 12:09:16.342 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Running checks against 2.0.1
2024-12-21 12:09:16.815 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Getting documentation for version=2.0.1,filename=README.md
2024-12-21 12:09:16.815 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/hacs/integration/2.0.1/README.md
2024-12-21 12:09:36.813 DEBUG (MainThread) [custom_components.hacs] <Integration nagyrobi/home-assistant-custom-components-linkplay> Checking repository.

That last entry refers to the repo I'm trying to add, https://github.com/nagyrobi/home-assistant-custom-components-linkplay. It's a read-only repo, I don't know if that makes a difference — not sure why it would.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing required issue information Added to issues with missing information from the issue template
Projects
None yet
Development

No branches or pull requests

4 participants