odb2013 Posted April 30, 2016 Share Posted April 30, 2016 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! Quote Link to comment
Pducharme Posted May 10, 2016 Author Share Posted May 10, 2016 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. Quote Link to comment
Bjonness406 Posted May 10, 2016 Share Posted May 10, 2016 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? Quote Link to comment
Pducharme Posted May 10, 2016 Author Share Posted May 10, 2016 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. Quote Link to comment
Bjonness406 Posted May 10, 2016 Share Posted May 10, 2016 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? Quote Link to comment
Pducharme Posted May 10, 2016 Author Share Posted May 10, 2016 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. Quote Link to comment
Bjonness406 Posted May 10, 2016 Share Posted May 10, 2016 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? Quote Link to comment
H2OKing Posted June 2, 2016 Share Posted June 2, 2016 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. Quote Link to comment
Bjonness406 Posted June 2, 2016 Share Posted June 2, 2016 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 5.0.6 Would be nice if you could update the docker when you have time pducharme Quote Link to comment
Pducharme Posted June 3, 2016 Author Share Posted June 3, 2016 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 Quote Link to comment
mgworek Posted June 3, 2016 Share Posted June 3, 2016 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)" Quote Link to comment
Bjonness406 Posted June 4, 2016 Share Posted June 4, 2016 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). Quote Link to comment
mgworek Posted June 5, 2016 Share Posted June 5, 2016 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. Quote Link to comment
jrdnlc Posted June 5, 2016 Share Posted June 5, 2016 Not working here for me even after i restart the docker. Same error as above Quote Link to comment
Pducharme Posted June 6, 2016 Author Share Posted June 6, 2016 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. Quote Link to comment
savestheday Posted June 6, 2016 Share Posted June 6, 2016 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 Quote Link to comment
mgworek Posted June 6, 2016 Share Posted June 6, 2016 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 Quote Link to comment
savestheday Posted June 6, 2016 Share Posted June 6, 2016 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 Quote Link to comment
spirix Posted June 7, 2016 Share Posted June 7, 2016 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. Quote Link to comment
savestheday Posted June 9, 2016 Share Posted June 9, 2016 Update: ever since updating the docker to 5.0.7, the keystore is no longer recognized I think it's a Symlink issue 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? Quote Link to comment
mgworek Posted June 15, 2016 Share Posted June 15, 2016 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. Quote Link to comment
H2OKing Posted June 15, 2016 Share Posted June 15, 2016 i'm on 5.0.7 and the docker keeps telling me there is an update? Quote Link to comment
Pducharme Posted June 15, 2016 Author Share Posted June 15, 2016 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... Quote Link to comment
savestheday Posted June 15, 2016 Share Posted June 15, 2016 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. Quote Link to comment
Pducharme Posted June 15, 2016 Author Share Posted June 15, 2016 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. Quote Link to comment
Recommended Posts
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.