-
Notifications
You must be signed in to change notification settings - Fork 21
Unable to start service with NVR in Docker container #2
Comments
This is a great script. Any info on getting the service portion to install would be helpful! |
I am using ubuntu. |
I just returned from vacation so I'll take a look at this soon, I have a few ideas |
Hmm.. Thought about this, does your Unifi docker container have the log directory configured as an external volume? If so, then maybe we can build another docker container with this script that can watch the same log file. Shouldn't be that hard to do, I'll see if I can get it working. |
@rlust I've added a Dockerfile that you can try. You will need to build the container on your docker host and then specify the volume where your log file is. Here is the way I suggest you test this out:
Let me know if that works for you and if it is all good I'll add it to the official docs! |
I will give it a try! |
Thanks for the help! |
When you build or re-build your unifi video container, you would have to add a volume like this so the mqtt container can access the same log file:
|
Giving it a try. Not sure if I did this right.
|
right, the issue is you should probably put something like this for your setup
as what I put before was an example |
I got the docker running! Setting up watches. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix |
Is the above error an improper use of grep in a script? |
edit out the -1n after grep I changed the Docker file to the following but I was after it doing a few more things..
|
No description provided.
The text was updated successfully, but these errors were encountered: