Package Details: unifi-video 3.10.5-1

Git Clone URL: https://aur.archlinux.org/unifi-video.git (read-only)
Package Base: unifi-video
Description: Centralized management system for Ubiquiti UniFi Surveillance Cameras
Upstream URL: https://www.ubnt.com/
Licenses: custom
Conflicts: unifi-video-beta
Submitter: fryfrog
Maintainer: fryfrog
Last Packager: fryfrog
Votes: 10
Popularity: 0.884603
First Submitted: 2016-04-18 17:44
Last Updated: 2019-06-12 18:05

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

paco3346 commented on 2017-07-18 03:08

@fryfrog I just installed this on another machine and had the same issue @klden described. The problem is that the evostreams binary is running as root so the first time it launches it creates a bunch of config files in /usr/lib/unifi-video/conf owned by root
Since the jar file runs as unifi-video it can't ever update these files which causes the backend streaming service (Evostream) to never be able to pick up on new camera streams (which is what breaks recording and live streaming).

Workaround: after you start unifi-video the first time run a chown -R unifi-video:unifi-video in /usr/lib/unifi-video/conf

I've not yet tested to see if you can run the systemd unit itself as unifi-video

klden commented on 2017-07-16 14:20

@fryfrog: yep it is from inside haha. I saw the logs from 1 of my camera and it couldn't connect to the unifi-server via port 6666. I'll spin up a ubuntu docker then! :D Thanks for your response!

Update: Your container image is working! Thanks!!

fryfrog commented on 2017-07-15 22:37

@klden: Are you having this issue *inside* your own network when going to the web ui directly? Or outside via port forward or their web portal? If outside, it is probably port forwards. If inside... that was one of the handful of issues I couldn't get sorted which made me spin up an Ubuntu docker instead. :/

klden commented on 2017-07-15 21:42

Hey, any idea why I can't see the live view for my camera? I can however see the jpg images every 1 sec :S

paco3346 commented on 2017-05-04 20:33

It's good to give back. I almost had to give up and just spin up a Ubuntu 16.04 server but reeeaaally wanted to stay with Arch. Love my Arch.

fryfrog commented on 2017-05-04 19:21

Thanks a bunch to *you* for finding the issues. I'm using a docker container, but at some point I'll re-test running it native. :)

paco3346 commented on 2017-05-04 19:05

Ah yes, I see your permissions update in there. I think I probably caused a few things to be owned by root while I was poking around. (I ran a few things as sudo). Thanks for updating!

fryfrog commented on 2017-05-04 05:00

Thanks for poking around, I'll fiddle these changes into the package and see how it turns out.

Edit: Package updated, .patch file added to fix server.xml. And java-runtime>=8 dependency.

I'm not going to do a chown as part of it, that already happens as part of post_install.

paco3346 commented on 2017-05-04 02:40

Bingo! 4 hours later...

There's something broken with the gzip compression in tomcat.
You can disable it by modifying /usr/lib/unifi-video/conf/server.xml and looking for all references of compression="on"

I'll let you guess what value you should update it to :)

Also, this is no longer jre7 compatible. Lots of "Could not initialize class javax.imageio.ImageIO" Runs swimmingly well with 8

Hey, me again. Edit #3. You'll also need to sudo chown -R unufi-video:unifi-video /usr/lib/unifi-video/conf/evostream/ if you run into problems with getting a single frame of video but no stream or recording

fryfrog commented on 2017-03-26 03:45

I had enough trouble w/ unifi-video on Arch that I've switched to using a docker image based on Ubuntu. I found an existing one that was pretty good and then improved the heck out of it.

If any of you are having trouble w/ it from this AUR package, consider giving the docker version a try.

https://hub.docker.com/r/pducharme/unifi-video-controller/