Ubuntu 16.04 trouble with ZM_OPT_USE_GOOG_RECAPTCHA after update

Forum for questions and support relating to the 1.30.x releases only.
Locked
logbox
Posts: 5
Joined: Mon Apr 24, 2017 5:32 am

Ubuntu 16.04 trouble with ZM_OPT_USE_GOOG_RECAPTCHA after update

Post by logbox »

After update the ZM i dont have a live picture.

In log there no any errors, but if i start to watch a live view i dont see a picture and i get some errors.

Date/Time
Component Server PID Level Message File Line
2017-04-24 08:59:51.631998 undef 30876 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:51.092231 undef 30874 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:50.715880 undef 30873 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:50.363945 undef 30872 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:50.029675 undef 30871 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:49.451711 undef 30869 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:48.868072 undef 30868 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:48.577586 undef 30867 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:48.238004 undef 30866 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:47.836208 undef 30864 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:47.194618 web_js 27397 ERR getStreamCmdResponse stream error: Socket 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/lat ... window-etc for more information. - checkStreamForErrors() ?view=watch
2017-04-24 08:59:46.989184 web_php 27397 ERR Socket 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/lat ... window-etc for more information. /usr/share/zoneminder/www/includes/functions.php 2031
2017-04-24 08:59:45.089208 undef 30859 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:44.477594 undef 30858 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:44.054785 undef 30857 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:43.419332 undef 30855 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:42.516838 undef 30854 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:41.873668 undef 30853 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:41.549161 undef 30852 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:41.216886 undef 30850 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:40.840482 undef 30849 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:40.467765 undef 30848 ERR Attempt to fetch string value for ZM_OPT_USE_GOOG_RECAPTCHA, actual type is boolean. Try running 'zmupdate.pl -f' to reload config. zm_config.cpp 246
2017-04-24 08:59:20.132143 zmc_dvideo0 30499 INF Logitech c910: 2000 - Capturing at 5.00 fps zm_monitor.cpp 3125
Date/Time
Component Server PID Level Message File Line
2017-04-24 08:56:00.133785 zmc_dvideo0 30499 INF Logitech c910: 1000 - Capturing at 4.95 fps zm_monitor.cpp 3125
2017-04-24 08:52:41.589020 zmdc 30528 INF 'zmupdate.pl -c' started at 17/04/24 08:52:41 zmdc.pl
2017-04-24 08:52:41.573560 zmdc 30466 INF 'zmupdate.pl -c' starting at 17/04/24 08:52:41, pid = 30528 zmdc.pl
2017-04-24 08:52:41.448770 zmwatch 30518 INF Watchdog pausing for 30 seconds zmwatch.pl
2017-04-24 08:52:41.361360 zmwatch 30518 INF Watchdog starting zmwatch.pl
2017-04-24 08:52:39.657300 zmfilter 30501 INF Scanning for events zmfilter.pl
2017-04-24 08:52:39.607300 zmc_dvideo0 30499 WAR Hue control is not supported zm_local_camera.cpp 1810
2017-04-24 08:52:39.095070 zmdc 30518 INF 'zmwatch.pl' started at 17/04/24 08:52:39 zmdc.pl
2017-04-24 08:52:39.088187 zmc_dvideo0 30499 INF Starting Capture version 1.30.2 zmc.cpp 250
2017-04-24 08:52:39.083220 zmdc 30466 INF 'zmwatch.pl' starting at 17/04/24 08:52:39, pid = 30518 zmdc.pl
2017-04-24 08:52:35.933340 zmdc 30512 INF 'zmaudit.pl -c' started at 17/04/24 08:52:35 zmdc.pl
2017-04-24 08:52:35.912440 zmdc 30466 INF 'zmaudit.pl -c' starting at 17/04/24 08:52:35, pid = 30512 zmdc.pl
2017-04-24 08:52:33.413747 zmc_dvideo0 30499 INF No direct match for the selected palette ( zm_local_camera.cpp 412
2017-04-24 08:52:33.336683 zmc_dvideo0 30499 INF Selected capture palette: YUYV 4:2:2 (YUYV) zm_local_camera.cpp 351
2017-04-24 08:52:33.031580 zmdc 30501 INF 'zmfilter.pl' started at 17/04/24 08:52:33 zmdc.pl
2017-04-24 08:52:33.025010 zmdc 30466 INF 'zmfilter.pl' starting at 17/04/24 08:52:33, pid = 30501 zmdc.pl
2017-04-24 08:52:32.929370 zmdc 30499 INF 'zmc -d /dev/video0' started at 17/04/24 08:52:32 zmdc.pl
2017-04-24 08:52:32.917850 zmdc 30466 INF 'zmc -d /dev/video0' starting at 17/04/24 08:52:32, pid = 30499 zmdc.pl
2017-04-24 08:52:32.842960 zmdc 30466 INF Starting pending process, zmc -d /dev/video0 zmdc.pl
i tryed to upgrade againe, but its not helped.

I allso try to
zmupdate.pl -f
, but its not help

Recapcha option is disabled
Attachments
options
options
options.png (45.47 KiB) Viewed 1667 times
logbox
Posts: 5
Joined: Mon Apr 24, 2017 5:32 am

Re: Ubuntu 16.04 trouble with ZM_OPT_USE_GOOG_RECAPTCHA after update

Post by logbox »

up!
logbox
Posts: 5
Joined: Mon Apr 24, 2017 5:32 am

Re: Ubuntu 16.04 trouble with ZM_OPT_USE_GOOG_RECAPTCHA after update

Post by logbox »

Its seems that the problem in:
2017-04-26 15:35:39.336586 web_js 7937 ERR getStreamCmdResponse stream error: Socket 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/lat ... window-etc for more information. - checkStreamForErrors() ?view=watch
2017-04-26 15:35:39.183595 web_php 7937 ERR Socket 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/lat ... window-etc for more information. /usr/share/zoneminder/www/includes/functions.php 2031
But cgi mod is anable and config is:
root@server:~# cat /etc/apache2/conf-enabled/zoneminder.conf
# 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
php_value short_open_tag 1
Require all granted
</Directory>
logbox
Posts: 5
Joined: Mon Apr 24, 2017 5:32 am

Re: Ubuntu 16.04 trouble with ZM_OPT_USE_GOOG_RECAPTCHA after update

Post by logbox »

root@server:~# cat /etc/apache2/sites-enabled/zoneminder.conf
<VirtualHost *:80>
ServerName zoneminder
DocumentRoot /usr/share/zoneminder/www

Alias /zm "/usr/share/zoneminder/www"

<Directory "/usr/share/zoneminder/www">
Options +FollowSymLinks
AllowOverride All

# SetEnv HOME /usr/share/zoneminder/
# SetEnv HTTP_HOME /usr/share/zoneminder/www
</Directory>

ScriptAlias /cgi-bin/ "/usr/lib/zoneminder/cgi-bin/"

<Directory "/usr/lib/zoneminder/cgi-bin/">

Options +ExecCGI -MultiViews +SymlinksIfOwnerMatch
AllowOverride All

</Directory>
ErrorLog /home/logbox/zmlog.log
</VirtualHost>
Its Work!!! :twisted: :twisted: :twisted:
Locked