[support] dlandon - Zoneminder 1.36


1083 posts in this topic Last Reply

Recommended Posts

Zoneminder updated to 1.30.4.  Release notes are here.  The changes are a security update and some package adjustments for the api (used by zmNinja) that I already handled.

 

The updated Docker will update your Zoneminder and database in place.

Edited by dlandon
Link to post
  • Replies 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

I realize that Zoneminder 1.32.0 has been released and I will eventually update the Docker for this new release.  Please don't try to lobby me to update the Docker right away.  I won't update it for a

This is an update of the Zoneminder Docker initially created by aptalca to the latest version of Zoneminder.  You can do an in place update of this Docker and your current configuration will be kept a

Map an external port to the Zoneminder docker port 80.

Posted Images

The original location of the Zoneminder logo is no longer available and I had to put a copy of the logo in my repository.  When you update Zoneminder, the logo will turn into a '?'.  To get it back search for Zoneminder in CA and apply the default template and enter your settings.

 

Sorry, I should have captured the logo and put it in my repository to begin with.

Edited by dlandon
Link to post
  • 2 weeks later...
2 hours ago, ccollinscj said:

What does OP stand for?

Internet slang.   Opening post or original poster.   In this case it means opening post (first post of thread)

Link to post

"OP" almost universally means Original Poster -- i.e. in this case it would be a reference to dlandon.

 

A reference to the first post in the thread should simply be that ... e.g. instead of "... Check the links in the OP for ..." it would be clearer to simply say "Check the links in the first post ..."

 

 

Link to post

I deleted my old docker and did a fresh installation.  I am getting these errors in my log upon startup.  Any ideas?  Should this path be /usr/share/appdata/zoneminder/www/?

 

2017-05-28 10:04:24.812157 web_php  8492 ERR Cannot write to content dirs('events','images').  Check that these exist and are owned by the web account user /usr/share/zoneminder/www/index.php 159

 

2017-05-28 10:00:22.938535 web_php  8490 ERR disk_total_space returned false. Verify the web account user has access to events /usr/share/zoneminder/www/includes/functions.php 145

Link to post

I'm not trying to hijack this thread, but it seems like the logical place to pose this question.

 

For people using home surveillance, what are the experiences between running this docker vs a virtualized Windows 10 VM with Blue Iris?

 

I'm running ZM right now.  There's a learning curve, but I'm continually tweaking and improving.  I'm still struggling with motion detection being triggered incorrectly, but this may be an issue with all software.

Edited by Living Legend
Link to post
On 5/28/2017 at 10:08 AM, matt0013 said:

I deleted my old docker and did a fresh installation.  I am getting these errors in my log upon startup.  Any ideas?  Should this path be /usr/share/appdata/zoneminder/www/?

 

2017-05-28 10:04:24.812157 web_php  8492 ERR Cannot write to content dirs('events','images').  Check that these exist and are owned by the web account user /usr/share/zoneminder/www/index.php 159

 

2017-05-28 10:00:22.938535 web_php  8490 ERR disk_total_space returned false. Verify the web account user has access to events /usr/share/zoneminder/www/includes/functions.php 145

Use the default settings.  Your path '/usr/share/appdata/zoneminder/www/' does not make sense and doesn't exist.

 

The default settings are:

Appdata Config Path: /mnt/user/cache/appdata/Zoneminder

Data path: /mnt/user/cache/appdata/Zoneminder/data

 

Use these settings.  If you don't have a cache drive, use /mnt/user/appdata...

Edited by dlandon
Link to post
12 minutes ago, Living Legend said:

I'm not trying to hijack this thread, but it seems like the logical place to pose this question.

 

For people using home surveillance, what are the experiences between running this docker vs a virtualized Windows 10 VM with Blue Iris?

 

I'm running ZM right now.  There's a learning curve, but I'm continually tweaking and improving.  I'm still struggling with motion detection being triggered incorrectly, but this may be an issue with all software.

I have no experience with Blue Iris.  You probably need to set zones for motion detection.  Don't try to detect motion at a high frame rate.  I recommend setting the camera frame rate to something like 10-15 FPS (or lower) and leave the 'Analysis FPS' blank.  The 'Analysis FPS' will then be the camea FPS.  Set the 'Maximum FPS' and 'Alarm Maximum FPS' slightly higher about 5 FPS higher that the camera FPS.

Link to post
5 minutes ago, dlandon said:

Use the default settings.  Your path '/usr/share/appdata/zoneminder/www/' does not make sense and doesn't exist.

 

The default settings are:

Appdata Config Path: /mnt/user/cache/appdata/Zoneminder

Data path: /mnt/user/cache/appdata/Zoneminder/data

 

Use these settings.  If you don't have a cache drive, user /mnt/user/appdata...

 

I haven't changed any settings.  Those errors were generated from a default setting installation. 

 

I looked at (didn't change) my zm.conf file and saw these paths which match the errors I'm receiving.  Are these correct?

 

# Path to installed data directory, used mostly for finding DB upgrade scripts
ZM_PATH_DATA=/usr/share/zoneminder
 
# Path to ZoneMinder web files
ZM_PATH_WEB=/usr/share/zoneminder/www

 

 

 

Link to post
4 minutes ago, matt0013 said:

 

I haven't changed any settings.  Those errors were generated from a default setting installation. 

 

I looked at (didn't change) my zm.conf file and saw these paths which match the errors I'm receiving.  Are these correct?

 

# Path to installed data directory, used mostly for finding DB upgrade scripts
ZM_PATH_DATA=/usr/share/zoneminder
 
# Path to ZoneMinder web files
ZM_PATH_WEB=/usr/share/zoneminder/www

 

 

 

Yes. They are correct.  Delete the docker and the 'appdata/Zoneminder' folder and start over.  The defaults should work just fine.

Link to post
10 minutes ago, dlandon said:

Yes. They are correct.  Delete the docker and the 'appdata/Zoneminder' folder and start over.  The defaults should work just fine.

 

I deleted the docker and 'appdata/Zoneminder' folder and did another fresh installation.  I'm getting the same errors in my log over and over.

 

web_php  8492 ERR Cannot write to content dirs('events','images').  Check that these exist and are owned by the web account user /usr/share/zoneminder/www/index.php 159

 

web_php  8490 ERR disk_total_space returned false. Verify the web account user has access to events /usr/share/zoneminder/www/includes/functions.php 145

Capture.JPG

Link to post
7 minutes ago, matt0013 said:

 

I deleted the docker and 'appdata/Zoneminder' folder and did another fresh installation.  I'm getting the same errors in my log over and over.

 

web_php  8492 ERR Cannot write to content dirs('events','images').  Check that these exist and are owned by the web account user /usr/share/zoneminder/www/index.php 159

 

web_php  8490 ERR disk_total_space returned false. Verify the web account user has access to events /usr/share/zoneminder/www/includes/functions.php 145

Capture.JPG

Did you change any of the default settings?  Is your docker.img full?  Set the advanced switch to on and be sure to delete any orphaned docker images.

Link to post

I am running a few Amcrest PRO HD IP2M-842EW on Zoneminder,  My general settings on ZM are shown below. I have left all of the FPS options blank.

 

I'm having an issue where as I continue to decrease the FPS on the camera itself, from the high of 30fps all the way down to 5fps, the delay grows.  At 30fps I'm about half a second behind the stream from Amcrest Software.  When I get down to 5fps, I fall 3+ seconds behind live.

 

Any idea why this happens and if there is a resolution?

 

0e43575be346407f8248cdec9dcf0aab.png

Edited by Living Legend
Link to post
47 minutes ago, dlandon said:

Did you change any of the default settings?  Is your docker.img full?  Set the advanced switch to on and be sure to delete any orphaned docker images.

 

I didn't change any settings.  My docker.img is not full and there are no orphaned docker images. 

 

Should I have a directory /usr/share/zoneminder in mystem?  If I am supposed to, I currently do not.

Link to post
20 minutes ago, Living Legend said:

I am running a few Amcrest PRO HD IP2M-842EW on Zoneminder,  My general settings on ZM are shown below. I have left all of the FPS options blank.

 

I'm having an issue where as I continue to decrease the FPS on the camera itself, from the high of 30fps all the way down to 5fps, the delay grows.  At 30fps I'm about half a second behind the stream from Amcrest Software.  When I get down to 5fps, I fall 3+ seconds behind live.

 

Any idea why this happens and if there is a resolution?

 

0e43575be346407f8248cdec9dcf0aab.png

I don't understand what the delay is that you are talking about.  Delay where?

Link to post
18 minutes ago, matt0013 said:

 

I didn't change any settings.  My docker.img is not full and there are no orphaned docker images. 

 

Should I have a directory /usr/share/zoneminder in mystem?  If I am supposed to, I currently do not.

The /usr/share/zoneminder is inside the docker.  It is not user configurable.  There are some symlinks in that folder to the appdata folder.  I suspect that your appdata folder has an issue and the symlinks won't work.

 

Go to a command line and enter this command:

ls -l /mnt/user/appdata/Zoneminder/

Show the output.

Link to post
1 hour ago, dlandon said:

The /usr/share/zoneminder is inside the docker.  It is not user configurable.  There are some symlinks in that folder to the appdata folder.  I suspect that your appdata folder has an issue and the symlinks won't work.

 

Go to a command line and enter this command:


ls -l /mnt/user/appdata/Zoneminder/

Show the output.

Thanks for helping me troubleshoot this.  Here is what I received.

 

Capture2.JPG

Link to post
57 minutes ago, matt0013 said:

Thanks for helping me troubleshoot this.  Here is what I received.

 

Capture2.JPG

All of that is correct.  Let me do some research and get back to you on the next step.

Link to post
1 hour ago, matt0013 said:

Thanks for helping me troubleshoot this.  Here is what I received.

 

Capture2.JPG

Go to a bash session in the docker using:

docker exec -i -t Zoneminder bash

Then execute this command:

ls -l /usr/share/zoneminder/www

Post the results from that.

then this command:

ls -l /var/cache/zoneminder/

Post the results from that.

Link to post
2 hours ago, dlandon said:

I don't understand what the delay is that you are talking about.  Delay where?

 

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.

Link to post
  • dlandon changed the title to [support] dlandon - Zoneminder 1.36

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.