Upcoming Maintenance Alert:

The UBNT Community will be upgraded at 5pm MDT on April 25th. During this time the community forums will be set to read-only status.

Learn more

×

UniFi 3.2.7 is released

by Ubiquiti Employee ‎11-05-2014 08:49 AM - edited ‎11-05-2014 09:34 AM (102,605 Views)

UniFi - 3.2.7 is our new general availability release of UniFi 3.0. Bringing native Java 8 (1.8) support as well as other fixes/enhancements. Please see our Java 8 information thread, found HERE.

 

NOTE:

Make sure you always do a backup before any updates, especially if you plan to upgrade your existing installation.

 

Release Note

  • Bug Fixes
  • New Feature: Allow device update before adoption.

From 3.2.5->3.2.7

  • UAPs - Fixed changing wireless uplink AP channel causes download VAP to be stuck.
  • UAPs - Fixed failed to remove links between Wireless Uplink APs.
  • UAPs - Fixed Guest Portal intermittent failures reported from forum.
  • UAPs - Fixed rogue APs with PSK reported as open.
  • UAP - Fixed the failed fix for "Fixed random crash when rate limiting is enabled." reported from forum.
  • UAP Pro - Fixed panics on re-provisioning with ZH enabled/disable.
  • UAP Pro - Fixed throughput degradation after AP re-provision with clients that are 2x2 when the interface for 2Ghz is 3x3.
  • UAP AC - Corrected display of TX power. No TX power changes, only display fixes reported from forum.
  • CTRL - Fixed Insights/Past Connections only displays MAC addresses reported from forum.
  • CTRL - Fixed advanced adoption not working with IE11.
  • CTRL - UAP AC v2 will be forced to upgrade if versioning is 3.1.12 or earlier.
  • CTRL - Fixed country code list contains multiple set of countries.
  • CTRL - Fixed Poodle/SSLv3 vulnerability.
  • CTRL - Add Java 8 support.
  • CTRL - Add new feature to allow device update before adoption.
  • CTRL - Fixed upgrade will stop mFi controller from operation reported from forum.
  • CTRL - Wireless uplink only supports 4 APs.
  • CTRL - Fixed long AP alias name for wireless uplink will cause selection box to be not seen, reported from forum.

How to perform the upgrade

We're being more cautious in pushing releases to the world. Following Google's model, we'll have three release channels

  • stable (widely used, most stable)
  • rapid (soaked in beta for a while)
  • beta (cutting edge)

For Debian-based system, simply do

sudo apt-get update
sudo apt-get install unifi-rapid

How to play safe?

UniFi stores everything under <UNIFI_BASE>/data/ . Keeping a copy will get your base covered. You can even install the new version, stop it, copy the data/ over it, and restart the controller.

How to downgrade?

The DB schema is drastically different and downgrade is not possible. Make sure you have a backup of prior version. After downgrading the controller, you can downgrade the AP firmware.

Known Limitations

  • UAP-AC - Rogue AP detection will only search for rogue AP on first power up. It will not continuously update rogue AP list during runtime.
  • Zero Handoff not supported on UAP-AC yet. Currently in development.
  • Wireless Uplink not supported on UAP-AC yet. Will be release as an alpha and by invitation only in the next few weeks.

Download

UniFi Controller APT howto

  1. edit /etc/apt/sources.list
    ## Ubuntu
    deb http://www.ubnt.com/downloads/unifi/distros/deb/ubuntu ubuntu ubiquiti
    # if you're using quantal (12.04) or after, you don't need this line
    deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
    ## Debian Wheezy (7.0)
    deb http://www.ubnt.com/downloads/unifi/distros/deb/debian debian ubiquiti
    ## Debian Squeeze (6.0)
    deb http://www.ubnt.com/downloads/unifi/distros/deb/debian debian ubiquiti
    deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen
    ## Debian Lenny (5.0):
    deb http://www.ubnt.com/downloads/unifi/distros/deb/lenny lenny ubiquiti
    deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen
    
  2. add GPG Key
    # for Ubiquiti
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50
    # for mongo-10gen
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
    # or over HTTP by using hkp://keyserver.ubuntu.com:80
    
  3. update, install, and upgrade
    # retrieve the latest package information
    apt-get update
    # install/upgrade unifi package
    # there are 3 packages in the same repository 
    # . unifi       (the most stable)
    # . unifi-rapid (soaked beta/rc/stable)
    # . unifi-beta  (the cutting edge)
    # you can install / switch between them
    apt-get install unifi-rapid
    

UniFi API

A shell library, unifi_sh_api is provided with the release. here's a sample script to authorize a guest for 30 minutes

#!/bin/sh
## define required variables
username=admin
password=admin
baseurl=https://localhost:8443
site=default
## include the API library
. unifi_sh_api
unifi_login
# authorize a client for 30 minutes, limit down/up speed to 2048/1024kbps, quota is 500MB
unifi_authorize_guest "e8:17:22:10:5d:4d" 30 down=2048 up=1024 bytes=500 
# generate 10 voucher(s) valid for 60 minutes, limit down/up speed to 2048/1024kbps, quota is 500MB
unifi_create_voucher 60 10 down=2048 up=1024 bytes=500
# this returns you a token that you can call by using unifi_get_vouchers()
unifi_logout

Notes

  1. AP->Performance view is experimental. Currently it shows what the radio is doing by red (packets not sent because of likely interference) / yellow (packets retried) / green (packets sent)
  2. voucher.css and voucher.html, at data/sites/SITE_NAME/portal/bundle/, is where you can fully customize your voucher.
  3. If you have existing customized guest portal, make sure to change form="/guest/login" to form="login" - let the relative path take care of per-site URL
  4. For API access, you pretty much need to insert /s/SITENAME into the URL. (after login with an admin in for site)