Unifi Video VM on Synology NAS

Install Ubuntu 16.04 server VM on synology (1vCPU-1GB vRAM-20GB Storage)

Install ssh service on setup.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install qemu-guest-agent
sudo apt-get install cifs-utils

ifconfig -all
Note mac address and make static reservation on local dhcp server.

sudo reboot

Get link from https://www.ui.com/download/unifi-video/default/default/unifi-video-3912-ubuntu-1604-x64
wget https://dl.ubnt.com/firmwares/ufv/v3.9.12/unifi-video.Ubuntu16.04_amd64.v3.9.12.deb
sudo dpkg -i unifi-video.Ubuntu16.04_amd64.v3.9.12.deb
sudo apt-get -f install

sudo reboot.

Make a user specific for accessing the recordings shared folder, on Synology.
Let’s call the new user UnifiVideo.
Make a new Shared Folder VideoRecordings and give full permissions on user UnifiVideo.

On Ubuntu VM:
sudo nano /etc/fstab
// /usr/lib/unifi-video/data/videos cifs username=UnifiVideo,password=YourSynologySharedFolderPass,uid=nobody,iocharset=utf8,noperm 0 0
Save and exit nano.

sudo mount -a
sudo chown -R unifi-video:unifi-video /usr/lib/unifi-video/data/videos

sudo reboot

Access Unifi Video web interface on
Go to Settings->System Configuration
Recording path should be /usr/lib/unifi-video/data/videos.
On Information area on top you should see the right disk space.

You may also like...

Popular Posts

Leave a Reply

Your email address will not be published. Required fields are marked *