keshavdv / unifi-cam-proxy

Enable non-Ubiquiti cameras to work with Unifi NVR
MIT License
1.68k stars 235 forks source link

Fatal Python error when trying to run the docker image #86

Closed omares closed 2 years ago

omares commented 2 years ago

Hey,

when executing the docker command docker run --rm -v "/root/client.pem:/client.pem" keshavdv/unifi-cam-proxy unifi-cam-proxy --verbose --ip "192.168.x.x" --host 192.168.x.x --cert /client.pem --token XXXX rtsp -s 'rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_175k.mov' for testing purposes I get the error

Fatal Python error: _Py_InitializeMainInterpreter: can't initialize time
PermissionError: [Errno 1] Operation not permitted

Current thread 0xb6b8e010 (most recent call first):

Is this an issue on my end or is there a problem with the docker image?

Thanks & Cheers

omares commented 2 years ago

Ok was an issue on my side, had to update my libseccomp2 version as stated here:

https://github.com/linuxserver/docker-papermerge/issues/4#issuecomment-735236388