-
Controller Version5.12 Describe Your Issue or QuestionI upgraded as normal using portainer, pulling the new image. This time I get a password rejection, nothing obvious in the docker logs. Expected BehaviorAllow to login Steps to ReproduceUse password manager to attempt to login. How You're Launching the Container
Container Logs
Additional ContextMy emergency reset creds work fine, and I have config backups, so I can restore if needed, but adding this in if there's a simple fix, or an issue that will affect more people. |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 30 replies
-
It might be worth looking at the |
Beta Was this translation helpful? Give feedback.
-
So I took a full volume backup just to test, restored it with latest, password failure. Then tried the same backup (a fresh copy in case anything was changed) with the 5.9 version, all good. I wonder if there's something strange with my setup that causes this, because that sounds like something not on your end. |
Beta Was this translation helpful? Give feedback.
-
Same problem here, no logs present in my persisted volume folder. I don't have any recent backups other than a snapshot of the vm. Restored that which was v5.9.31 and all works well again. |
Beta Was this translation helpful? Give feedback.
-
I would be very curious if there is something unique about your passwords that some sort of data migration on the MongoDB backend is messing up; like special characters or something like non-ASCII characters. Are both of you running this on x86/amd64 or are either of them running on armv7l? |
Beta Was this translation helpful? Give feedback.
-
x86-64, no special characters. I use bitwarden and don't have special characters selected to avoid any possible issues. I did create a backup user that I can attempt an upgrade at some point to see if I get locked out again. |
Beta Was this translation helpful? Give feedback.
-
When I used the 5.12 version it would fail with every DB backup. When I tried with 5.9 with the same backup version no issues. I haven't tried the commit from 8 hours ago. |
Beta Was this translation helpful? Give feedback.
-
I see that there is a thread up on the TP-Link forums now: https://community.tp-link.com/en/business/forum/topic/623942 (thanks if one of you created it). I also see that someone on Reddit might have found a possible cause or at least the cause for one person. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue. No weird characters in the password. |
Beta Was this translation helpful? Give feedback.
-
OK, so if someone who is comfortable doing some semi-advanced steps could try this out, let me know:
# stop the controller gracefully
docker stop -t 60 omada-controller
# create a docker network
docker network create -d bridge mongonet
# run mongodb manually as 508:508
docker run -itd --network mongonet --name mongodb -u 508:508 -v /mydata/omada-controller/data:/opt/tplink/EAPController/data mongo:3.6.8 mongod --dbpath /opt/tplink/EAPController/data/db
# run the mongoclient web client
docker run -itd --init --network mongonet --name mongoclient -p 3000:3000 mongoclient/mongoclient
For example: mongo.movIn this example, there is a user Once you're done, stop & cleanup the containers and restart the controller: docker stop -t 60 mongodb mongoclient
docker rm mongodb mongoclient
docker network rm mongonet
docker start omada-controller |
Beta Was this translation helpful? Give feedback.
-
I have this issue, but my installation is on Raspberry. I tried those commands but it didn't work:
When I add -d arm64v8/mongo to the "docker run" cmd, it runs ok, but when I go to the web page http://homeassistant.local:3000/ I don't get any answer. Any help on debugging that would be much appreciated :) |
Beta Was this translation helpful? Give feedback.
-
I've just posted this reply in the TP-Links forums post:
|
Beta Was this translation helpful? Give feedback.
OK, so if someone who is comfortable doing some semi-advanced steps could try this out, let me know:
omada-controller
/mydata/omada-controller/data
uid:gid
of your controller container is 508:508# stop the controller gracefully docke…