You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to setup goofball222/unifi:latest-alpine on a synology (Docker version 18.09.8, build 2c0a67) as I would like to use a seperate docker container running mongodb.
However I am still able to access the UI on https://...:8443. But when asked for my Ubiquiti credentials I get an Invalid username or password, please try again. in return. However my credentials are fine for sure! Double and tripple checked on https://unifi.ui.com/. I have also ensured that I have a clean setup (meaning fresh mongo and unifi container, with empty mount points).
What is going on here?
[2019-12-04T23:06:51,237] XXX <webapi-2> WARN api - failed to authenticate to SSO: Cloud operation failed! RC=403, error: {"detail":"Invalid credential"}
[2019-12-04T23:06:51,238] XXX <webapi-2> INFO api - [api] api.err.IncorrectUbicCreds: /api/cmd/cloudaccess
Here the output of docker inspect goofball222/unifi:latest-alpine
I guess I can reproduce this now. It seems as if the TZ variable or/and DEBUG=true is the culprit... though no idea why. When removing the TZ variable and set DEBUG=true I can login, though I later on receive a "Can't configure controller" when trying to finish the setup wizard... crazy
The WebRTC library that UniFi uses is linked to specific versions of system libraries that aren't available in the Alpine Linux system by default. It's on my to-do list to pick that apart and figure out exactly what it links to and see if I can make it work under Alpine, I just haven't gotten around to it. In the meantime if you need WebRTC/UI cloud functionality you would need to run the Debian based image.
The Debian image is set up to function with an externalized MongoDB as well. It'll just consume some additional space (currently ~40MB more when packed) and have the Mongo 3.4 files available, but unused.
Give it a shot with the Debian goofball222/unifi:latest tag and let me know if you're still having issues getting the cloud access connected.
Also, I don't recommend running at all with DEBUG=true, as you found it can cause some really funky things... Both the container init script and the UniFi software respect it when it's enabled and it can cause unexpected things in the controller. You may need to go in and edit the UniFi data/system.properties file to remove the debug=true line from there as well.
Hello
I am trying to setup
goofball222/unifi:latest-alpine
on a synology (Docker version 18.09.8, build 2c0a67) as I would like to use a seperate docker container running mongodb.This are my Environment Variables
When I start the container I see the following:
However I am still able to access the UI on https://...:8443. But when asked for my Ubiquiti credentials I get an
Invalid username or password, please try again.
in return. However my credentials are fine for sure! Double and tripple checked onhttps://unifi.ui.com/
. I have also ensured that I have a clean setup (meaning fresh mongo and unifi container, with empty mount points).What is going on here?
Here the output of
docker inspect goofball222/unifi:latest-alpine
The text was updated successfully, but these errors were encountered: