Giter VIP home page Giter VIP logo

docker-unifi-video's People

Contributors

exsilium avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docker-unifi-video's Issues

Can't connect to G3 camera

Hi! I followed your guide, the NVC is updated and also the camera is updated...
I have created the camera adoption token and compile it in the camera configuration page...
but when i manage it the camera it is disconnected or lost...
The date of camera is set correctly...

i notice that the ip addres of NVC is set automatically to 172.17.0.2 is not possible to se as new IP in my net?

thanks!

3.9.3 - new log directory

  • The log directory has changed and is within: /var/lib/unifi-video/logs
  • /var/log/unifi-video is a symlink to the above location

No need to create a separate Host Data Volume for /var/log/unifi-video, instead, the run.sh script must be updated to make sure we have logs directory created within the /var/lib/unifi-video data volume.

What is the goal of the mongodump for 3.9.12 -> 3.10.2?

Hey @exsilium, I co-maintain another unifi-video docker image w/ @pducharme and I'm trying to understand the problems w/ 3.9 to 3.10 upgrades. What is the goal in your dump / reload? I think it is probably just migrating from mmapv1 to wiredTiger right?

https://github.com/exsilium/docker-unifi-video#upgrade-from-3912-to-3102

I'm trying to figure out an issue where my currently running 3.10.1 instance is already wiredTiger engine, but when I just upgrade to 3.10.2, it claims the users table is corrupt. Back to 3.10.1 and it works fine again.

Privileged Mode - Is it required?

First, thank you for putting this together, I was going to do this today, and googled it, and though I would try it out first.

I wanted to asked about the --privileged flag. Is it needed? Do we know why it's part of the run command? Ideally I like running my containers without it if possible.

John

Different Recording Path

Hi,
Firstly, thanks for your work on this, being able to run unified video on my Mac-mini will be perfect. I hadn't even noticed there was no mac version of the video app before i purchased the cameras so finding this was a godsend. :)

II have everything up and running and am now trying to change the recording path to an external drive connected to my Mac-mini.
When i enter the path in the unifi video configuration it tells me the path does not exist, yet i can cd to the path just fine in terminal. i.e. /Volumes/hdd3/video-data

I have never used docker before, do i need to 'tell' docker about this volume before it can use it?

Thanks in advance
~Matt

mongodb unable to start

hello,

I'm just testing out this image for a future project, and running into trouble getting it to launch properly.

I'm not using a Synology, instead running docker under Fedora 28 on a HPE Proliant Microserver.

I've run into an issue where the container never fully starts, it seems stuck in a loop trying to start mongodb. Here's a little snippet from the console:

I also attached a copy of "run.sh" , renamed a little...

Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] MongoDB starting : pid=8948 port=27017 dbpath=/var/lib/mongodb 64-bit host=7e473a75ec8f
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] db version v2.6.10
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] git version: nogitversion
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] build info: Linux lgw01-12 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 BOOST_LIB_VERSION=1_58
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] allocator: tcmalloc
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] options: { config: "/etc/mongodb.conf", net: { bindIp: "127.0.0.1" }, storage: { dbPath: "/var/lib/mongodb", journal: { enabled: true } }, systemLog: { destination: "syslog" } }
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] exception in initAndListen: 10309 Unable to create/open lock file: /var/lib/mongodb/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] dbexit:
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] shutdown: going to close listening sockets...
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] shutdown: going to flush diaglog...
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] shutdown: going to close sockets...
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] shutdown: waiting for fs preallocator...
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] shutdown: lock for final commit...
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] shutdown: final commit...
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] shutdown: closing all files...
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] closeAllFiles() finished
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] shutdown: removing fs lock...
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] couldn't remove fs lock errno:9 Bad file descriptor
Jun 22 13:34:58 7e473a75ec8f mongod.27017[8948]: [initandlisten] dbexit: really exiting now

run-unifi-video.txt

Here's the directory tree, created as described in your instructions
[gordon@microserver ~]$ tree -d Applications/
Applications/
└── unifi-video
├── log
├── mongodb
└── unifi-video
└── logs

5 directories

easy way to upgrade?

the UI of the program is telling me an upgrade is available. (understandably) when i click on the button to install the upgrade, it tells me it's an illegal path. is there an easy fix to make the upgrade function work?

can't find G3 video camera

I followed your terrific guide, but the UNIFI Video page can't locate the camera.

The only step I wasn't able to complete was this (which seems fairly important):

Camera provisioning
By default, Docker provides network isolation and due to that the automatic discovery will not work. Directly access your camera IP and enter the host IP of your server where the unifi-video docker image is running.

How do I find the IP address? I did a scan of my network and couldn't find it.

thx

Permission issue possible?

Dec 17 22:59:55 1a6de92e54ff mongod.27017[1273]: [initandlisten] dbexit:
Dec 17 22:59:55 1a6de92e54ff mongod.27017[1273]: [initandlisten] shutdown: going to close listening sockets...
Dec 17 22:59:55 1a6de92e54ff mongod.27017[1273]: [initandlisten] shutdown: going to flush diaglog...
Dec 17 22:59:55 1a6de92e54ff mongod.27017[1273]: [initandlisten] shutdown: going to close sockets...
Dec 17 22:59:55 1a6de92e54ff mongod.27017[1273]: [initandlisten] shutdown: waiting for fs preallocator...
Dec 17 22:59:55 1a6de92e54ff mongod.27017[1273]: [initandlisten] shutdown: lock for final commit...
Dec 17 22:59:55 1a6de92e54ff mongod.27017[1273]: [initandlisten] shutdown: final commit...
Dec 17 22:59:55 1a6de92e54ff mongod.27017[1273]: [initandlisten] shutdown: closing all files...
Dec 17 22:59:55 1a6de92e54ff mongod.27017[1273]: [initandlisten] closeAllFiles() finished
Dec 17 22:59:55 1a6de92e54ff mongod.27017[1273]: [initandlisten] shutdown: removing fs lock...
Dec 17 22:59:55 1a6de92e54ff mongod.27017[1273]: [initandlisten] couldn't remove fs lock errno:9 Bad file descriptor
Dec 17 22:59:55 1a6de92e54ff mongod.27017[1273]: [initandlisten] dbexit: really exiting now
cp: cannot create regular file '/usr/lib/unifi-video/data/system.properties': Permission denied
Dec 17 22:59:56 1a6de92e54ff mongod.27017[1316]: [initandlisten] MongoDB starting : pid=1316 port=27017 dbpath=/var/lib/mongodb 64-bit host=1a6de92e54ff
Dec 17 22:59:56 1a6de92e54ff mongod.27017[1316]: [initandlisten] db version v2.6.10
Dec 17 22:59:56 1a6de92e54ff mongod.27017[1316]: [initandlisten] git version: nogitversion
Dec 17 22:59:56 1a6de92e54ff mongod.27017[1316]: [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
Dec 17 22:59:56 1a6de92e54ff mongod.27017[1316]: [initandlisten] build info: Linux lgw01-12 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 BOOST_LIB_VERSION=1_58
Dec 17 22:59:56 1a6de92e54ff mongod.27017[1316]: [initandlisten] allocator: tcmalloc
Dec 17 22:59:56 1a6de92e54ff mongod.27017[1316]: [initandlisten] options: { config: "/etc/mongodb.conf", net: { bindIp: "127.0.0.1" }, storage: { dbPath: "/var/lib/mongodb", journal: { enabled: true } }, systemLog: { destination: "syslog" } }
Dec 17 22:59:56 1a6de92e54ff mongod.27017[1316]: [initandlisten] exception in initAndListen: 10309 Unable to create/open lock file: /var/lib/mongodb/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating

I keep getting this - looks like a permission issue, yet I am running it in privilege mode. Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.