When I do this, I get the following errorOk, make a new file call unifi-latest.yaml, paste in the code below and save it to opt/mycontainers. It will show in the Community Apps and you can install it from there.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ unifi-latest - Now Installing! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ERROR! the playbook: /opt/communityapps/apps/unifi-latest.yml could not be found
I've ensured I'm running 8.6.4, but I'm still getting 5.6.42 installed from the community apps section.
I managed to get it working doing the following.I'm not sure I follow how this is supposed to work on a local host? I try ti migrate my AP's from my local controller to the unifi app running on PGBlitz docker. I've tried opening the ports with PG PortGuard and still can't get it to work. Can anyone provide some step-by-step info on how they were able to do this?
You have to wait a while.. for it to adopt. I’ve decommissioned my home server due to moving so if I get chance tomorrow I shall see if I can set it up on a docker on me laptopThanks @Barrow1990 , but I was pretty good up until that part. Getting my AP's to be seen by the new unifi container in PG Blitz is where my issue is. I tried with PortGuard ports both opened and closed and the AP's still do not see the controller. Any ideas? Obviously I have it working at home now without the container in PG Blitz, so it has to be a docker networking hurdle on my end somewhere.
it times out and migration fails. its like my AP's cannot reach the unification running behind Traefik.You have to wait a while.. for it to adopt. I’ve decommissioned my home server due to moving so if I get chance tomorrow I shall see if I can set it up on a docker on me laptop
yes, I guess the main issue is how does PGBlitz handle the 8080 ports being exposed necessary for the AP to communicate with the controller? Should I have my ports opened or closed? also is there a way to have 8080 open but the rest of the ports closed...etc.. Just curious how others got it working... out of the box it doesn't seem to work for me.Did you try to overwrite controller Hostname / IP in the controller settings as shown below? It is mentioned here - https://www.smarthomebeginner.com/install-unifi-controller-on-docker/
View attachment 3486
I have redeployed my own server yesterday and need to move my controller to this. So I will also try to see if I can get it to work.
@Barrow1990 are you running with port guard open for the ports? IF not, is there a way to just open the ports for unifi container?For anyone thats stuggling.
Ive managed to figure it out again.
I was running round in circles to get it working.
I had a thought is the port even open?
So investigating portainer found that the external port for the inform is actually 8088 and not the standard 8080
I managed to get it working doing the following.
- Disable "Override inform host with controller hostname/IP" In Controller
- Take a back up of your original Controller
- At Settings / Maintenance / Back-Up
- Load up the Docker container on your current PGBlitz Set-Up
- Either Set Up A New Controller or Import your BackUp
- Export Every Site you want to transfer (I Just had 1)
- At Settings / Site / Export Site & Follow WIzard
- Please note:
- If you have started a fresh controller you will have to import it.
- If you just import the backup at step 2 then it should auto connect
- Please also note your new inform will be http://unifi.domain.com:8088/inform
Im unsure if its worth setting Controller / Controller Hostname/IP to the above inform.
Ive now also got an issue where the controller is complaining about the device not being able to connect to the STUN server
You should be able to use FQDN.