Open shredman01 opened 1 month ago
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.
did you find a solution? i have the same issue!
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. Logs can be checked with a docker logs -f unifi-network-application
services:
unifi-db: image: mongo:6.0.16 container_name: unifi-db hostname: mongo-unifi mem_limit: 2g environment:
27017:27017 volumes:
unifi-network-application: image: lscr.io/linuxserver/unifi-network-application:latest container_name: unifi-network-application depends_on:
networks: default: driver: bridge ipam: driver: default config:
The docker conatiners run since 2 days and login is possible every time.
Regards, Frank
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