Unifi Network App (migration)
Last updated
Last updated
Soo since the previous ghcr.io/linuxserver/unifi-controller:latest is going End of life 2024-01-01 its time to migrate.
"Official" Docs: https://github.com/linuxserver/docker-unifi-network-application
I run my stuff using Portainer so the guide will be made for that, but its still docker-compose files so its should work elsewhere as well
Make sure you know you AP password, if not I found mine under
So make sure you jot that down for future use as well....
Export configuration by going to Settings -> System -> Backups
If you want historic data with you, choose how many days back you want to download
In Portainer shut down you previous Stack
SSH to your Portainer host and create this file /tmp/init-mongo.js
Change "myFunnyPassword" to something else
Create a new Stack with this docker-compose
Start the stack
You should now be able to access your UI, choose restore from backup. Once the backup has been restored, you should be able to login using your old credentials.
SSH to your APs, ssh username@<ip>
run set-inform http://ip-to-controller:8080/inform
Done and done
Once all set up, you should delete the init-mongo.js file from the portainer hos and remove the line from the Portainer Stack