unifi docker will not run
I am following the instructions for the unifi docker install and after creating the docker-compose.yaml file, when I run the "sudo systemctl start docker-compose@unifi" command to start the unifi docker, it doesn't do anything. So I ran the "sudo docker-compose up -d" command and when I do that, I get the following error:
ERROR: stat /var/lib/docker/overlay2/ae5c789212afc89ad9d4eb7e7abcf145f3bd6c7822df7dfad4241809c9b93a0d: no such file or directory
When I run the "sudo docker ps" command, no dockers are running. I checked the docker image library and it looks like it got the unifi docker image. I am creating a new subnet for the docker subnet as stated in the documentation, and I am using the example subnet of 172.16.1.0/24
-
@Privero231
sudo docker container ls
will show the current containers and how long they have been up.
-
yes and I deleted the file /home/pi/.firewalla/run/docker/docker-container.yaml.
Still when I run sudo docker container ls it gives me an output that it is running and healthy. image: jacobalberty/unifi:latest
Also I was messing around and changed the subnet of the network where my unifi access was from 192.168.1.0/24 to 172.16.1.0/24
Now there is an entry for IP address for br-c39bf2638d6e: 172.16.1.1
And also there is IP address for br1: 172.16.1.1
-
The script on GitHub.com installs unifi in network 172.16.1.0/24. Does that mean that I have to use that IP address for my unifi access points or is it routable through the Firewalla Gold? For example: I have my Unifi access point in network 192.168.1.0/24. Will I be able to adopt the access point if I ssh into the access point and set the inform url to point to https://172.16.1.2:8443.
Thank you in advance.
-
For example: I have my Unifi access point in network 192.168.1.0/24. Will I be able to adopt the access point if I ssh into the access point and set the inform url to point to https://172.16.1.2:8443.
I believe that's the right approach. Leave your APs in their current network and use L3 adoption to your controller at 172.16.1.2.
I suggest adding a DNS entry for "unifi" (no domain), since the APs will automatically do an L3 adoption to that server if it resolves. See https://help.firewalla.com/hc/en-us/articles/360056024294-Guide-How-to-customize-Firewalla-DNS-service for how to add the DNS entry.
-
I want to thank you very much for all your help. I finally got it working perfectly and I can access it right from my mobile phone through the internet and I have not forwarded any ports. I am going to setup OpenVPN for my laptop so that I can remote in and login to the Unifi network application.
Again, a million thanks 👍👍👍
Please sign in to leave a comment.
Comments
14 comments