UniFi Video - How to Update the NVR Operating System


This article describes how to update the NVR appliance's operating system via CLI.

NOTES & REQUIREMENTS: It is recommended to update the NVR OS before updating the UniFi Video service.

Table of Contents

  1. Introduction
  2. How to Update the NVR OS
  3. Related Articles


Back to Top

Using the command line interface (CLI) a package refresh will be triggered which will update any currently installed system software. This system administration task is needed to include any security updates or related fixes which may have been published after the deployment of the NVR appliance. Follow the steps below to perform the update.

How to Update the NVR OS

Back to Top 

As of March 20th, 2019  new UVC-NVR and UVC-NVR-2TB or those that have been factory reset, and are on version 3.9.12 or earlier, will need to follow a manual update process in order to install version 3.10.0 or higher. Windows users, UAS-XG users, and custom linux installations are NOT affected.

Follow these steps for a manual upgrade:

  1. Enable SSH on your UVC-NVR
  2. Open a shell session (SSH) to the NVR appliance. Need help with SSH? See our Related Articles below.
  3. Run the following commands one at a time in your SSH terminal:
service unifi-video stop;
apt-get clean;
rm /etc/apt/sources.list;
rm /etc/apt/sources.list.d/security.list;
echo 'deb http://archive.debian.org/debian/ wheezy main contrib non-free' > /etc/apt/sources.list;
echo 'deb http://archive.debian.org/debian-security/ wheezy/updates main' > /etc/apt/sources.list.d/security.list;
apt-get update -o Acquire::Check-Valid-Until=false;
apt-get upgrade -y -o Acquire::Check-Valid-Until=false;
echo 'deb http://archive.debian.org/debian/ jessie-backports main' > /etc/apt/sources.list.d/openjdk.list;
echo 'deb http://archive.debian.org/debian/ jessie main' >> /etc/apt/sources.list.d/openjdk.list;
apt-get update -o Acquire::Check-Valid-Until=false;
apt-get install -y -t jessie-backports openjdk-8-jre-headless;
rm /etc/apt/sources.list.d/openjdk.list;
apt-get update -o Acquire::Check-Valid-Until=false;
service unifi-video start

You may be prompted to approve some updates. Please select Yes (via the enter key) to approve all said updates during this process.

After this update has finished you can upgrade normally via the webUI using the option in Settings > System Configuration > Updates.

Related Articles

Back to Top

Intro to Networking - How to Establish a Connection Using SSH

UniFi Video - How to Enable SSH on the UVC-NVR (Hardware NVR)

We're sorry to hear that!