Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


install_unifi_on_ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
install_unifi_on_ubuntu [2019/10/13 13:59] juckinsinstall_unifi_on_ubuntu [2023/01/09 21:17] (current) juckins
Line 1: Line 1:
 ==== Install Unifi controller on Ubuntu ==== ==== Install Unifi controller on Ubuntu ====
  
-__11 Oct 2019__+//Follow [[https://community.ui.com/questions/UniFi-Installation-Scripts-or-UniFi-Easy-Update-Script-or-UniFi-Lets-Encrypt-or-Ubuntu-16-04-18-04-/ccbc7530-dd61-40a7-82ec-22b17f027776|these easy update instructions]] to install latest [[https://www.ui.com/download/unifi/|Unifi controller on Ubuntu]] and run once per month.//\\ 
 +//<color #ed1c24>Make a copy of the VM first (keep NAT settings to force same IP), shut it down, and use the copy VM as a test.</color>//
  
-Follow [[https://community.ui.com/questions/UniFi-Installation-Scripts-or-UniFi-Easy-Update-Script-or-UniFi-Lets-Encrypt-or-Ubuntu-16-04-18-04-/ccbc7530-dd61-40a7-82ec-22b17f027776|these easy update instructions]] to install latest Unifi controller on Ubuntu and run once per month. Make a copy of the VM first (keep NAT settings to force same IP), shut it downand use the copy VM as a test.+__22 May 2022__ 
 + 
 +Updated to version 7.1.65 
 + 
 +__20 Apr 2022__ 
 + 
 +Updated to version 7.0.25 
 + 
 +__31 Dec 2021__ 
 + 
 +Updated to version 6.5.55 
 + 
 +__10 Oct 2021__ 
 + 
 +Updated to version 6.4.54 
 + 
 +__18 Jul 2021__ 
 + 
 +Updated to version 6.2.26 
 + 
 +__24 May 2021__ 
 + 
 +Updated to version 6.2.25 
 + 
 +__29 Jan 2021__ 
 + 
 +Updated to version 6.0.45 
 + 
 +__27 Jan 2021__ 
 + 
 +Disk space is running low and /var/lib/mongodb/journal/* has lots of files in it.  On a test VM, modify /etc/mongod.conf to add in small files for journal.  See https://docs.mongodb.com/v3.4/reference/configuration-options/  
 + 
 +Then do the following: 
 + 
 +  sudo service mongodb stop (or find processID and kill it) 
 +  sudo rm -rf /var/lib/mongodb/journal/
 +  sudo service mongodb start (or reboot) 
 + 
 +The WiredTigerLog files in /var/lib/mongodb/journal/* are still 100MB large but after testing the Unifi app with the old journals cleared out the web application is responding normally. 
 + 
 +Since the test VM still had 100MB journal files, did not do that on the primary VM. 
 + 
 +__9 Jan 2021__ 
 + 
 +Updated to version 6.0.43 
 + 
 +__6 Dec 2020__ 
 + 
 +Updated to version 6.0.41 
 + 
 +__23 Nov 2020__ 
 + 
 +Updated to version 6.0.36 
 + 
 +__27 Oct 2020__ 
 + 
 +Updated to version 6.0.28 
 + 
 +__18 Sep 2020__ 
 + 
 +Updated to version 6.0.22 
 + 
 +__23 Aug 2020__ 
 + 
 +Updated to version 5.14.22 
 + 
 +__20 Jul 2020__ 
 + 
 +Updated to version 5.13.32 
 + 
 +__19 Jun 2020__ 
 + 
 +Updated to version 5.13.29 
 + 
 +__16 May 2020__ 
 + 
 +Updated to version 5.12.72 
 + 
 +__27 Mar 2020__ 
 + 
 +Updated to version 5.12.66 
 + 
 +__24 Jan 2020__ 
 + 
 +MongoDB 3.4 keys expired.  Fix following steps in https://stackoverflow.com/questions/34733340/mongodb-gpg-invalid-signatures 
 + 
 +  sudo apt-key list | grep -A 1 expired 
 +   
 +Copy the 40-hex-digit fingerprint and run: 
 + 
 +  sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys $FINGERPRINT  
 +   
 +where $FINGERPRINT is the value you copied (if it contains spacesput quotes around it). 
 + 
 +__8 Nov 2019__ 
 + 
 +Updated to version 5.12.22 
 + 
 +__11 Oct 2019__
  
 Unifi controller update log: Unifi controller update log:
Line 89: Line 188:
 Then login to the controller and adopt the AP.   Then login to the controller and adopt the AP.  
  
-Always follow the instructions when you ssh into the AP...you may need to run the "set-informcommand again.+NOTE:  If the controller won't adopt, you may have to factory reset it by logging via ssh and issuing hte command ''set-default'' See tips at [[https://lazyadmin.nl/home-network/unifi-adoption-failed/]] 
 + 
 +Always follow the instructions when you ssh into the AP...you may need to run the ''set-inform'' command again.
  
 Additional notes on adopting a new AP:  https://help.ubnt.com/hc/en-us/articles/360012622613-UniFi-Device-Adoption Additional notes on adopting a new AP:  https://help.ubnt.com/hc/en-us/articles/360012622613-UniFi-Device-Adoption
install_unifi_on_ubuntu.1570989559.txt.gz · Last modified: 2019/10/13 13:59 by juckins