No live view

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
petric
Posts: 7
Joined: Sat Jun 17, 2023 4:29 am

No live view

Post by petric »

Fresh installation on Debian 12 (Bookworm) + ZM 1.36.33
The host has 2 cores and 8 GB memory.

Created 2 Monitors running now in Modect mode and are capturing. But there is no live view (clicking on the name of the Monitor). The thumbnail below the monitor name shows a "broken" image.

But the events are logged an the recorded videos can be viewed properly.

No errors recognized in the log.

In Montage Preview the cameras are listed but they show "Camera offline" for both monitors.

Any hints where to look next ?

Find attached a (partial) screenshot of the Console view.
Attachments
Screenshot.png
Screenshot.png (21.54 KiB) Viewed 9386 times
dougmccrary
Posts: 1373
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: No live view

Post by dougmccrary »

Are you using multi-port? That can break it if set up wrong.

Not enough, or no /dev/shm can do it as well, but then you'd get error logs.
petric
Posts: 7
Joined: Sat Jun 17, 2023 4:29 am

Re: No live view

Post by petric »

It is a standard debian 12 install (console only) using the zoneminder package delivered with it.
No changes to /etc/zm/* done. Even the ssl config is currently not configured/enabled.

As far as i can see i'm single-port:
# lsof -P -i -n
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mariadbd 501 mysql 55u IPv4 14892 0t0 TCP 127.0.0.1:3306 (LISTEN)
apache2 505 root 4u IPv6 14151 0t0 TCP *:80 (LISTEN)
apache2 971 www-data 4u IPv6 14151 0t0 TCP *:80 (LISTEN)
apache2 975 www-data 4u IPv6 14151 0t0 TCP *:80 (LISTEN)
apache2 983 www-data 4u IPv6 14151 0t0 TCP *:80 (LISTEN)
apache2 985 www-data 4u IPv6 14151 0t0 TCP *:80 (LISTEN)
apache2 986 www-data 4u IPv6 14151 0t0 TCP *:80 (LISTEN)
apache2 988 www-data 4u IPv6 14151 0t0 TCP *:80 (LISTEN)
apache2 993 www-data 4u IPv6 14151 0t0 TCP *:80 (LISTEN)
apache2 5821 www-data 4u IPv6 14151 0t0 TCP *:80 (LISTEN)
apache2 5821 www-data 11u IPv6 145725 0t0 TCP 192.168.2.126:80->192.168.2.20:42112 (ESTABLISHED)
apache2 6109 www-data 4u IPv6 14151 0t0 TCP *:80 (LISTEN)
zmc 6277 www-data 6u IPv4 143030 0t0 TCP 192.168.2.126:42364->192.168.2.168:1935 (ESTABLISHED)
apache2 6389 www-data 4u IPv6 14151 0t0 TCP *:80 (LISTEN)
zmc 6687 www-data 6u IPv4 91133 0t0 TCP 192.168.2.126:46006->192.168.2.100:554 (ESTABLISHED)
Other hints ?
bbunge
Posts: 2975
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: No live view

Post by bbunge »

I have been able to get Zoneminder 1.36.33 to work, sort of, on Debian 12. I have used the install instructions on the WIKI (https://wiki.zoneminder.com/Debian_12_B ... er_1.36.33) whuch work best for me and the instructions on readthe docs (https://zoneminder.readthedocs.io/en/la ... 2-bookworm). However I feel the readthedocs is incomplete. I ran Bookworm for a couple of days and had problems with Zoneminder opening on some devices and browsers. Firefox on Windows and Debian worked but Chrome and Firefox on Android and ChromeOS did not. So, I went back to Debian 11.
As of now I do not have a PC I can use to further test Bookworm and Zoneminder. Am hoping the zmrepo will get a version of Zoneminder loaded so we can do installs from there instead of having to stand-on-our-heads with the neutered version from Debian.
petric
Posts: 7
Joined: Sat Jun 17, 2023 4:29 am

Re: No live view [Solved]

Post by petric »

Solved problem.

Installer does not enable the cgi module of apache.

Code: Select all

a2enmod cgi
systemctl restart apache2
jantman
Posts: 15
Joined: Tue May 08, 2018 11:21 am
Location: Atlanta, GA, USA
Contact:

Re: No live view

Post by jantman »

I'd gotten a page-long description of this same issue, and everything I tried to fix it, written up before I actually looked here and found this post. Solved for me too, thanks so much!

I've opened https://github.com/ZoneMinder/zoneminder/pull/3778 to add this to the readthedocs instructions as well.
Principal Software Engineer - Some Company
blackhiden
Posts: 1
Joined: Fri Aug 02, 2024 10:17 am

Re: No live view [Solved]

Post by blackhiden »

petric wrote: Fri Jun 23, 2023 9:13 am Solved problem.

Installer does not enable the cgi module of apache.

Code: Select all

a2enmod cgi
systemctl restart apache2
I register my self new account to say thank you. this works like a charm.
dougmccrary
Posts: 1373
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: No live view

Post by dougmccrary »

Code: Select all

a2enmod cgi
systemctl restart apache2
Interesting. That somehow happens automatically in ubuntu...
Post Reply