-
Note: I have already tried re-creating the container as per the note in the doc I have setup a read-only user with the follow settings and even expanded the permissions to try and rule out a permissions issue. This is the homepage config - unifi_console:
url: https://192.168.1.101:8443/
username: homepage_read_only
password: 3hkjaxxxxx5kja
site: Home # optional The homepage container logs don't show any errors, only the following. I have stopped the stack in Portainer and restarted it which I believe recreates the container (when stopped it does not show the homepage container in the list of containers). I have also tried manually re-creating the container a few times.
The main widget stil returns When I try to use the service widget it returns
Curl shows the following. Not sure if it's because of the 302 http response code?
Happy to try other curl commands against the API if someone can give some tips on how to construct the API call the same way as homepage does it. I dug briefly but could not quickly or easily find the request details in the source code. I'm on the latest version of the unifi-controller image from linuxserver.io here: https://hub.docker.com/r/linuxserver/unifi-controller I noticed that this image had been deprecated in favour of Unifi's newly named Unifi Network Application but this existing image was updated two days ago despite saying it's deprecated so not sure what's going on there. Should this widget work with this unifi controller image or does it require the newer Unifi Network Application? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I haven’t tried it lately but I built the widget against the lsio image How about the rest of these: |
Beta Was this translation helpful? Give feedback.
-
To confirm do you mean the unifi-controller image or the newer unifi-network-application that replaces it?
Not sure I'm clear on what the correct port / url is to use for the unifi-controller image I'm running. 8443 seems to be just the web interface since I get HTML back (see below). Can't tell if you're saying I should or shouldn't use 443. I tried exposing it anyway and got
Edit: Found part of the problem. I had the trailing slash at the end of the url in the homepage config and that was probably breaking the url for the API call.
That fixed it for the service widget but not the main widget at the top of the page. It now says "Please wait" but never comes back with anything. Still nothing in the logs. Interesting that there was nothing in the logs earlier either when it was the hard error before. |
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. |
Beta Was this translation helpful? Give feedback.
Yea, the trailing slash is the first item under troubleshooting: https://gethomepage.dev/latest/more/troubleshooting/#service-widget-errors
I'd guess re-creating the container (not just restarting) should fix things, the service and info widget literally use the same code.