May 28, 20178 yr Author 17 minutes ago, Living Legend said: Sorry for lack of clarity. When viewing Zoneminder live stream, I am seeing things 3-4 seconds from behind live action. As I increase fps on the camera itself, the delay is reduced. You can go to the first post and click on the link to the Zoneminder forum and see if there is an answer there. You may want to post your issue there and see if you get an answer. I am not an expert on camera setup in Zoneminder or how it works.
May 28, 20178 yr 1 minute ago, dlandon said: You can go to the first post and click on the link to the Zoneminder forum and see if there is an answer there. You may want to post your issue there and see if you get an answer. I am not an expert on camera setup in Zoneminder or how it works. Yeah, I didn't think it was a docker specific issue, but figured I'd give it a shot! I'll post over there. Thanks.
May 28, 20178 yr Author 30 minutes ago, matt0013 said: Here are the results. I see a issue with the way the docker has set up permissions, but it is not the issue you have. Be sure you have set PUID = 99, and PGID = 100. It looks like you have them set wrong.
May 28, 20178 yr 2 minutes ago, dlandon said: Be sure you have set PUID = 99, and PGID = 100. It looks like you have them set wrong. Not sure what this means exactly. How do I set these?
May 28, 20178 yr Author 11 minutes ago, matt0013 said: Not sure what this means exactly. How do I set these? They are in the docker template right below the WebUi port. If those are correct, go back into the docker using: docker exec -i -t Zoneminder bash And execute this command: chown -R root:www-data /var/cache/zoneminder This should fix the permissions and eliminate the errors. Let me know if that works.
May 28, 20178 yr 12 minutes ago, dlandon said: If those are correct, go back into the docker using: These were correct. 12 minutes ago, dlandon said: And execute this command: chown -R root:www-data /var/cache/zoneminder No luck with this. Still have the same errors in the log.
May 28, 20178 yr Author 1 minute ago, matt0013 said: These were correct. No luck with this. Still have the same errors in the log. Go into the docker again and do this command: ls -l /var/cache/zoneminder Show the results. See if the owner was changed. The issue is with the ownership of the folder, not the permissions as I said earlier. I think you have an issue with the permissions and/or ownership on your appdata share. Do you have any other dockers running? Any issues with them?
May 28, 20178 yr 3 minutes ago, dlandon said: Go into the docker again and do this command: ls -l /var/cache/zoneminder Show the results. See if the owner was changed. The issue is with the ownership of the folder, not the permissions as I said earlier. I think you have an issue with the permissions and/or ownership on your appdata share. Do you have any other dockers running? Any issues with them? Looks like owner was changed. I have HomeAssistant running with no issues. That's the only other active one running.
May 28, 20178 yr Author 13 minutes ago, matt0013 said: Looks like owner was changed. I have HomeAssistant running with no issues. That's the only other active one running. I just now noticed the '+' sign next to the permissions. This means you have extended permissions on these folders. From what I understand this is additional to the Linux permissions. I am not enough of a Linux guru to understand what that means, but I suspect that is your issue. What did you do to set the extended permissions? Did you set some extended permissions with Windows? Maybe a Linux expert can chime in here.
May 28, 20178 yr 1 hour ago, dlandon said: I just now noticed the '+' sign next to the permissions. This means you have extended permissions on these folders. From what I understand this is additional to the Linux permissions. I am not enough of a Linux guru to understand what that means, but I suspect that is your issue. What did you do to set the extended permissions? Did you set some extended permissions with Windows? Maybe a Linux expert can chime in here. I did set some permissions with WinSCP a long time ago; not related to Zoneminder though but it may have had an unintended consequence... The issue is currently fixed. I did some things to remove extended permissions and I also updated the docker since I noticed the option was available. Not sure what exactly fixed it, the update or my removing of extended permissions.
May 28, 20178 yr Author 4 minutes ago, matt0013 said: I did set some permissions with WinSCP a long time ago; not related to Zoneminder though but it may have had an unintended consequence... The issue is currently fixed. I did some things to remove extended permissions and I also updated the docker since I noticed the option was available. Not sure what exactly fixed it, the update or my removing of extended permissions. Glad you got it fixed.
May 29, 20178 yr 2 hours ago, dlandon said: Glad you got it fixed. Thank you for your help. Everything seems to be working great now. I did some searching and ended up getting rid of the extended permissions using setfacl -Rb /mnt/user/appdata/zoneminder. That took away the '+' sign that you called my attention to. ACL: Using Access Control Lists on Linux
May 29, 20178 yr I have another odd issue. I'm just noticing now. It looks like every event is recording FOUR times. I'll have four copies of each frame saved in four different locations. In the events folder, I see a folder named "1" and then a folder named "front". Front is the title I gave camera #1. The contents of the folders are the same. In each of those folders, it'll start with a folder representing year (17), then month (5), then day (28). Within the day folder, there is a folder called ".13" which represents "Event-13", Inside this folder you can view a .jpg for all saved frames. But then there's also a folder called "22" inside the day folder which is representing hour 22. Inside the hour 22 folder is a minute folder and then second folder. Inside that folder are the images, and also a blank file called ".13". Confused?! I'll break it down the following way. A capture of a frame on camera #1 named "front" that happened at 10:15:50 can be found at: Server IP > share > events > 1 > 17 > 05 > 28 > 22 > 15 > 20 > 00001-capture.jpg Server IP > share > events > 1 > 17 > 05 > 28 > .13 > 00001-capture.jpg Server IP > share > events > front > 17 > 05 > 28 > 22 > 15 > 20 > 00001-capture.jpg Server IP > share > events > front > 17 > 05 > 28 > .13 > 00001-capture.jpg Same file 4 times. Any idea why this is happening? Edited May 29, 20178 yr by Living Legend
May 29, 20178 yr 5 minutes ago, Living Legend said: Server IP > share > events > 1 > 17 > 05 > 28 > 22 > 15 > 20 > 00001-capture.jpg Server IP > share > events > 1 > 17 > 05 > 28 > .13 > 00001-capture.jpg Server IP > share > events > front > 17 > 05 > 28 > 22 > 15 > 20 > 00001-capture.jpg Server IP > share > events > front > 17 > 05 > 28 > .13 > 00001-capture.jpg Wild guess. Delete one and see if the others disappear. Maybe it's the same file presented in multiple views? If not, is it possible you created 4 different profiles for capture? I don't currently use the software, so I'm probably completely wrong.
May 29, 20178 yr Nope, you're completely right. Just came back to post that I saw another post mentioning that they're symbolic links. Edited May 29, 20178 yr by Living Legend
June 3, 20178 yr On 5/28/2017 at 1:00 AM, Squid said: Internet slang. Opening post or original poster. In this case it means opening post (first post of thread) Ok got it the OP...stuff, looking all through page one, and there is no mention of PTZ.....are you saying that or referencing that I need to make configuration changes somewhere to make ptz work?
June 3, 20178 yr Author Look at the first post and there are links to the Zoneminder documentation and the forum. You should be able to get an answer there on setting up PTZ.
June 10, 20178 yr I applied the latest update a few days ago when it popped up... everything "seemed" to go ok. I could see live video again after the upgrade however all events showed up as null length etc. I can't play any of them... I'm just going to reinstall the docker but wondered if I was supposed to upgrade some other way when the updates show up. I thought I read something in this thread about dlandon getting the updates working.
June 11, 20178 yr Author Updating the docker is all you have to do. What did you upgrade from? Another Zoneminder docker?
June 11, 20178 yr Updating the docker is all you have to do. What did you upgrade from? Another Zoneminder docker?Just upgraded your docker. Just reinstalled your docker to and it doesn't seem to be working.... events show as "new event" seconds =0 frames are null/null and score is 0/0.Sent from my iPhone using Tapatalk
June 11, 20178 yr Author That should work. Look at the docker log for Zoneminder and see if there is anything about the database update. If you don't see a database update entry, restart the docker and watch the log. Edited June 11, 20178 yr by dlandon
June 11, 20178 yr I took a second look... I figured out why it wasn't working after I re-installed the docker. my /var/cache/zoneminder was mapped to the wrong folder. Still not sure why it broke during the update though. Does the update try to change the /var/cache/zoneminder mapping to a default or something? Mine is mapped to /mnt/cache/.apps/zoneminder/data when I reinstalled it wanted to default map it to /mnt/cache/appdata/zoneminder/data
June 11, 20178 yr Author If you just did an update of the docker, your settings will be used and not changed.
June 15, 20178 yr What are the write permissions supposed to be for the data directories?I know the owner is 0:33. I had a problem when I swapped out my data drive for a larger faster drive. I copied all the data from the old drive to the new. The permissions look the same. I checked ls -la in the container (/var/cache/zoneminder) and at /mnt/disks/zoneminder. However zoneminder can't mkdir, permission denied. It couldn't create the new 06 month directory. The top directories in /data (events, images, temp) had 777 but the monitors 01 & 02 had something different. Until I chmod 777 it wouldn't record any events.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.