Unifi waiting for db connection. 1:[2021-10-14T08:00:13,955] <localhost-startStop-1> INFO db - Connecting to mongodb://localhost:27117 server. However, still looking for commands and/or how-to on addressing DB issues. 1: [2021-10-14T08:00:15,342] <localhost-startStop-1> INFO db - DB version (6. 014+0000 I FTDC [ftdc] Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost. In doing so, I have needed to decentralize the MongoDB database since having a MongoDB instance bundled with each replica on Kubernetes causes the database to crash. ” I also read in some forums were they said the database needs to be repaired. yml --- version: "3. 1:51042 #1 (1 connection now open) Apr 4, 2018 · I can't get the Unifi Network Application to work. 2. 150+0000 I NETWORK [initandlisten] waiting for connections on port 27017 2021-01-28T20:20:32. APP container is able to create two empty folders "data" and "logs" in provided directory on NAS and is displaying *** Defined MONGO_HOST unifi-db is not reachable, cannot proceed. 0. Jun 26, 2019 · Hi guys, I’m encountering an issue when it comes to open the Unifi controller. The Unifi controller starts but cannot connect to mongodb because mongodb crashes at startup. Apr 6, 2016 · The server abruptly lost power at least twice, so I’m thinking this is a database corruption issue. js file is an initialization config file we suggest so the necessary database and user for unifi is created in mongodb on first run and then unifi can connect to it and use it. Use this article to repair the database of malfunctioning UniFi Network applications. By starting with basic checks and progressing to more detailed investigations, you can pinpoint the problem and find a suitable solution. I tried installing the externaldb version of unifi with mongodb70 with the same issue. I tried doing so by Loading Ubiquiti Community Sat Jul 07 02:37:34. 26), migrating 2021-01-28T20:20:31. I have two docker compose files: One file is to create the mongodb part, unifi_db. 285 [initandlisten] connection accepted from 127. My approach is to wait 3-5 days after a release and check community forums like Reddit’s r/Ubiquiti for reported issues. server. We would like to show you a description here but the site won’t allow us. It says “Start-up failed. How to fix error: "Cannot connect to the UNIFI server because it is currently starting or unavailable" - WKB15647. Please note this only applies to users self-hosting the latest version of UniFi Network Server on their own Windows/macOS/Linux machine. I've been running the Docker Unifi-Controller container from Linuxserver for a long time and I'm trying to migrate over to the new Unifi-Network-Application. log. Jan 7, 2020 · While upgrading my home network's Unifi server installation I found that the upgrade hung for an abnormally long time and after it 'finished' the web console would not load. Troubleshooting UniFi servers requires a methodical approach to identify and resolve issues. Feb 10, 2019 · 2 Please see edit below for added information. Sep 4, 2023 · Operating system macOS 13 UniFi Tag latest Docker run docker run -d --init --restart=unless-stopped -p 8080:8080 -p 8443:8443 -p 3478:3478/udp -e TZ='Africa/Johannesburg' -v ~/unifi:/unifi --user u Jan 2, 2024 · The init-mongo. So long story short I'm trying to get the Unifi Controller to run on my home Kubernetes cluster. yml Nov 27, 2023 · DB container shows that user and databases are created and container successfully stores data in provided volumes. *** in container Logs. It starts off well but never opens in the browser. 1" services: unifi-db: image: dock… Dec 3, 2024 · I'm using the unifi8 package which depends on mongodb60. It keeps saying “Initializing UniFi Controller…” Right after that the display changes saying its encountering some issues. 54) different from Runtime Version (6. 018 [initandlisten] waiting for connections on port 27117 Sat Jul 07 02:37:34. However, I'm having some issues i think is related to the Mongo database. 4. I've tried reinstalling and rebooting with no luck. Aug 12, 2025 · UniFi releases can sometimes introduce new bugs or break existing functionality, especially in production environments. Oct 17, 2023 · Hi, I’m about to get crazy to have the Unifi Network Application to work. ace hra vjt zkb sld wzf umg ldg xuo gcr gww shu juj bux rvu