hoobs-org / HOOBS

Build your Smart Home with HOOBS. Connect over 2,000 Accessories to your favorite Ecosystem.
https://hoobs.org
GNU General Public License v3.0
551 stars 51 forks source link

Hoobs offers plugin update although it is already updated #1800

Closed svobod3 closed 2 years ago

svobod3 commented 2 years ago

Description I am facing problem with a plugin (currently LG In Check for update section Hoobs still offers me update to new version although I already installed it and plugin has this version. When I click on Update button, log below follows, but nothing happends. When I connect to Hoobs again, situation remains the same. I followed previous advice (https://support.hoobs.org/topics/61c9df1fdcf29f5e39f02f34/61c9dfd0dcf29f5e39f030e3), but it did not help.

Version 4.1.22

Did you upgrade Please let us know if you upgraded from a previous version.

Pervious version If you upgraded, please let us know your previous version.

What device are you using? Please let us know the device you are running HOOBS on.

If this is a custom install, what's your operating system? Please let us know what operating system and version you are using. Ex. Fedora 30 or macOS Catalina.

List your plugins Please include a list of the plugins you are using. We need to be able to find it on NPM. If the plugin is no published, please include a link to the repository.

Post your config This can be found in the interface, Configuration -> Advanced or you can get it via SSH cat ~/.hoobs/etc/config.json

POST CONFIG HERE

Post your log You can get the log from the interface. This is in the Log section.

POST LOG HERE

Additional context Add any other context about the problem here.

mkellsy commented 2 years ago

Can I get the exact name of the plugin? Is it LG? When I search for LG I get these plugins. https://plugins.hoobs.org/search/TEc

Which one are you using?

svobod3 commented 2 years ago

Sure, it is LG Thinq plugin ( https://plugins.hoobs.org/plugin/homebridge-lg-thinq ). But the same happened to me also with Harmony plugin (https://plugins.hoobs.org/plugin/homebridge-harmony).

mkellsy commented 2 years ago

Awesome. Thanks for the information.

NEST STEP Reproduce in lab

svobod3 commented 2 years ago

Great, thanks. If you need any further info please let me know.

svobod3 commented 2 years ago

Maybe other info that can help you:

orianlevy commented 2 years ago

i have the same issue with Connexoon plugin: https://plugins.hoobs.org/plugin/homebridge-connexoon

svobod3 commented 2 years ago

Update from my side - as new version of Roomba2 plugin was released, it happened also to this plugin. So for me this problem is not plugin related as it happends for all 3 plugins I have.

vvdheuvel commented 2 years ago

same issue with hue plugin: https://plugins.hoobs.org/plugin/homebridge-hue

svobod3 commented 2 years ago

Hello, any news regarding solving this issue?

mkellsy commented 2 years ago

4.2.2 is being released today. For faster response times please open a ticket here https://support.hoobs.org/

svobod3 commented 2 years ago

I just updated to 4.2.2 and unfortunately problem with plugin update is still there:(

mkellsy commented 2 years ago

Can you post your logs? The update is failing. The logs can be downloaded from the Logs screen.

orianlevy commented 2 years ago

Was able to finally solve this. i installed a fresh new hoobs, BUT the trick is, not to restore from previous backup file. Just install all the plugins from scratch, and copy the config file. (Seems like the old backup file was corrupted)

svobod3 commented 2 years ago

great, thanks for the tip, I will try it also

mkellsy commented 2 years ago

Something in yarn is causing the plugin to not update. Here's a workaround. The files are stored in /var/lib/hoobs/. You will see folders here for each bridge. cd into the bridge that has the plugin in it that won't update.

For example

cd /var/lib/hoobs/mypluginbridge/

Then remove the node_modules folder

sudo rm -fR node_modules

Then clear the yarn cache

sudo yarn cache clean

Then run yarn install to reinstall the plugins

sudo yarn install

If this doesn't update the plugin, try to update the through the UI.

hunt4868 commented 2 years ago

Thanks; I think this worked but I had to reboot Hoobs before it did.

hunt4868 commented 2 years ago

Nevermind; it did not work

hunt4868 commented 2 years ago

Please reopen the ticket/thread - this was not resolved

orianlevy commented 2 years ago

This issue still relevant, was not solved