Page 1 of 1

Options, Paths is missing

Posted: Thu Jul 20, 2017 5:30 pm
by l80jas
Just noticed that Options , Paths is missing in v1.31.1. Has it been moved somewhere else?

Re: Options, Paths is missing

Posted: Thu Jul 20, 2017 5:54 pm
by iconnor
to /etc/zm/zm.conf

Re: Options, Paths is missing

Posted: Thu Jul 20, 2017 5:57 pm
by knight-of-ni
Yes.

See these:
https://github.com/ZoneMinder/ZoneMinder/pull/1908

https://github.com/ZoneMinder/ZoneMinder/pull/1937

If the version of ZoneMinder you are using is less than 3 days old, then the settings are in /etc/zm/conf.d/01-system-paths.conf.

However, do not edit that file. Instead, create your own config file in the same folder with the values you want.

Re: Options, Paths is missing

Posted: Thu Jul 20, 2017 7:32 pm
by l80jas
Ok guys, Thanks for that.

Re: Options, Paths is missing

Posted: Fri Jul 21, 2017 2:39 am
by rockedge
Quick question please..in the config file /etc/zm/conf.d/01-system-paths.conf on line 22 is the value for
ZM_DIR_IMAGES=events correct?

Code: Select all

# Full path to the folder events are recorded to.
# The web account user must have full read/write permission to this folder.
ZM_DIR_EVENTS=events

# Full path to the folder images, not directly associated with events,
# are recorded to.
# The web account user must have full read/write permission to this folder.
ZM_DIR_IMAGES=events

Re: Options, Paths is missing

Posted: Fri Jul 21, 2017 11:46 am
by knight-of-ni
See:
https://github.com/ZoneMinder/ZoneMinde ... onf.in#L17

The values for ZM_DIR_EVENTS and ZM_DIR_IMAGES are set via make macro.
When you build zoneminder, you should set both of these yourself to the full path where you want these folders to live.

As soon as iconnor merges my open pull request, the defaults will change to something a little better and the INSTALL documentation will contain instructions:
https://github.com/ZoneMinder/ZoneMinde ... ae0a7a248b

Re: Options, Paths is missing

Posted: Sat Jul 22, 2017 10:50 pm
by bbunge
Installed 1.31.1~20170721110606-xenial today and went looking for the Paths as mentioned in this post.

Discovered /etc/zm/conf.d/conf.d Should this just be /etc/zm/conf.d? I edited /etc/zm/conf.d/01-system-paths.conf to set ZM_PATH_SWAP=/dev/shm and it seemed to work. I feel the readme and /etc/zm/conf.d/conf.d in /etc/zm/conf.d/conf.d should be moved up one level.

Re: Options, Paths is missing

Posted: Mon Aug 14, 2017 1:54 pm
by knight-of-ni
bbunge wrote: Sat Jul 22, 2017 10:50 pm Installed 1.31.1~20170721110606-xenial today and went looking for the Paths as mentioned in this post.

Discovered /etc/zm/conf.d/conf.d Should this just be /etc/zm/conf.d? I edited /etc/zm/conf.d/01-system-paths.conf to set ZM_PATH_SWAP=/dev/shm and it seemed to work. I feel the readme and /etc/zm/conf.d/conf.d in /etc/zm/conf.d/conf.d should be moved up one level.
I was unable to duplicate this on my end. Github user ralimi identified where the issue was occuring.
It turns out this only appeared during an out-of-source build (difference between debian & redhat builds).

This has been fixed here:
https://github.com/ZoneMinder/ZoneMinde ... 8c81c95014

Our nightly build system will crank out new development packages within a day or so.