-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 does not update from 2.0.1 to 2.0.2 #4346
Comments
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! 👍 |
I have a 1 in 1 situation "home_assistant": { |
The devs seem to be malicious about this issue, they keep closing tickets about updates failing, including mine earlier this week. I guess we may need to fork HACS? Not sure what happened there. Honestly unless I get an explanation I'm not sure I want to update. I'm not sure I trust them. |
Looks like it's trying to download from: Perhaps it should be: |
Is there a way to fix the url on my own HA? |
I'm getting the following error message. Logger: custom_components.hacs HACS is disabled - restore Could use some help trying to fix it. |
...furthermore, the issue may be related to the following error message: Logger: custom_components.hacs [The repo id for music-assistant/hass-music-assistant is already set to 911125621] Restore Failed! |
I tried to update now. And everything worked! Something like this ) |
I do not see an update...just a 'Failed to Set up' notice on the integration page. Reloading the integration doesn't help. I also tried restarting HA but to no avail. |
For people (on HAOS I guess?) still searching for the solution to this. Found this hidden in one of the many reddit posts about this issue: Settings → Devices & Settings → HACS → Configure → and for me after checking the Enable AppDaemon apps discovery & tracking, solved the problem Instantly HACS showed up again for me with the notion to update. |
Tried this. I was still unable to update. |
Ditto... still showing 'failed to setup'. Error log shows: Detected that custom integration 'hacs' sets option flow config_entry explicitly, which is deprecated at custom_components/hacs/config_flow.py, line 199: self.config_entry = config_entry. This will stop working in Home Assistant 2025.12, please create a bug report at https://github.com/hacs/integration/issues |
Sorry, needed to reload the integration. Update now shows up. |
Looks like the problem is specific to the "music-assistant/hass-music-assistant" integration, which was already marked as deprecated but now seems to be completely broken. I wasn't able to fix it via UI but if you have access to the HAOS file system you can amend HACS repositories cache file "config/.storage/hacs.repositories" by removing the entry for the "music-assistant/hass-music-assistant". Save and restart HA and vuala HACS are back and running. |
I don't have this entry in my config/.storage/hacs.repositories file. So, no luck fixing this issue. |
This worked for me. The file is located at I also realized after I made this manual change that the upgrade option for HACS had been hidden in the main settings screen behind the "Show All Updates" button, because I had a few updates queued up. I'm honestly not sure if HACS had to successfully reload for this update to be there. If you're having this issue, maybe double check whether you can just upgrade HACS first before manually changing any files! |
HACS and homeassistant were both showing that updates were available. I updated homeassistant first, then HACS failed to start. I removed the blocks below from hacs.repositories, after which HACS started and I was able to perform the update.
|
This fixed the problem on my system. After checking "Enable AppDaemon apps discovery & tracking", the error was gone and I was offered an update, Shall I leave "Enable AppDaemon apps discovery & tracking" checked, or shall I uncheck it again? I have no clue what this setting is about. |
Same - it helped but i also do not know if to leave the demon on or put it back off. |
For me, I had to UNCHECK this option. I could then upgrade HACS to 2.0.2. In order for all my custom element issues to resolve, I had to restart the entire system. After everything was back up again, I checked this box and reloaded the service. For some reason, I still have custom element issues when accessing externally. Everything looks normal from the LAN. |
This is the fix, after checking the box, click 3 dots and reload. Then it loads right, and update shows up in settings of ha. (running haos). TYVM!!! |
After previous fails to install the update, I tried again yesterday and the update finally went through. |
I have a HASSIO installation. I also couldn't upgrade HACKS from 2.0.1 to 2.0.2.
This path is wrong. Result is not found (404) I tried to use the advice from here. https://community.home-assistant.io/t/unable-to-update-hacs-nor-hacs-integrations/423337/23 I executed the command wget -O - https://get.hacs.xyz | bash - And after successfully executing the script and restarting the server, I got a broken system. I only had one container loaded. # docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORT NAMES
a7ee43e918db ghc.io/home-assistant/amd64-hassio-observer:2023.06.0 "/usr/bin/observer" 2 days ago Up 3 minutes 0.0.0.0:4357->80/tcp, [::]:4357->80/tcp hassio_observer I have upgraded supervisor from version 1.8.0 to version 2.0.0. wget -O homeassistant-supervised.deb https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
apt install ./homeassistant-supervised.deb This restored the system's functionality. I also saw that the version of HACKS has been successfully upgraded to 2.0.2. |
Yes this fixed it for me aswell. |
Running |
Also had this issue, did the Enable AppDaemons bit, restarted, and was then able to upgrade. Unfortunately in the process it looks like it lost reference for what HACS integrations I had set up so I need to reinstall them |
Same here! =( Tried the solution with "App deamon" checkbox, got the update, but now HACS don't seem to recognize any of the installed integrations. |
FWIW, it was pretty easy to find the custom integrations I had as the general HA integrations page still listed them, HACS was just unaware. And I believe they continued to not be present after I upgraded to 2.0.2 and unchecked AppDaemons |
I had no problem upgrading HACS to 2.0.2, but whilst doing so I noticed I had the appdaemon libraries option on and I’m not using appdaemon any more so unticked it. Maybe this was a mistake or HACS 2.0.2 caused it, but HACS forgot about all of my installed HACS components - integrations and dashboard entries. Had to manually re-download every HACS component, find details of the custom repositories for the non-standard stuff, reboot HA afterwards. What a pain. Not a good upgrade experience at all |
Closing this as OP never provided the required information and this issue has gone into different paths....
|
I removed Hacs and installed 2.0.2. Today I tried to update to 2.0.3 -> No luck, stuck on 50%. |
System Health details
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Checklist
Describe the issue
HACS does not update from 2.0.1 to 2.0.2. It gets stuck on 50 % progress. This HA is on Home Assistant Yellow hardware. I have a similar HA on Proxmox server at a different location and was able to update HACS.
Reproduction steps
Debug logs
Diagnostics dump
config_entry-hacs-16de9f2e0216d56985518615b81eac5f.json
The text was updated successfully, but these errors were encountered: