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

×
Reply
Highlighted
Ubiquiti Employee
Posts: 327
Registered: ‎05-28-2012
Kudos: 217
Solutions: 34

AC2 Beta22 released!

[ Edited ]

Hi all,

 

releasing AC2 Beta22 with follow changes:

 

- New: Added malware cleanup utility
- Fix: AC2 client is broken after manually adding ToughSwitch

 

Malware cleanup is accessible using device context menu More > Malware Cleanup. Works for both monitored and not monitored devices.

 

Example:

 

2016-05-18_17-44-12.gif

 

To fix AC2 client after manually adding ToughSwitch add -DrepairData to the airControl2Server.vmoptions file and restart server.

 

IMPORTANT NOTES: 

 

Starting with v2.0-Beta19 release we are using PostgreSQL as our database back-end. We chose PostgreSQL for its known stability, compatibility and available management tools. It should resolve issues AC2 users had with previous database implementation.

 

For simplified installation we provide a bundled version of PostgreSQL together with AC2 installer and guide through configuration process. You can also choose to use PostgreSQL installation you already have. We support PostgreSQL 9.4 and up.

 

Upgrading from previous versions

Beta22 supports upgrade from Beta11 or later. But we strongly recommend upgrading to Beta18 first.

Upgrade procedure is available from installer but can also be run later using shell script run_migration. AC2 server will not start if migration is pending. No data will be removed automatically during or after migration is done. Old database directory will be move to backup and can be removed manually by user. Make sure that you have enough free disk space for new database. Resulting database will be about half the size of old database. So make sure you have at least 100% more free space than you db directory currently is occupying.

 

32 bit and 64 bit installers

We provide different installers for 32 and 64 bit java. Make sure you have a correct version of Java installed.

If you get errors like java.exe is damaged on windows it is very likely that you are using incorrect version of java.

 

Desktop client upgrade

Desktop client upgrade using installer is strongly recommended.

 

Disk space requirements for server

Data compression used by PostgreSQL allowed us to reduce disk usage up to 50% of original data files size. However if you are upgrading, make sure that your free disk space amount is at least the size of current db.

 

Windows and antivirus service

You might need to disable your antivirus if you are having problems installing AC2 on Microsoft Windows.

 

Manually setting up PostgreSQL

PostgreSQL 9.4 or later ir required. We strongly recommend using latest version of PostgreSQL.

You only need to create new database and create database user with write permissions. Database schema will be initialized by AC2 automatically.

You should provide db settings during installation. Later you can edit ac_server.properties file to modify any database connection properties manually.

 

Running run_migration script

The script must be started with following parameters: <number of months|all>, 'airControl2Server'. First parameter tells how many months in the past migration process should look for statistics data to migrate. If 'all' or 0 option is specified, all statistics data will be migrated. Second parameter is name of AirControl2 service that must be started after migration finished. Script usage examples:

run_migration all airControl2Server - migrates all statistics data;

run_migration 6 airControl2Server - migrates last 6 months of statistics data.

 

Download:

Windows Server/Client installer 64bit: aircontrol-v2.0-beta22.1878.160518.1756-win64.exe

Windows Server/Client installer 32bit: aircontrol-v2.0-beta22.1878.160518.1756-win32.exe

 

Linux Server/Client installer 64bit: aircontrol-v2.0-beta22.1878.160518.1756-unix64.bin

Linux Server/Client installer 32bit: aircontrol-v2.0-beta22.1878.160518.1756-unix32.bin

 

Mac OS Client installer: aircontrol-v2.0-beta22.1878.160518.1756-mac.dmg

 

Enjoy using it and please report new problems or usability change requests in separate threads. 

 

Thanks,
Karolis

Reply