-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cameras become "disconnected" after upgrading from 3.9.7 to 3.9.8 #106
Comments
I manually updated the FW on my cameras from 4.4.6 to 4.4.7 which is required to be able to communicate with controller 3.9.8 and they showed up as normal again. FW can be found here: https://community.ubnt.com/t5/UniFi-Video-Blog/UniFi-Video-3-9-8-Release/ba-p/2466987 |
Thanks for the suggestion. I have updated all of my cameras' firmware to 4.4.7 both before and after the upgrade and they remain in the "disconnected" state. I have observed that something about the evostreamms process is triggering a fault that kills the process:
If I run the program manually after starting the container, with:
then the cameras spring back to life and everything works; but that is a hack, not a fix. I tried adding launching the container with the I am launching the container as you have it documented, with the only deviation being that I run mine on a macvlan network adapter, so I don't deal with any port mapping. https://github.com/iamjamestl/puppet-nest/blob/62b6642616fc14814d59d2054ca5d02d80ab285b/manifests/unifi_video.pp#L45 My docker and host software are up-to-date.
My problem seems to exactly mirror a post about the upgrade to 3.92 that appears to have been resolved: https://community.ubnt.com/t5/UniFi-Video/Problem-upgrading-to-3-92/td-p/2256402 Maybe a regression? |
I rebuilt this image on top of phusion/baseimage:0.10.2 and it is working perfectly now. |
So it was an issue in baseimage 0.11? :/ |
And is the macvlan so that camera discovery works? |
@fryfrog, Indeed there does seem to be some incompatibility with baseimage 0.11 and my system. I will try to do some more digging. I use the macvlan network adapter because I run UniFi Video on a different VLAN from the Docker host and it gives my container a real IP address on my network which keeps video traffic off of my router, eliminates port conflicts with other containers on the host, and, as you said, enables camera discovery. |
No issues with 3.9.8/base image 0.11 here. |
Yeah, same here which is why I haven't downgraded it. :/ |
@iamjamestl: Did you ever figure this out? Or are you just going to fork and stay on base image 0.10 forever? :/ |
@fryfrog, This is turning out to be really hard to diagnose. The general protection fault is literally a fault at the instruction level on the CPU, and my attempts to observe the problem are causing it not to be triggered. For example, I wrapped the faulty process with valgrind and, while it spits out some potential problems, the process doesn't trigger the general protection trap and it seems to run fine. This is what valgrind spits out:
Without debugging symbols I can't do much more. I suspect an incompatibility with the glibc on the container vs my specific kernel or processor which is why this isn't affecting other people. I am going to try some more things and maybe keep this ticket open for a few more days in case others are affected, but I will close it later if I don't find anything else out. |
Issue still present in 3.9.9. I will just continue building my own image on top of baseimage 0.10.2 (Ubuntu 16.04) until UniFi Video supports Ubuntu 18.04. |
I acknowledge that the image containing 3.9.8 is tagged 'beta,' but I thought I'd give it a try. After restarting my container with the new image, all of my cameras became disconnected. It seems to be related to an ems service failure noted in the system log (
DEBUG=1
):Indeed, the service is not running:
I am able to roll back to a snapshot of my data and video volumes and launch the container using the 3.9.7 image to restore operation. I did not test a straight downgrade. The 3.9.7 container shows the extra "evostreamms" process that died on the new version:
The text was updated successfully, but these errors were encountered: