install_unifi_on_ubuntu
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
install_unifi_on_ubuntu [2018/07/15 08:58] – juckins | install_unifi_on_ubuntu [2023/01/09 21:13] – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Install Unifi controller on Ubuntu ==== | ==== Install Unifi controller on Ubuntu ==== | ||
+ | |||
+ | //Follow [[https:// | ||
+ | //<color # | ||
+ | |||
+ | __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 / | ||
+ | |||
+ | Then do the following: | ||
+ | |||
+ | sudo service mongodb stop (or find processID and kill it) | ||
+ | sudo rm -rf / | ||
+ | sudo service mongodb start (or reboot) | ||
+ | |||
+ | The WiredTigerLog files in / | ||
+ | |||
+ | 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. | ||
+ | |||
+ | sudo apt-key list | grep -A 1 expired | ||
+ | | ||
+ | Copy the 40-hex-digit fingerprint and run: | ||
+ | |||
+ | sudo apt-key adv --keyserver hkp:// | ||
+ | | ||
+ | where $FINGERPRINT is the value you copied (if it contains spaces, put quotes around it). | ||
+ | |||
+ | __8 Nov 2019__ | ||
+ | |||
+ | Updated to version 5.12.22 | ||
+ | |||
+ | __11 Oct 2019__ | ||
+ | |||
+ | Unifi controller update log: | ||
+ | |||
+ | * Initial version 5.7.23 | ||
+ | * 11 Oct 2019 - upgraded to 5.11.50 | ||
+ | * Needed help from author as I had an unsupported version of mongodb | ||
+ | * Make backup of your controller | ||
+ | * Purge unifi and mongodb | ||
+ | * apt purge unifi mongod* -y | ||
+ | * Install the controller again | ||
+ | * Restore the backup | ||
+ | |||
+ | < | ||
+ | dpkg -l | grep unifi | ||
+ | dpkg -l | grep mongo | ||
+ | dpkg --remove --force-remove-reinstreq unifi | ||
+ | wget https:// | ||
+ | apt purge unifi mongod* | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | |||
+ | __12 Sep 2019__ | ||
+ | |||
+ | Could not connect to the local Unifi controller monitoring webpage. | ||
+ | |||
+ | __Main install notes__ | ||
+ | |||
These instructions were validated for unifi controller v5.7.23 being installed on Ubuntu 18.04 LTS. | These instructions were validated for unifi controller v5.7.23 being installed on Ubuntu 18.04 LTS. | ||
Line 7: | Line 140: | ||
* Review the [[https:// | * Review the [[https:// | ||
* As of 14 July 2018, add TCP ports 8080, 8443 and UDP 3478 to public/ | * As of 14 July 2018, add TCP ports 8080, 8443 and UDP 3478 to public/ | ||
+ | * Also add 8880 if you want guest portal access | ||
* Note: Enabling Cloud Access and accessing the controller via [[https:// | * Note: Enabling Cloud Access and accessing the controller via [[https:// | ||
Line 14: | Line 148: | ||
$ mkdir downloads | $ mkdir downloads | ||
</ | </ | ||
- | Download the latest controller software from [[https:// | + | Download |
< | < | ||
apt-get install ./ | apt-get install ./ | ||
</ | </ | ||
- | Fix / | + | Fix / |
+ | < | ||
+ | $ cd /usr/bin | ||
+ | $ sudo -s | ||
+ | $ mv mongod mongod.bin | ||
+ | </ | ||
+ | Replace mongod with the following: | ||
+ | < | ||
+ | # | ||
+ | cleaned_args=$(echo $* | sed -e 's/--nohttpinterface//' | ||
+ | exec / | ||
+ | </ | ||
+ | Fix permissions: | ||
+ | < | ||
+ | $ chmod +x mongod | ||
+ | </ | ||
+ | Restart services: | ||
+ | < | ||
+ | $ systemctl restart unifi | ||
+ | $ systemctl status unifi | ||
+ | </ | ||
+ | If desired, cat / | ||
+ | |||
+ | Now you may use the VM or another machine to access the webpage on the virtual machine' | ||
+ | |||
+ | If the AP can't be found, do the following: | ||
+ | |||
+ | ssh to AP IP address and login as ubnt, using the default password ubnt. You may need to factory reset the controller if the password has been changed. | ||
+ | |||
+ | Tell the AP where the controller software is running (IP below is VirtualMachine noted above): | ||
+ | < | ||
+ | set-inform http:// | ||
+ | </ | ||
+ | Then login to the controller and adopt the AP. | ||
+ | |||
+ | NOTE: If the controller won't adopt, you may have to factory reset it by logging via ssh and issuing hte command 'set-default' | ||
+ | |||
+ | Always follow the instructions when you ssh into the AP...you may need to run the "set-inform" | ||
+ | |||
+ | Additional notes on adopting a new AP: https:// | ||
+ | __Other notes__: | ||
+ | * [[https:// | ||
+ | * To get to the AP properties which list the radio channels and power output, click on " |
install_unifi_on_ubuntu.txt · Last modified: 2023/01/09 21:17 by juckins