UniFi Video - How to Install UFV version 3.x+ on a Legacy airVision NVR

Answer


Depending on distributor stock, you may receive a hardware NVR that has airVision 2 preloaded on it.  While airVision 2 works great for the first generation of cameras (airCam), it is incompatible with the second generation of cameras (UniFi-Video Cameras a.k.a. UVC).  Therefore, if you have UVCs, you'll need version 3 of the UniFi-Video software.  

Please note that airCams are not supported in UniFi-Video 3.2 and higher so UniFi-Video 3.0.x or 3.1.x is the maximum you'll be able to use and still support airCams.

What will you need:

  1. A powered on NVR (Ubiquiti brand, of course)
  2. The IP address for that NVR
  3. Internet connectivity from the NVR
  4. The link to download the software package (latest can be found HERE).  The link used in this article is for 3.1.5 as that is the latest version that supports airCams.  However, if you do not have airCams, then you should use the latest release found at the link.
  5. SSH capability to the NVR

Step 1:

SSH in to the NVR.  How to do this will vary depending on what operating system you're using.  If Linux or Mac, it's as simple as `ssh root@[NVR IP Address` from the terminal.  If using Windows, you'll need a program such as PuTTy or MobaXTerm.

The default credentials are root/ubnt

Step 2:

Purge airvision2 from the system:

apt-get purge airvision2

Do keep in mind that this article is explaining how to install UniFi-Video on a fresh airVision-C unit.  If you had a pre-existing airvision2 and you wish to keep the recordings, use:

apt-get remove airvision2

Step 3:

Update the operating system

apt-get update; apt-get upgrade; apt-get clean

Step 4:

Download the UniFi-Video package:

wget http://dl.ubnt.com/firmwares/unifi-video/3.1.5/unifi-video_3.1.5~Ubuntu14.04_amd64.deb

Again, I'm using the link for 3.0.8 in this article, but you should paste in the link obtained from the link provided in bullet #4 above. 

Step 5:

Install the package:

ls

Will show you the files in the current folder, at least one should end in .deb, that's the one you need:

dpkg -i unifi-video_3.1.5~Ubuntu14.04_amd64.deb; sudo apt-get install -f

Step 6:

Once that's done, you can verify the service is running by issuing:

service unifi-video status

After a couple of minutes, the web interface should be accessible at https://[NVR IP address]:7443

Related Articles