-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
no more login to docker unifi-network-application with mongo db #101
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
did you find a solution? i have the same issue! |
No, not really. I tried everything, multiple installations with different mongo-db versions, docker-compose.yml settings but nothing worked. The container runs smoothly at the beginning, you can log in, everything is ok, but after a few hours nothing works anymore. No possibility to log in anymore. I suspect it's a problem with the separate mongodb database. Hopefully the Github team will take a closer look at this error. I'm still on the latest unifi-controller docker version, which at least runs stable. |
Solution found, everything works now. I looked at the github page https://github.com/linuxserver/docker-unifi-network-application again and saw that the initialization of the mongo db is no longer done with the init-mongo.js script but with an init-mongo.sh script. Important! First, delete the content of the database and the config directory. Then, create the init-mongo.sh script as described in the HowTo, set u+x, build a suitable docker-compose.yml and start the containers with docker compose up -d and it should work. services: unifi-db: unifi-network-application: networks: The docker conatiners run since 2 days and login is possible every time. Regards, |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Is there an existing issue for this?
Current Behavior
I migrated from unifi controller 8.0.24 to 8.2.93 or latest version of docker unifi-networking-application. I followed the instructions exactly and imported a previously created backup of the old controller after starting the container for the first time. Everything is ok so far, but I can only log in for a few hours and then nothing works. Incorrect user or password. The server.log file is full of strange error messages. when these messages come up in the log, login is not possible anymore.
Expected Behavior
I've tried all sorts of mongo db versions, different unifi docker tags but always the same. Migration successful and after a few hours of operation the web interface no longer lets me log in. I probably have to go back to the unifi-controller version, which doesn't get any updates anymore but at least it works. What could be the cause?
Steps To Reproduce
see current behavior
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: