Closed evil-dog closed 6 years ago
In the strace
output, I saw it literally looking for files in /usr/share/zoneinfo/
and that directory didn't exist, is part of tzdata
package. I'm not sure what the "right" solution to this problem is (and why it works for some and not for us). I was hoping to get someone who's is working to ls /usr/share/zoneinfo
to see if it is present. Maybe there is a docker option to pass in? :/
https://github.com/phusion/baseimage-docker/issues/415
^ Implies installing tzdata
might actually be the right solution.
Confirmed. Installing the tzdata package as part of the docker fixes the issue.
Did you build a new container from scratch or just install the package?
Built from scratch.
diff --git a/Dockerfile b/Dockerfile
index 05cc4d7..c99e6ea 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,7 +16,7 @@ ADD run.sh /run.sh
RUN apt-get update && \
apt-get install -y apt-utils && \
apt-get upgrade -y -o Dpkg::Options::="--force-confold" && \
- apt-get install -y wget sudo moreutils patch && \
+ apt-get install -y tzdata wget sudo moreutils patch && \
apt-get install -y mongodb-server openjdk-8-jre-headless jsvc && \
wget -q -O unifi-video.deb https://dl.ubnt.com/firmwares/ufv/v3.9.2/unifi-video.Ubuntu16.04_amd64.v3.9.2.deb && \
dpkg -i unifi-video.deb && \
I forgot to change the volume stuff in my Dockerfile, so I'm on build #2 :/
Fixed merged and built, I'm running it now and it is working good. Yay.
I am seeing a problem after updating to the latest version of the docker image from 2018-02-23.
I posted on the unifi-video forum about it and it seems a few others are having a similar issue and are also running your docker image.
From the logs ems seems to be dying pretty much immediately on startup with a segfult.
1519448206.754 2018-02-23 23:56:46.754/EST: ERROR ems has quit with rc=139 in ems-service 1519448207.921 2018-02-23 23:56:47.921/EST: ERROR ems has quit with rc=139 in ems-service
This makes unifi-video unable to connect to the cameras and fully function properly.
There is a post with full logs from one of the other users on that forum topic.