NPM widget reporting wrong data #4255
-
DescriptionThe NPM widget works without errors, but it reports an incorrect number for "enabled" and "disabled" proxies, while the "total" one is right. They total one is even correctly updated if I delete or add some proxy, while the other two remains at 0 all the time. There are no errors in the homepage logs. homepage versionv0.9.11 (2245cdd) Installation methodDocker Configuration- Nginx Proxy Manager:
icon: /icons/nginx-proxy-manager.svg
href: "{{HOMEPAGE_VAR_NPM_ADDRESS}}"
server: my-docker
container: nginx
widget:
type: npm
url: "{{HOMEPAGE_VAR_NPM_DOCKER}}"
username: "{{HOMEPAGE_VAR_NPM_USERNAME}}"
password: "{{HOMEPAGE_VAR_NPM_PASSWORD}}" Container LogsNo response Browser LogsNo response Troubleshooting/app # curl -L -k -u 'username:password' http://IP:81/api/nginx/proxy-hosts |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 9 replies
-
is not really helpful for anyone to try and answer this. In general homepage just uses whatever data an api returns, indeed in this case: homepage/src/widgets/npm/component.jsx Lines 24 to 26 in 912ae0a |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Same here! Homepage v0.9.11 |
Beta Was this translation helpful? Give feedback.
-
Try re-creating, not restarting, your containers |
Beta Was this translation helpful? Give feedback.
-
I can also confirm the error. Furthermore, this error was already reported 3 weeks ago (#4138) and should be known. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
Wow somehow I didn’t even remember doing all of that, ha. Thanks for the reminder, and sorry for forgetting.
I can put out a release later today, folks can use the
dev
image in the meantime which already has the fix.