Installed a few weeks ago, failed to notice recordings weren't saving...
Posted: Sat Nov 17, 2018 4:43 pm
I upgraded my gentoo server to 1.32.2 a few weeks ago thanks to a bunch of folks in the gentoo forums who worked out various ebuild and mariadb issues.
But I didn't notice at the time that the recordings were not being stored.
I'm getting this warning:
Cannot write to content dirs('/var/lib/zoneminder/events','/var/lib/zoneminder/images'). Check that these exist and are owned by the web account user
/etc/zm.conf is in the apache group.
zm.conf points to a completely different directory for storing the events:
And the permissions on those folders are correct also...
I checked the settings in the gui and there was indeed a stoage folder specified as /var/lib/zoneminder/events, and I changed it to /usr/share/zoneminder/www/events, but restarting zoneminder didn't make the message go away.
What am I doing wrong this time?
Thanks in advance.
But I didn't notice at the time that the recordings were not being stored.
I'm getting this warning:
Cannot write to content dirs('/var/lib/zoneminder/events','/var/lib/zoneminder/images'). Check that these exist and are owned by the web account user
/etc/zm.conf is in the apache group.
zm.conf points to a completely different directory for storing the events:
Code: Select all
snip...
# Path to installed data directory, used mostly for finding DB upgrade scripts
ZM_PATH_DATA=/usr/share/zoneminder
# Path to ZoneMinder binaries
ZM_PATH_BIN=/usr/bin
# Path to ZoneMinder libraries (none at present, for future use)
ZM_PATH_LIB=/usr/lib64
# Path to ZoneMinder configuration (this file only at present)
ZM_PATH_CONF=/etc
# Path to ZoneMinder web files
ZM_PATH_WEB=/usr/share/zoneminder/www
# Path to installed data directory, used mostly for finding DB upgrade scripts
ZM_PATH_DATA=/usr/share/zoneminder
# Path to ZoneMinder binaries
ZM_PATH_BIN=/usr/bin
# Path to ZoneMinder libraries (none at present, for future use)
ZM_PATH_LIB=/usr/lib64
# Path to ZoneMinder configuration (this file only at present)
ZM_PATH_CONF=/etc
# Path to ZoneMinder web files
ZM_PATH_WEB=/usr/share/zoneminder/www
snip...
I checked the settings in the gui and there was indeed a stoage folder specified as /var/lib/zoneminder/events, and I changed it to /usr/share/zoneminder/www/events, but restarting zoneminder didn't make the message go away.
What am I doing wrong this time?
Thanks in advance.