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
552 stars 51 forks source link

Plugins page empty, in Homemanager app plugins can be installed and are working #943

Closed boesermichl closed 3 years ago

boesermichl commented 3 years ago

Description When opening Plugins page in webbrowser (cache already emptied..) there is only "Installed plugins" in Headline but screen is empty. Can't do anything in this page.

By using Homemanager app on IPhone, i can install anything i need. But not on Web-Frontend...

Version 3.2.1

Did you upgrade Please let us know if you upgraded from a 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.

Homepilot Fritzbox

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 intercafe. This is in the Log section.

POST LOG HERE

Additional context Add any other context about the problem here.

boesermichl commented 3 years ago

image

askovi commented 3 years ago

Please right click on the page and click Inspect then click on the Console tab at the top and take a screenshot of the errors and post it here.

boesermichl commented 3 years ago

A reset of the user did it... Deleted the access.json and that's it... Strange thing... Thanks for help..

mkellsy commented 3 years ago

This is known. From time to time (rare) NPM will return an empty result. We keep a cache of your installed plugins that prevents over access of the NPM API. If that result is empty, an empty response is cached. When you removed the access.json file and rebooted, that cleared this cache, and then it fetched a fresh response.

In our next major version, we are moving to our own plugin API that is based on our NPM mirror. This gives us more control especially when things like this happen.