-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugins Inaccessible via UI. Plugins all work #657
Comments
This seems odd. Can you install https://github.com/oznu/homebridge-config-ui-x/wiki/How-To-Test-Upcoming-Changes |
Sorry for the delay in reply. Updating to test version resolved it entirely. I’m wondering if there was some permission issue... I went through 24 hours of logs prior to updating, and the only thing I could find that was unordinary was a comment an access error to AccessoryInfo JSON in my persist folder. My only guess is that a plug-in or even the GUI here was updated, needed a newer version of node, but then using some cache that allowed the issue to go unnoticed until it wrote something weird not being on the right version. I didn’t update my NPM or Node until after I noticed the issue, but first updated all HomeBridge plugins including yours. Maybe the reinstall now corrected outdated files in a way it couldn’t with the older version of Node? If you want I can revert it to the latest stable and see if that causes it to happen again, otherwise going to leave it here for now as it’s working. |
Figured it was worth it for your development, and now also got a more detailed error message. Error wasn’t showing initially. Looks like it is reading my node_modules folder. Plugins Page
|
Delete this:
|
I actually did cleanup that folder, hasn’t been an issue in there. Looking into the message below, I am thinking it is a simple fix via chown as it only appears when running Homebridge as local user, but not as root:
|
Yeah., something like this should fix it:
|
Exactly what I did, seemed to fix it. Going to close this as the initial issue here seems to be resolved. Thanks for the help, going to keep running this version with extensive logs for now. |
The UI will now handle bad files like |
UI suddenly begins to have an error with no changes in system updates, plugins, config, or network changes. Nothing has changed at all, yet suddenly plugins cannot be viewed, searched, or updated. The homepage in the browser shows all up to date, which is entirely wrong. Since have updated plugins manually. Command line shows everything fine. Everything was manually updated today to see if this resolved any issues, which it did not. All the features work fine as well; but the UI can't do anything related to plugins, even though it displays them fine in the devices list.
localhost:8080
Below are the errors I receive on their respective pages.
Home: >
allModules.push is not iterable (cannot read property Symbol(Symbol.iterator)
Plugins: >
Error Failed to load plugins: Http failure response for http://localhost:8080/api/plugins: 500 Internal Server Error
Homebridge Config:
Config has been left out for privacy reasons. Lot's of info to omit otherwise, config has not changed since this error began occurring, and seems to be an issue only with the UI
Environment:
Config-UI-X
Node.js Version: 12.16.3
NPM Version: 6.14.4
Homebridge Version: 1.0.4
Homebridge Config UI X Version: 4.17.1
macOS 10.13.6
launchctl
The text was updated successfully, but these errors were encountered: