Important Updates to UniFi Video Installs on NVRs (All models) and Debian 7 Software Installs

by Ubiquiti Employee ‎11-20-2018 08:52 AM - edited ‎11-20-2018 08:53 AM

The short version is simply “use the built-in update via the UniFi Video web UI to upgrade until after 3.10.0 is released and installed on your system”.


As previously posted, starting with release 3.10.0, UniFi Video will require Java8 runtime environment.


This 3.9.12 release prepares all Debian 7 (including the airVision-C and UVC-NVR) installations for the upcoming Java runtime upgrade and must be installed prior to upgrading to 3.10.0 as some UFV system components are changed to allow a later installation of OpenJDK-8.


3.10.0 Upgrade Options:

  • Using the web UI (the most user-friendly and safe option):
    The JRE update itself will trigger automatically when installing 3.10.0 release from the web UI. Note also that 3.10 will show as an available update only if the NVR has already been updated to this 3.9.12 release.  For these reasons, we strongly recommend upgrading from 3.9.12 by way of the updater built into the web UI.


  • Using apt-get or dpkg:
    You will first need to manually update the Java runtime on your system or the NVR, by executing the following commands (one command per line):
    echo 'deb jessie-backports main' >> /etc/apt/sources.list.d/openjdk.list
    echo 'deb jessie main' >> /etc/apt/sources.list.d/openjdk.list
    apt-get update
    apt-get install -y -t jessie-backports openjdk-8-jre-headless
    rm /etc/apt/sources.list.d/openjdk.list


Once OpenJDK-8 is installed, you can use apt-get or dpkg as usual to update UniFi-video



Who does this apply to?: Anyone with an airVision-C, UVC-NVR, UVC-NVR-2TB, or Debian 7 software install.  For all others, upgrading to 3.10.0 will be like any other upgrade.


This applies to me, what do I do?: Upgrade to 3.9.12 as you normally would.  When 3.10.0 is released to GA, we recommend that you upgrade through the web UI only.  We strongly recommend avoiding using apt or manually upgrading through dpkg as this will skip the installation of OpenJDK 8 which may render the process unable to start.  Note that the install will take slightly longer (1-4 minutes more than a typical install) to complete due to the additional downloads and installs.


What if I factory default or get a new NVR in the future?: This heavily depends on the vintage of the NVR.  It is recommended that you upgrade via the web UI.  This has been tested as far back as UniFi Video 3.0.5 and is confirmed to work as desired.


Upgrading from the web UI is designed to have a few stopgaps in place.  The relevant stopgaps are for 3.1.5 (the last version to support airCams) and 3.9.12 (required to provide a smooth transition into 3.10.0).

When?: We are still in the beta process of 3.10.0 and there will be a minimum of a week from the date of this post before it goes to general availability.