I am using Centos7, 3.10.0-862.14.4.el7.x86_64. I installed zoneminder about 1 or 1,5 year ago using the installation guide for Redhat.
https://zoneminder.readthedocs.io/en/la ... edhat.html
Issuing a yum update also updated zoneminder from 1.30.4 to 1.32.0. The zm webpage reported a http error 404 not found. I reinstalled the previous apache configuration for zoneminder that was saved as zoneminder.rpmsave or something like that. That solved the 404 not found error. The next problem was that the javascript files could not be found, resulting in a poor layout and none of the javascript bussons/check-boxes, etc... were recognized nor functioning. Below some lines of the Firefox web console:
Loading failed for the <script> with source “
https://zoneminder.benthijssen.nl:8443/ ... 6774276.js”.
index.php:149
Loading failed for the <script> with source “
https://zoneminder.benthijssen.nl:8443/ ... 6774276.js”.
index.php:150
Loading failed for the <script> with source “https://zoneminder.benthijssen.nl:8443/ ... 6774276.js”.
index.php:152
ReferenceError: toggleCheckbox is not defined[Learn More]index.php:1:1
I was not able to solve the problem by adding an alias for "/cache" "/var/cache/zoneminder/" in the apache configuration file for zoneminder: /etc/httpd/conf.d/zoneminder.conf .I tried several aliases to no avail.
I do not think that is the right way, but I solved the problem by commenting out the ZM_DIR_CACHE constant definition in file: /usr/share/zoneminder/www/includes/config.php
//
// This section contains options substituted by the zmconfig.pl utility, do not edit these directly
//
define( 'ZM_CONFIG', '/etc/zm/zm.conf' ); // Path to config file
define( 'ZM_CONFIG_SUBDIR', '/etc/zm/conf.d' ); // Path to config subfolder
// Define, and override any given in config file
define( 'ZM_VERSION', '1.32.0' ); // Version
define( 'ZM_DIR_TEMP', '/var/lib/zoneminder/temp' );
#### define( 'ZM_DIR_CACHE', '/var/cache/zoneminder' ); <--------------------- this line
global $configvals;
Despite a lot of searching I cound not find a message somewhere pointing to the same problem I had.
yum repolist:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirror1.spango.com
* epel: mirror.slu.cz
* extras: mirror.sitbv.nl
* rpmfusion-free-updates: ftp.nluug.nl
* rpmfusion-nonfree-updates: ftp.nluug.nl
* updates: mirror.sitbv.nl
repo id repo name status
!base/7/x86_64 CentOS-7 - Base 9,911
!epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12,726
!extras/7/x86_64 CentOS-7 - Extras 432
!rpmfusion-free-updates/x86_64 RPM Fusion for EL 7 - Free - Updates 243
!rpmfusion-nonfree-updates/x86_64 RPM Fusion for EL 7 - Nonfree - Updates 50
!updates/7/x86_64 CentOS-7 - Updates 1,543
repolist: 24,905