hacs / integration

HACS gives you a powerful UI to handle downloads of all your custom needs.
https://hacs.xyz
MIT License
5.26k stars 1.27k forks source link

hacs is completely uninstalled after uninstall an integration #1470

Closed amorim1005 closed 4 years ago

amorim1005 commented 4 years ago

Installation details

Integration version: | 1.4.1 Frontend version: | 202018081656 Repositories: | 607 Installed repositories: | 9

Describe the issue

if i uninstall accuweather instead of just removing this specific repository it removes the all Hacs instalation

Steps to reproduce

hacs > integrations > accuweather > options: uninstall

Debug logs

hacs-bot[bot] commented 4 years ago

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

ludeeus commented 4 years ago

Should possible if you are really running 1.4.1. Attach logs to prove it.

ludeeus commented 4 years ago

I have no accuweather integration, but I installed and removed 3 others, what you are describing did not happen.

amorim1005 commented 4 years ago

2020-08-18 17:37:25 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. 2020-08-18 17:37:31 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for rpi_power which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. 2020-08-18 17:37:33 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for authenticated which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. 2020-08-18 17:37:48 ERROR (MainThread) [custom_components.hacs.factory] bieniu/ha-accuweather - Repository is archived. 2020-08-18 17:38:16 ERROR (MainThread) [custom_components.hacs.api.repository] Could not uninstall

amorim1005 commented 4 years ago

Hacs shows a pending update for AccuWeather

Installed version: b89c55d Update pending Available version: 829ff80

Remember that you need to restart Home Assistant before changes to integrations (custom_components) are applied.

ludeeus commented 4 years ago

enable debug logs for HACS as instructed in the issue template. https://hacs.xyz/docs/basic/logs

johntdyer commented 4 years ago

Pretty sure this happened to me as well, havent been able to reproduce yet but my custom_compoonents folder disappears out of the blue when I uninstalled test/test

ludeeus commented 4 years ago

You don't have test/test @johntdyer upgrade to 1.4.1

amorim1005 commented 4 years ago

cant upload the log because answer cant be longer then 65536 characters

ludeeus commented 4 years ago

That's fine, I got your mail. And nothing there indicates that it removed anything. It tried, but failed. Is HACS gone now?

markusmazurczak commented 4 years ago

I have had the same issue. It occured after I did the following:

I updated HACS (not able to say from which to which version anymore) but I did not rebootet. After that update I updated HA to 0.114.0. After that reboot HACS was gone.

@johntdyer Gave me the hint to look for that custom_components folder which was deleted. I recreated that blank folder (config/custom_components/hacs) downloaded and copied the files from the zip file from here https://github.com/hacs/integration/releases/tag/1.4.1.

After the next reboot HACS appeared again and my everything else worked like charm.

PS: I did not delete the integration itself manually from the integrations section.

ludeeus commented 4 years ago

It looks like there may have been a bug in a previous version, the issue is no longer present so I'm closing this issue