MongoDB installation issues in UniFi Controller on Ubuntu 18.04 Problem encountered during setup
MongoDB installation issues in UniFi Controller on Ubuntu 18.04 Problem encountered during setup
I've searched extensively online but still face the issue. My UniFi controller is operational, yet I can't access the web interface. The problem seems linked to a corrupted MongoDB installation. It functioned properly in version 17.10, but after upgrading to 18.04, the connection broke due to MongoDB incompatibility. I attempted to reinstall via the official site, but now apt upgrades trigger errors. The missing dependencies include mongodb-server, mongodb-org-mongos, and mongodb-org-tools. I tried running 'apt --fix-broken install' and it helped partially. Some packages like mongodb-org-mongos and mongodb-server are still missing. I recommend using 'sudo apt autoremove' to clean up unnecessary items and then installing the required packages. Let me know if you'd like further guidance.
There are conflicting repositories (mongodb-server-core and mongodb-org-server). They appear to be duplicates, so installation cannot proceed. Clear all Mongo packages and repositories as Ubuntu supplies its own versions, then retry.
I attempted to clean up mongodb and mongoldb-org using apt purge, but they kept prompting for "--fix broken installation" instead.
Debian has some issues. Consider using dpkg and removing mongodb-server-core.
Run the removal commands first, then continue with setup. Ubuntu 19.04: add configuration files and update repos. Install Unifi using the provided instructions. Source: https://help.ubnt.com/hc/en-us/articles/...-or-Ubuntu