Options, Paths is missing

Forum for questions and support relating to the 1.31.x releases only.
Locked
l80jas
Posts: 7
Joined: Sat May 07, 2011 5:58 pm
Location: Belfast, Northern Ireland

Options, Paths is missing

Post by l80jas »

Just noticed that Options , Paths is missing in v1.31.1. Has it been moved somewhere else?
User avatar
iconnor
Posts: 3198
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Options, Paths is missing

Post by iconnor »

to /etc/zm/zm.conf
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Options, Paths is missing

Post 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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
l80jas
Posts: 7
Joined: Sat May 07, 2011 5:58 pm
Location: Belfast, Northern Ireland

Re: Options, Paths is missing

Post by l80jas »

Ok guys, Thanks for that.
rockedge
Posts: 1178
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Options, Paths is missing

Post 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
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Options, Paths is missing

Post 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
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Options, Paths is missing

Post 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.
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Options, Paths is missing

Post 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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked