No video after upgrade-solved
Posted: Tue Jan 22, 2019 4:02 pm
So my previous version of zoneminder kept popping up saying there was an update. So after getting annoyed of seeing the pop up I, like a fool, I decided to upgrade. I am running Bionic, I saw an error message when trying to do the update that there was no release candidate for Bionic. So I looked for a solution and saw on a ppa page to use the http://ppa.launchpad.net/iconnor/zoneminder-master ppa so I did.
It seems to be running, I can see the stills so I know it is capturing but I am not able to see any video, in firefox or chrome.
The console page also shows that it capturing with various 13fps 1.02MB/s on the 3 cameras, 2 Axis M1065-lw and a M1034-w.
When I click on a camera the page comes up with the events but refreshes constantly which makes it difficult to even click on an event.
There is no image though, every so often I can the camera name appear but (the timestamp).
I have install the cambozola .jr, php7.2-cgi.
etc/zm/zm.conf
______________________________
conf.d (I have altered this one, not sure what it should be)
______________________________
Apache
zoneminder.conf
_____________________________________________
Log file error
_________
Can't find process with command of 'zma -m 1'
_______________________________________
Should I downgrade? is it possible?
It seems to be running, I can see the stills so I know it is capturing but I am not able to see any video, in firefox or chrome.
The console page also shows that it capturing with various 13fps 1.02MB/s on the 3 cameras, 2 Axis M1065-lw and a M1034-w.
When I click on a camera the page comes up with the events but refreshes constantly which makes it difficult to even click on an event.
There is no image though, every so often I can the camera name appear but (the timestamp).
I have install the cambozola .jr, php7.2-cgi.
etc/zm/zm.conf
Code: Select all
ZM_PATH_DATA=/usr/share/zoneminder
ZM_PATH_BIN=/usr/bin
ZM_PATH_LIB=/usr/lib/x86_64-linux-gnu
ZM_PATH_CONF=/etc/zm
ZM_PATH_WEB=/usr/share/zoneminder/www
ZM_PATH_CGI=/usr/lib/zoneminder/cgi-bin
ZM_WEB_USER=www-data
ZM_WEB_GROUP=www-data
ZM_DB_TYPE=mysql
ZM_DB_HOST=localhost
ZM_DB_NAME=zm
ZM_DB_USER=zmuser
ZM_DB_PASS=zmpass
ZM_DB_SSL_CA_CERT=
ZM_DB_SSL_CLIENT_KEY=
ZM_DB_SSL_CLIENT_CERT=
ZM_SERVER_HOST=
conf.d (I have altered this one, not sure what it should be)
Code: Select all
ZM_PATH_SWAP=/dev/shm
ZM_PATH_ZMS=/zm/cgi-bin/nph-zms
# ZM_PATH_ZMS=/usr/lib/zoneminder/cgi-bin/nph-zms
Apache
zoneminder.conf
Code: Select all
# Remember to enable cgi mod (i.e. "a2enmod cgi").
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
Require all granted
</Directory>
# Order matters. This alias must come first.
Alias /zm/cache /var/cache/zoneminder/cache
<Directory /var/cache/zoneminder/cache>
Options -Indexes +FollowSymLinks
AllowOverride None
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order deny,allow
Allow from all
</IfModule>
</Directory>
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
Options -Indexes +FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
# For better visibility, the following directives have been migrated from the
# default .htaccess files included with the CakePHP project.
# Parameters not set here are inherited from the parent directive above.
<Directory "/usr/share/zoneminder/www/api">
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
RewriteBase /zm/api
</Directory>
<Directory "/usr/share/zoneminder/www/api/app">
RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
RewriteBase /zm/api
</Directory>
<Directory "/usr/share/zoneminder/www/api/app/webroot">
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
RewriteBase /zm/api
</Directory>
Log file error
Code: Select all
2019-01-22 10:57:42 web_js 13267 ERR
getStreamCmdResponse stream error: Socket /var/run/zm/zms-454991s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. - checkStreamForErrors() ?view=watch
2019-01-22 10:57:40 web_php 13267 ERR
Socket /var/run/zm/zms-454991s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. /usr/share/zoneminder/www/includes/functions.php 2088
Can't find process with command of 'zma -m 1'
_______________________________________
Should I downgrade? is it possible?