Options, Paths is missing
Options, Paths is missing
Just noticed that Options , Paths is missing in v1.31.1. Has it been moved somewhere else?
Re: Options, Paths is missing
to /etc/zm/zm.conf
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Options, Paths is missing
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.
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/
All of these can be found at https://zoneminder.blogspot.com/
Re: Options, Paths is missing
Ok guys, Thanks for that.
Re: Options, Paths is missing
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?
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
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Options, Paths is missing
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
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/
All of these can be found at https://zoneminder.blogspot.com/
Re: Options, Paths is missing
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.
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.
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Options, Paths is missing
I was unable to duplicate this on my end. Github user ralimi identified where the issue was occuring.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.
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/
All of these can be found at https://zoneminder.blogspot.com/