Console not showing events

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
chuck8530
Posts: 94
Joined: Sun Nov 21, 2021 2:45 am

Console not showing events

Post by chuck8530 »

Fedora FC36 on laptop - new install - had 2 problems: 1) link missing for cache in /usr/share/zoneminder/www and 2) link missing for cgi-bin in /usr/share/zoneminder. Up and running, camera shows however on the Console page events, which are recording, show as [ null null null null null ] and Zone, which is working shows as [ 0 ]. Google hasn't been any help. Hope someone here is better.
chuck8530
Posts: 94
Joined: Sun Nov 21, 2021 2:45 am

Re: Console not showing events

Post by chuck8530 »

Missed adding it's the camera events showing null null null... but the the Totals for all cams (1) show "0"
dougmccrary
Posts: 1150
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Console not showing events

Post by dougmccrary »

Looked at logs?
Sounds like maybe ZM can't write to database. There should always be "1" zone...
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Console not showing events

Post by Magic919 »

Do you have events on the filesystem?
-
ebayironman
Posts: 1
Joined: Sat Oct 01, 2022 1:23 am

Re: Console not showing events

Post by ebayironman »

I too am experiencing this on a fresh install of Lubuntu 22.04 using ZM1.37, and Mariadb.

Had a previous install, but on slow HDD and did a fresh install on an SSD.
Followed the instructs here:
https://bkjaya.wordpress.com/2022/05/24 ... ntu-focal/
Added my Cameras all Wireless 1080P cams, except for one older 640X480 unit.

It was working, but something changed, and it made the MariaDB unable to start.
I fixed that by removing the entry for TZ from a config file.
I do have events in the file system, and I can see the events in chronological order using the ZMNinja app on my Android phone.
I can go to Audit Events Report in ZM Web GUI, and there are events, and I can click and play them via browser either on the ZM Server, or on my Windows PC, locally or remotely (Have DDNS and port forwarding).

I know that this is most likely one line in a configuration file.

Wondering if best to just redo the ZM install, or find the silver bullet?

Screenshot of my ZM Audit Events Page and then my Console in Chrome on Windows 10.
Update, I resolved the 0 zone issue by running a mysql command.

Code: Select all

Update Monitors set ZoneCount=(SELECT COUNT(*) FROM Zones WHERE MonitorId=Monitors.Id);
Attachments
ZM Events 10-3-2022.JPG
ZM Events 10-3-2022.JPG (84.59 KiB) Viewed 596 times
zm console 10-2-2022.JPG
zm console 10-2-2022.JPG (107.96 KiB) Viewed 597 times
Last edited by ebayironman on Tue Oct 04, 2022 4:32 am, edited 3 times in total.
dougmccrary
Posts: 1150
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Console not showing events

Post by dougmccrary »

Do you get anything in the log when you click and it spins?
BTW, you can post screenshots here using the Attachments tab below...
chuck8530
Posts: 94
Joined: Sun Nov 21, 2021 2:45 am

Re: Console not showing events

Post by chuck8530 »

SOLVED
ZM was installed via: dnf install zoneminder zoneminder-common zoneminder-httpd

for some reason db/triggers.sql didn't get run
Not sure if anything else (sql) didn't run - but Console page is now listing Events.
Post Reply