Ubiquiti is using mongodb 3.6 in its installation instructions for self-hosting the UniFi controller.
Support for mongodb 3.6 ended in April 2021, as far as I can tell.
So while I've got an up to date UniFi installation, the database behind it is *very* old.
Updating mongodb to something more modern (e.g. 7) is painful.
Very painful.
Fortunately - with lots of backups - uninstalling mongodb 3.6 and purging unifi, then installing mongodb 7 and reinstalling unifi, then restoring unifi from backup, worked.
#Linux #FOSS #selfhosting
Borris
in reply to Neil Brown • • •You've probably seen the script at glennr.nl/s/unifi-network-cont…
Fortunately, that installs all the latest stuff, which is fine for a new install. Not sure how it would handle a really old database format, though, as I don't have a UniFi installation that goes back that far.
Glenn R.
glennr.nlNeil Brown
in reply to Borris • • •Borris
in reply to Neil Brown • • •