BigNocciolino / CryptoTracker

Integration for Home Assistant to implement a crypto tracking system
23 stars 4 forks source link

new version can't be updated by HACS #6

Closed ChristophCaina closed 2 years ago

ChristophCaina commented 2 years ago

Hi, for some time, I am getting the information that an update for CryptoTracker is available. HACS does show the update from Version d15ccc4 to v1.0.0 - but when I try to update the integration, nothing happens.

I've also tried to uninstall the Integration... but even then, it is still shown as installed with pending update...

Any Idea, how I could update this integration? I do see the following information in the HA Logs:

Logger: custom_components.hacs
Source: custom_components/hacs/operational/factory.py:48
Integration: HACS (documentation, issues)
First occurred: 09:54:02 (2 occurrences)
Last logged: 11:54:02

PepegaBruh/CryptoTracker -

it seems, that some version information are wrong in the manifest, etc. Here's the information for the installed integration compared to the downloaded source:

grafik

BigNocciolino commented 2 years ago

Since the last update I have changed the version, as I have created new releases.

Apparently the conflict is about the versions.

To find out, try to manually delete the folder where the component resides: /config/custom_components/cryptostate

Then from hacs check if it detects the installed component, if you uninstall it and reinstall it, otherwise reinstall it. If it is not detected normally press on explore and add repositories search for and install it from there.

ChristophCaina commented 2 years ago

thanks. after deleting the cryptostate folder and removing the config part I could install both versions. Then added the configuration again - and now it seems working :)

ilmaino1984 commented 2 years ago

Good mornig. I've the same problem, after deleting the cryptostate folder and removing the config part. My problem persist.

Immagine 2021-11-12 073345 Immagine 2021-11-12 073408

Immagine 2021-11-12 073439 Immagine 2021-11-12 073502

Any idea how can i solve it?

Thanks in advance

Kind Regards

ChristophCaina commented 2 years ago

BigNocciolino already provided a solution for this. You need to:

  1. delete /config/custom_components/cryptostate
  2. maybe restart HA
  3. check in HACS - you should be able to install the integration again