Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[support] pducharme's Dockers support thread

Featured Replies

I just installed this, and I followed Pducharme's instructions to setup the properties file and it worked just fine. I did it by ssh-ing into unraid and using:

 

cd /user/appdata/unifi-video

sudo touch system.properties

sudo nano system.properties

 

and added the required line.

 

However, i could not get cameras to reliably connect to the docker.

 

I ended up installing a Ubuntu VM and running it on that and it works perfectly. Perhaps a port forwarding issue?

 

This worked for me - thanks!

  • 2 weeks later...
  • Replies 685
  • Views 162.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Glad to help, I was happy to find one that already exists and worked out of the box!

  • Hi,   To get inside the running docker, you can do the following :   Open an SSH connection to your Unraid Server (or on the server running the docker). Type:  docker exec

  • Hi Graham,   Just updated the UniFi to 5.5.24.  I also created a Beta branch, currently having 5.6.19.  (To get Beta branch, edit in advance mode the Docker page and change the repo by putti

Posted Images

  • Author

UniFi docker Update.  4.8.18 now in the UniFi docker. 

 

1. Backup your settings using the UniFi docker.

2. Update the docker.

3. Add back the "is_default=true" in the "system.properties" file in the appdata/UniFi folder.

4. Restart the docker and connect to the Web GUI.  Wizard is displayed.

5. Select the link in the GUI to restore a backup and then load the file you backed-up.

3. Add back the "is_default=true" in the "system.properties" file in the appdata/UniFi folder.

I don't have this file, what to do then?

  • Author

3. Add back the "is_default=true" in the "system.properties" file in the appdata/UniFi folder.

I don't have this file, what to do then?

 

You can create the file and just put a single line with the setting I said.

3. Add back the "is_default=true" in the "system.properties" file in the appdata/UniFi folder.

I don't have this file, what to do then?

 

You can create the file and just put a single line with the setting I said.

Okey :) What is the purpose of the file/line btw?

  • Author

On new install, its to have the wizard running when launching the Web gui.  On update, it's to let you put back the backup settings you did before updatIng the docker.

On new install, its to have the wizard running when launching the Web gui.  On update, it's to let you put back the backup settings you did before updatIng the docker.

Well I got the wizard up launching now, and selected restore from backup (without the file), what am I missing? :)

  • 4 weeks later...

Thank you so much for this docker. Are you going to have 5.x when it comes out? I've been playing with the beta on win10 and it's really nice.

Thank you so much for this docker. Are you going to have 5.x when it comes out? I've been playing with the beta on win10 and it's really nice.

UniFi V5 is out now :D 5.0.6

 

Would be nice if you could update the docker when you have time pducharme :)

 

  • Author

Already did.  But I can't download it anymore!  My docker compiled OK on Docker.io, but when I try to add it on Unraid, I aways get this message :

 

Can someone try and let me know if it worked for them ?  Dont forget to backup the Settings Before! so you can do the restore.

 

Finally, updated and working., now UniFi 5.0.6 available for everyone :)

when trying to load it I get an error in the logs.

 

"keytool error: java.io.FileNotFoundException: /usr/lib/unifi/data/keystore (No such file or directory)"

 

when trying to load it I get an error in the logs.

 

"keytool error: java.io.FileNotFoundException: /usr/lib/unifi/data/keystore (No such file or directory)"

Getting the same error, but Unifi is working fine for me (after a restart).

when trying to load it I get an error in the logs.

 

"keytool error: java.io.FileNotFoundException: /usr/lib/unifi/data/keystore (No such file or directory)"

Getting the same error, but Unifi is working fine for me (after a restart).

 

Restart didn't help me. Still have same error. I ordered their Gateway last week so I will be good once it gets here. I was just trying to to be up to date with my current setup before I export my config.

Not working here for me even after i restart the docker. Same error as above

  • Author

I see that error too, but the docker works for me, so I don't really know.  I found out that it take about 30sec or 1 minute before the web UI is accessible after a start.

Does anyone know how to upload your own keystore file to the UniFi 5 docker? It appears it's in the /usr/lib/unifi folder but the only folder thats mapped /var/lib/unifi

 

If I map /usr/lib/unifi to a local folder the docker fails to start. Any idea on what I can do here?

 

EDIT

 

hmmm somehow it started working. I docker exec'd in, deleted the old keystore, restarted the Docker and it made me go through the setup again. It appears to be using my cert now. I really have no idea how I did this :)

Does anyone know how to upload your own keystore file to the UniFi 5 docker? It appears it's in the /usr/lib/unifi folder but the only folder thats mapped /var/lib/unifi

 

If I map /usr/lib/unifi to a local folder the docker fails to start. Any idea on what I can do here?

 

EDIT

 

hmmm somehow it started working. I docker exec'd in, deleted the old keystore, restarted the Docker and it made me go through the setup again. It appears to be using my cert now. I really have no idea how I did this :)

 

any chance you can explain how you deleted the file?

 

Thanks

Sure.

 

docker exec -it UniFi /bin/bash

cd /usr/lib/unifi

rm keystore

 

I was asked to confirm the removal. Once I restarted the Docker, the app data folder now had a full config (even tho I had not mapped that like I did previously).

 

Btw, Ubiquiti has an article on how do this in a more official way (I used Keystore Explorer from a UBNT forum post)

 

https://help.ubnt.com/hc/en-us/articles/212500127-UniFi-SSL-certificate-error-upon-opening-controller-page

 

Forum post I used:

 

https://community.ubnt.com/t5/UniFi-Wireless/Your-own-SSL-key-and-cert/td-p/285508

 

when trying to load it I get an error in the logs.

 

"keytool error: java.io.FileNotFoundException: /usr/lib/unifi/data/keystore (No such file or directory)"

 

I am getting the same error, no luck on restart. Happens when I try to restore my backup file also, docker restarts and i get the same error above.

Update: ever since updating the docker to 5.0.7, the keystore is no longer recognized :(

 

 

I think it's a Symlink issue

 

2016-06-09%20at%205.02%20PM.png

 

The Docker maps to /var/lib/unifi which /usr/lib/unifi is symlinked to. It appears that the directories are totally different with what is mapped. Anyone seen an issue like this?

I never got 5.0.6 to work. I tried your instructions but didn't help me. My gateway from them came in and my 4.x install wouldn't see it so I had to install the server on my Mac in order to use it. I will keep trying this docker and the other unifi docker and hopefully one of them will work for me and the others who can't get this one to work.

i'm on 5.0.7 and the docker keeps telling me there is an update?

  • Author

Yes, I saw that it always think there is an update.  I really don't know why it does that.  I have that behavior with 2-3 other dockers too...

Hey all,

So just an update on my Unifi issues:

 

I changed the linking from /var/lib/unifi/data to /usr/lib/unifi/data and now everything works for me. I am on 5.0.7 now and I don't see an update for any new Docker.

  • Author

Where did you change that ?  i'm maintaining the docker, if I need to change something on the docker, let me know and I can update the dockerfile.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.