hacs / integration

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

After upgrade to 0.10.0 all plugins/integrations are lost #198

Closed woody4165 closed 5 years ago

woody4165 commented 5 years ago

Version of HACS

0.10.0

Describe the bug

After upgrading from 0.9.0 to 0.1.0 I don't find any plugins/integrations in the Overview page, while I still have them in the config/www/community folder

The plugins and integrations are installed and working, since in the Lovelace pages I can see them and the integrations work.

Debug log

I've put this in configuration.yaml

logger:
  default: error
  logs:
    hacs: debug

but I have no logs related to hacs

ludeeus commented 5 years ago

I did not add an issue template for fun... please add the logs for this..

woody4165 commented 5 years ago

changed accordingly!

ludeeus commented 5 years ago

custom_components.hacs: debug not hacs: debug

ludeeus commented 5 years ago

but... you have now restarted, so your info is gone now anyway..

in the .storage dir, delete the hacs file, then rename hacs.2 to hacs then restart HA.

woody4165 commented 5 years ago

removed hacs and renamed hacs.2 to hacs and restarted

The hacs file is here

In the log

2019-06-29 16:52:37 INFO (MainThread) [custom_components.hacs.hacs] Runing startup tasks.
2019-06-29 16:52:37 INFO (MainThread) [custom_components.hacs.hacs] Trying to load existing data.
2019-06-29 16:52:37 DEBUG (MainThread) [custom_components.hacs.storage] Reading from datastore /config/.storage/hacs.
2019-06-29 16:52:38 INFO (MainThread) [custom_components.hacs.migration] Flushing data to storage.
2019-06-29 16:52:41 DEBUG (MainThread) [custom_components.hacs.storage] Reading from datastore /config/.storage/hacs.
2019-06-29 16:52:41 DEBUG (MainThread) [custom_components.hacs.storage] Reading from datastore /config/.storage/hacs.
2019-06-29 16:52:41 INFO (MainThread) [custom_components.hacs.hacs] Fetching updated blacklist
2019-06-29 16:52:42 INFO (MainThread) [custom_components.hacs.hacs] Fetching updated integration repository list
2019-06-29 16:52:48 INFO (MainThread) [custom_components.hacs.hacs] Fetching updated plugin repository list
2019-06-29 16:52:55 INFO (MainThread) [custom_components.hacs.storage] Loading custom-components/sensor.brewdog
2019-06-29 16:52:56 INFO (MainThread) [custom_components.hacs.storage] Loading custom-components/switch.hadockermon
2019-06-29 16:52:58 INFO (MainThread) [custom_components.hacs.storage] Loading custom-components/hassbian_config
2019-06-29 16:53:00 INFO (MainThread) [custom_components.hacs.storage] Loading custom-components/sensor.weatheralerts
...
2019-06-29 16:57:07 INFO (MainThread) [custom_components.hacs.storage] Loading ljmerza/reddit-card
2019-06-29 16:57:09 INFO (MainThread) [custom_components.hacs.storage] Loading ljmerza/tracking-number-card
2019-06-29 16:57:11 INFO (MainThread) [custom_components.hacs.storage] Saving data

But I still don't see the plugins/integrations in the Overview tab

Schermata 2019-06-29 alle 17 05 57

ludeeus commented 5 years ago

The hacs file is here

That is the new file, and that does not contain any installed elements. Did you remove the wrong file?

woody4165 commented 5 years ago

sorry, this is the correct file

But no change in any case.

Probably, best thing is to remove the HACS installation and do it again, don't you think?

Thanks

ludeeus commented 5 years ago

Only HACS have "installed": true, in that file. Did you see this https://custom-components.github.io/hacs/faq/#known-limitations?

Probably, best thing is to remove the HACS installation and do it again, don't you think?

Will not help, just continue to use it, your old data is lost, probably due to that know limitation.