Ubiquiti airVision, airCams & “Unsupported Firmware” Errors
I have always been a big fan of the Ubiquiti AirVision-2 software and especially the AirVision-C NVR. I have an installation at my office, my home and my cabin in Colorado. Many of you have seen the images and video I have captured of the huge Elk that hang out at our cabin in Estes Park. Today, I went to check on our home in Texas and I was greeted by this:
“Unsupported Firmware” simply means the version of firmware running on the cameras is no longer compatible with AirVision. In my case this happened automatically because I had the settings configured to automatically check for firmware updates and install them.
“Unsupported Firmware” simply means the version of firmware running on the cameras is no longer compatible with AirVision. In my case this happened automatically because I had the settings configured to automatically check for firmware updates and install them.
When Ubiquiti introduced the UniFi cameras, they also released UniFi Video, not compatible with airVision firmwares. Apparently, there is no mechanism in place to prevent the upgrade to the UniFi Video software so the cameras upgraded and thereby broke my airVision installation. Of course, I have the auto-upgrade feature enabled at all three locations so it was time to upgrade my airVision NVR appliances, X 3.
Since Ubiquiti uses Debian Linux as the operating system for their NVR, the first step is always to upgrade the base OS. The ensure the new Ubiquiti software has access to the latest libraries and especially to the latest Java.
To upgrade the OS, it is a two step process. First is to issue a command that checks for and makes a list of up-datable packages and secondly to actually download and install the updates. This needs to be done from the command line, so if you are running Windows, you will need to download an SSH terminal emulator like Putty. Putty.exe can be downloaded with a quick Google search and is a stand alone executable.
In the address blank in Putty, type the IP address of your airVision NVR and click connect. The default user name is root and the password is ubnt.
If you have changed the default credentials, you are on your own. Once you have the shell open, execute the following command:
If you have changed the default credentials, you are on your own. Once you have the shell open, execute the following command:
apt-get update
This will work for a while and return you to the shell command prompt. Next, issue:
apt-get upgrade
This is an interactive command and will ask for confirmation to download and install the updates.
Once the update is done, 5-10 minutes depending on your connection speed, and you have been returned to the command prompt. Next you need to download the unifi-video software from http://www.ubnt.com/download/. The one you want is for Debian:
Since you have downloaded the file to your laptop, you need to get it to the NVR. I use scp under Mac, but you can use FileZilla, a free FTP/SCP client. Using Filezilla, upload the file to the NVR. The directory /root is as good a place as any to store it. Once you have the update file on the NVR, issue the following commands to install the UniFi Video upgrade:
sudo dpkg -i unifi-video*.deb; sudo apt-get install -f
Once the upgrade is done, you will no longer have airVision, but instead, have the newer and upgraded UniFi Video. All videos will be transferred and converted and you should not lose any settings.
All three upgrades went flawlessly using this method but the eternal pessimist should make a copy of his or her /usr/lib/unifi directory prior to the upgrade. You can make a tar backup using this command:
tar -cfz /usr/lib/unifi /usr/lib/unifi.tar.gz
If you don’t know what tar is or how to recover using a tar file, find a friend that knows Linux or seek help on the Ubiquiti forums.
Once the upgrade is done and the existing videos have been upgraded (again, this could take 5-10 minutes), you should get a revised login screen like this:
As usual, your mileage may vary and I am sure there will be exceptions but this one worked for me as written. If you have issues, the forums are always a good place to start. Good luck and enjoy Ubiquiti UniFi Video.
Comments
Post a Comment