I just completed (several) fresh installs of Ubuntu 18.04 server, and followed the installation instructions to the last detail.
I then moved to the getting started guide and enabled authentication, then added a source. Everything appears to be fine until I attempt to view the live video, nothing appears except the little "couldn't find that" icon in the top right corner.
When I roll back and disable authentication, the live feeds show up in the browser. Re-enabling reproduces the issue.
I checked the log and saw a lot of this when authentication was enabled:
Code: Select all
zms_m2 11415 ERR Unable to authenticate user zms.cpp 212
Code: Select all
web_js 10537 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-055758s.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
Code: Select all
web_php 10537 ERR Socket /var/run/zm/zms-055758s.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 2048