Can only view most recent 20 events.

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
bloxxom
Posts: 6
Joined: Fri Nov 17, 2023 5:33 am

Can only view most recent 20 events.

Post by bloxxom »

This is a fresh install of 1.36.12 on Ubuntu server Jammy 22.04.3 LTS The ZM install came from the Jammy repo, followed by some manual tweaks to get it working.

I have 8 cameras. All are set to monitor except one that's set for record. That camera sends one frame per second. All the cameras show as capturing.

In the console page, all the cameras have thumbnails visible, but there are no events listed for any of the cameras.

In the page for the camera that's recording, the most recent 20 events are listed. It's posting a new one every 600 frames, or 10 minutes. I understand that WEB_EVENTS_PER_PAGE no longer works for some reason, but even if it did work, there are no paging controls that would let me view older events.

I verified that the images are being recorded and remain present on the disk. I have mountains of disk space at the moment, and have no filters defined.

So what I need is some pointer to find out how to display the older events that have been recorded.
dougmccrary
Posts: 1336
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Can only view most recent 20 events.

Post by dougmccrary »

You might have a permissions problem. Is the log showing info only, or warnings and/or errors?
bloxxom
Posts: 6
Joined: Fri Nov 17, 2023 5:33 am

Re: Can only view most recent 20 events.

Post by bloxxom »

The log level is set to INFO, and I only see info messages reporting the capture rate for all the cameras. Just to be sure, I set it to DEBUG, but it didn't make any difference, I only see the same info messages. No warnings or errors.
bloxxom
Posts: 6
Joined: Fri Nov 17, 2023 5:33 am

Re: Can only view most recent 20 events.

Post by bloxxom »

I do see an error in the browser debug: It gets a 404 when trying to fetch this object: http://my-server-name/zm/cache/bootstrap.bundle.js.map

The apache config file zone minder.conf has: Alias /zm/cache "/var/cache/zoneminder" so I would expect to find the file at /var/cache/zoneminder/bootstrap.bundle.js.map. It's not there, but it is in /usr/share/zoneminder/www/skins/classic/js/bootstrap.bundle.js.map

There are many files from that directory symlinked to /var/cache/zoneminder, so I added a symlink for bootstrap.bundle.js.map. This made the 404 error go away, but the pagination controls still fail to appear.
bloxxom
Posts: 6
Joined: Fri Nov 17, 2023 5:33 am

Re: Can only view most recent 20 events.

Post by bloxxom »

On a side note, fixing the symlink for bootstrap.bundle.js.map also made the timestamps start working, where previously they were not.

I'm still left with no events being reported on the console page, and no pagination on the individual camera page, even though jpeg images are being recorded to the disk as expected.
dougmccrary
Posts: 1336
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Can only view most recent 20 events.

Post by dougmccrary »

DEBUG, but it didn't make any difference
Note that those log settings only take effect after a start/restart.
User avatar
iconnor
Posts: 3272
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Can only view most recent 20 events.

Post by iconnor »

1.36.12 is old. Whatever the issue is is likely long since fixed and forgotten.

Please update to 1.36.33.
Post Reply