ZoneMinder / zoneminder

ZoneMinder is a free, open source Closed-circuit television software application developed for Linux which supports IP, USB and Analog cameras.
http://www.zoneminder.com/
GNU General Public License v2.0
5.12k stars 1.22k forks source link

All new events are corrupt starting with commit 742f36c #4105

Closed Simpler1 closed 2 months ago

Simpler1 commented 2 months ago

Describe Your Environment

Describe the bug Events are created, but are corrupt. They won't play back. image

These problems all started with commit 742f36c image

I can revert back to the previous commit and everything works perfectly. 13efaf4

To Reproduce Steps to reproduce the behavior:

  1. Start ZoneMinder
  2. Trigger an event
  3. Notice that the event is not viewable

There are also many permissions errors when attempting to capture debug logs (shown in the image above). These also started with this same commit.

Expected behavior Events are viewable.

Debug Logs

7/29/24, 8:59:29 AM EDT.233869 web_php[439].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 949083
    [command] => 99
)] at index.php line 33
7/29/24, 8:59:29 AM EDT.234501 web_php[439].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:29 AM EDT.235333 web_php[439].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 8:59:29 AM EDT.235511 web_php[439].DBG [192.168.1.20] [Sending command 99] at ajax/stream.php line 81
7/29/24, 8:59:29 AM EDT.235689 web_php[439].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169
7/29/24, 8:59:29 AM EDT.432265 web_php[440].DBG [192.168.1.20] [Array
(
    [view] => request
    [request] => events
    [task] => query
    [filter] => Array
        (
            [Query] => Array
                (
                    [terms] => Array
                        (
                            [0] => Array
                                (
                                    [attr] => Group
                                    [op] => =
                                    [val] => 
                                )

                            [1] => Array
                                (
                                    [cnj] => and
                                    [attr] => Monitor
                                    [op] => IN
                                    [val] => Array
                                        (
                                            [0] => 6
                                            [1] => 2
                                            [2] => 1
                                        )

                                )

                            [2] => Array
                                (
                                    [cnj] => and
                                    [attr] => StartDateTime
                                    [op] => >=
                                    [val] => -1 day
                                )

                            [3] => Array
                                (
                                    [cnj] => and
                                    [attr] => EndDateTime
                                    [op] => <=
                                    [val] => 
                                )

                            [4] => Array
                                (
                                    [cnj] => and
                                    [attr] => Notes
                                    [op] => LIKE
                                    [val] => Array
                                        (
                                            [0] => person
                                        )

                                )

                            [5] => Array
                                (
                                    [cnj] => and
                                    [attr] => Tags
                                    [op] => =
                                    [val] => 
                                )

                        )

                )

        )

    [undefined] => All Tags
    [__csrf_magic] => key:aae56b910f6da479c1f927668662bacf85b82f89,1722024871
    [search] => 
    [sort] => StartDateTime
    [order] => desc
    [offset] => 0
    [limit] => 500
)] at index.php line 33
7/29/24, 8:59:29 AM EDT.433373 web_php[440].DBG [192.168.1.20] [View: request Request: events Action:  User: kevin] at index.php line 190
7/29/24, 8:59:29 AM EDT.436330 web_php[440].DBG [192.168.1.20] [Calling the following sql query: SELECT 
  E.*, 
  UNIX_TIMESTAMP(E.StartDateTime) AS StartTimeSecs, 
  CASE WHEN E.EndDateTime IS NULL THEN (SELECT NOW()) ELSE E.EndDateTime END AS EndDateTime, 
  CASE WHEN E.EndDateTime IS NULL THEN (SELECT UNIX_TIMESTAMP(NOW())) ELSE UNIX_TIMESTAMP(EndDateTime) END AS EndTimeSecs, 
  M.Name AS Monitor,
  GROUP_CONCAT(T.Name SEPARATOR ", ") AS Tags FROM `Events` AS E 
  INNER JOIN Monitors AS M ON E.MonitorId = M.Id 
  LEFT JOIN Events_Tags AS ET ON E.Id = ET.EventId 
  LEFT JOIN Tags AS T ON T.Id = ET.TagId 
   WHERE ( E.MonitorId IN ('6','2','1')
 and E.StartDateTime >= '2024-07-28 08:59:29'
 and E.Notes LIKE '%person%'
) 
  GROUP BY E.Id 
   ORDER BY E.StartDateTime DESC] at ajax/events.php line 242
7/29/24, 8:59:29 AM EDT.442703 web_php[440].DBG [192.168.1.20] [Have 136 events matching base filter.] at ajax/events.php line 266
7/29/24, 8:59:29 AM EDT.446724 web_php[440].DBG [192.168.1.20] [Done] at ajax/events.php line 353
7/29/24, 8:59:30 AM EDT.208635 web_php[441].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 978492
    [command] => 99
)] at index.php line 33
7/29/24, 8:59:30 AM EDT.209847 web_php[441].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:30 AM EDT.212353 web_php[441].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 8:59:30 AM EDT.212545 web_php[441].DBG [192.168.1.20] [Sending command 99] at ajax/stream.php line 81
7/29/24, 8:59:30 AM EDT.212726 web_php[441].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169
7/29/24, 8:59:30 AM EDT.219253 web_php[442].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 115395
    [command] => 99
)] at index.php line 33
7/29/24, 8:59:30 AM EDT.219848 web_php[442].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:30 AM EDT.220536 web_php[442].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 8:59:30 AM EDT.220701 web_php[442].DBG [192.168.1.20] [Sending command 99] at ajax/stream.php line 81
7/29/24, 8:59:30 AM EDT.220877 web_php[442].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169
7/29/24, 8:59:30 AM EDT.227849 web_php[443].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 949083
    [command] => 99
)] at index.php line 33
7/29/24, 8:59:30 AM EDT.228345 web_php[443].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:30 AM EDT.228906 web_php[443].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 8:59:30 AM EDT.229037 web_php[443].DBG [192.168.1.20] [Sending command 99] at ajax/stream.php line 81
7/29/24, 8:59:30 AM EDT.229195 web_php[443].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169
7/29/24, 8:59:31 AM EDT.209652 web_php[444].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 978492
    [command] => 99
)] at index.php line 33
7/29/24, 8:59:31 AM EDT.210254 web_php[444].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:31 AM EDT.211634 web_php[445].DBG [192.168.1.20] [Array
(
    [view] => request
    [request] => status
    [entity] => navBar
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:31 AM EDT.212306 web_php[445].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:31 AM EDT.213138 web_php[445].DBG [192.168.1.20] [View: request Request: status Action:  User: kevin] at index.php line 190
7/29/24, 8:59:31 AM EDT.216663 web_php[444].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 8:59:31 AM EDT.216873 web_php[444].DBG [192.168.1.20] [Sending command 99] at ajax/stream.php line 81
7/29/24, 8:59:31 AM EDT.217061 web_php[444].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169

<snip>

7/29/24, 8:59:42 AM EDT.228390 web_php[444].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 115395
    [command] => 99
)] at index.php line 33
7/29/24, 8:59:42 AM EDT.228995 web_php[444].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:42 AM EDT.229897 web_php[444].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 8:59:42 AM EDT.230090 web_php[444].DBG [192.168.1.20] [Sending command 99] at ajax/stream.php line 81
7/29/24, 8:59:42 AM EDT.230303 web_php[444].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169
7/29/24, 8:59:42 AM EDT.237140 web_php[434].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 949083
    [command] => 99
)] at index.php line 33
7/29/24, 8:59:42 AM EDT.237649 web_php[434].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:42 AM EDT.238276 web_php[434].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 8:59:42 AM EDT.238433 web_php[434].DBG [192.168.1.20] [Sending command 99] at ajax/stream.php line 81
7/29/24, 8:59:42 AM EDT.238616 web_php[434].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169
7/29/24, 8:59:42 AM EDT.245283 web_php[436].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 978492
    [command] => 3
)] at index.php line 33
7/29/24, 8:59:42 AM EDT.245790 web_php[436].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:42 AM EDT.246605 web_php[436].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 8:59:42 AM EDT.246770 web_php[436].DBG [192.168.1.20] [Sending command 3] at ajax/stream.php line 81
7/29/24, 8:59:42 AM EDT.246963 web_php[436].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169
7/29/24, 8:59:42 AM EDT.254292 web_php[437].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 115395
    [command] => 3
)] at index.php line 33
7/29/24, 8:59:42 AM EDT.254842 web_php[437].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:42 AM EDT.255639 web_php[437].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 8:59:42 AM EDT.255790 web_php[437].DBG [192.168.1.20] [Sending command 3] at ajax/stream.php line 81
7/29/24, 8:59:42 AM EDT.255963 web_php[437].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169
7/29/24, 8:59:42 AM EDT.263182 web_php[435].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 949083
    [command] => 3
)] at index.php line 33
7/29/24, 8:59:42 AM EDT.263762 web_php[435].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:42 AM EDT.264522 web_php[435].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 8:59:42 AM EDT.264685 web_php[435].DBG [192.168.1.20] [Sending command 3] at ajax/stream.php line 81
7/29/24, 8:59:42 AM EDT.264886 web_php[435].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169
7/29/24, 8:59:46 AM EDT.207366 web_php[438].DBG [192.168.1.20] [Array
(
    [view] => request
    [request] => status
    [entity] => navBar
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:46 AM EDT.208115 web_php[438].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:46 AM EDT.214379 web_php[438].DBG [192.168.1.20] [View: request Request: status Action:  User: kevin] at index.php line 190
7/29/24, 8:59:49 AM EDT.208526 web_php[439].DBG [192.168.1.20] [Array
(
    [view] => request
    [request] => status
    [entity] => navBar
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:49 AM EDT.209324 web_php[439].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:49 AM EDT.215696 web_php[439].DBG [192.168.1.20] [View: request Request: status Action:  User: kevin] at index.php line 190
7/29/24, 8:59:58 AM EDT.575214 web_php[440].DBG [192.168.1.20] [Array
(
    [view] => request
    [request] => events
    [task] => query
    [filter] => Array
        (
            [Query] => Array
                (
                    [terms] => Array
                        (
                            [0] => Array
                                (
                                    [attr] => Group
                                    [op] => =
                                    [val] => 
                                )

                            [1] => Array
                                (
                                    [cnj] => and
                                    [attr] => Monitor
                                    [op] => IN
                                    [val] => Array
                                        (
                                            [0] => 6
                                            [1] => 2
                                            [2] => 1
                                        )

                                )

                            [2] => Array
                                (
                                    [cnj] => and
                                    [attr] => StartDateTime
                                    [op] => >=
                                    [val] => -1 day
                                )

                            [3] => Array
                                (
                                    [cnj] => and
                                    [attr] => EndDateTime
                                    [op] => <=
                                    [val] => 
                                )

                            [4] => Array
                                (
                                    [cnj] => and
                                    [attr] => Notes
                                    [op] => LIKE
                                    [val] => 
                                )

                            [5] => Array
                                (
                                    [cnj] => and
                                    [attr] => Tags
                                    [op] => =
                                    [val] => 
                                )

                        )

                )

        )

    [undefined] => All Tags
    [__csrf_magic] => key:aae56b910f6da479c1f927668662bacf85b82f89,1722024871
    [search] => 
    [sort] => StartDateTime
    [order] => desc
    [offset] => 0
    [limit] => 500
)] at index.php line 33
7/29/24, 8:59:58 AM EDT.582547 web_php[440].DBG [192.168.1.20] [View: request Request: events Action:  User: kevin] at index.php line 190
7/29/24, 8:59:58 AM EDT.584491 web_php[440].DBG [192.168.1.20] [Calling the following sql query: SELECT 
  E.*, 
  UNIX_TIMESTAMP(E.StartDateTime) AS StartTimeSecs, 
  CASE WHEN E.EndDateTime IS NULL THEN (SELECT NOW()) ELSE E.EndDateTime END AS EndDateTime, 
  CASE WHEN E.EndDateTime IS NULL THEN (SELECT UNIX_TIMESTAMP(NOW())) ELSE UNIX_TIMESTAMP(EndDateTime) END AS EndTimeSecs, 
  M.Name AS Monitor,
  GROUP_CONCAT(T.Name SEPARATOR ", ") AS Tags FROM `Events` AS E 
  INNER JOIN Monitors AS M ON E.MonitorId = M.Id 
  LEFT JOIN Events_Tags AS ET ON E.Id = ET.EventId 
  LEFT JOIN Tags AS T ON T.Id = ET.TagId 
   WHERE ( E.MonitorId IN ('6','2','1')
 and E.StartDateTime >= '2024-07-28 08:59:58'
) 
  GROUP BY E.Id 
   ORDER BY E.StartDateTime DESC] at ajax/events.php line 242
7/29/24, 8:59:58 AM EDT.595417 web_php[440].DBG [192.168.1.20] [Have 467 events matching base filter.] at ajax/events.php line 266
7/29/24, 8:59:58 AM EDT.627143 web_php[440].DBG [192.168.1.20] [Done] at ajax/events.php line 353
7/29/24, 8:59:59 AM EDT.114623 web_php[441].DBG [192.168.1.20] [Array
(
    [eid] => 261168
    [fid] => snapshot
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.115394 web_php[441].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.121887 web_php[441].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.122735 web_php[442].DBG [192.168.1.20] [Array
(
    [eid] => 261167
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.123337 web_php[442].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.124139 web_php[442].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.124332 web_php[441].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.124572 web_php[441].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/2/2024-07-29/261168/snapshot-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.124692 web_php[441].ERR [192.168.1.20] [Unable to load jpeg from /data/events/2/2024-07-29/261168/snapshot-48x36.jpg] at views/image.php line 533
7/29/24, 8:59:59 AM EDT.125172 web_php[442].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.125293 web_php[442].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.125373 web_php[442].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/6/2024-07-29/261167/objdetect-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.129405 web_php[442].DBG [192.168.1.20] [Have image scaling to 48 x 36] at views/image.php line 541
7/29/24, 8:59:59 AM EDT.133100 web_php[445].DBG [192.168.1.20] [Array
(
    [eid] => 261164
    [fid] => snapshot
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.133174 web_php[443].DBG [192.168.1.20] [Array
(
    [eid] => 261166
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.133711 web_php[443].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.133763 web_php[445].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.134536 web_php[443].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.134554 web_php[445].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.135424 web_php[445].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.135542 web_php[445].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/6/2024-07-29/261164/snapshot-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.135672 web_php[445].ERR [192.168.1.20] [Unable to load jpeg from /data/events/6/2024-07-29/261164/snapshot-48x36.jpg] at views/image.php line 533
7/29/24, 8:59:59 AM EDT.135966 web_php[443].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.136061 web_php[443].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.136128 web_php[443].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/6/2024-07-29/261166/objdetect-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.136726 web_php[444].DBG [192.168.1.20] [Array
(
    [eid] => 261163
    [fid] => snapshot
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.137220 web_php[444].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.137963 web_php[444].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.138903 web_php[444].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.139024 web_php[444].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/6/2024-07-29/261163/snapshot-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.139137 web_php[444].ERR [192.168.1.20] [Unable to load jpeg from /data/events/6/2024-07-29/261163/snapshot-48x36.jpg] at views/image.php line 533
7/29/24, 8:59:59 AM EDT.140382 web_php[443].DBG [192.168.1.20] [Have image scaling to 48 x 36] at views/image.php line 541
7/29/24, 8:59:59 AM EDT.143623 web_php[434].DBG [192.168.1.20] [Array
(
    [eid] => 261165
    [fid] => snapshot
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.144236 web_php[434].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.145563 web_php[434].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.148008 web_php[436].DBG [192.168.1.20] [Array
(
    [eid] => 261162
    [fid] => snapshot
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.148085 web_php[437].DBG [192.168.1.20] [Array
(
    [eid] => 261160
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.148520 web_php[437].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.148520 web_php[436].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.148785 web_php[434].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.148886 web_php[434].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/6/2024-07-29/261165/snapshot-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.149020 web_php[434].ERR [192.168.1.20] [Unable to load jpeg from /data/events/6/2024-07-29/261165/snapshot-48x36.jpg] at views/image.php line 533
7/29/24, 8:59:59 AM EDT.149334 web_php[436].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.149539 web_php[437].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.150322 web_php[436].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.150417 web_php[437].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.150480 web_php[436].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/6/2024-07-29/261162/snapshot-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.150525 web_php[437].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.150590 web_php[437].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/2/2024-07-29/261160/objdetect-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.152673 web_php[436].DBG [192.168.1.20] [Have image scaling to 48 x 36] at views/image.php line 541
7/29/24, 8:59:59 AM EDT.156950 web_php[437].DBG [192.168.1.20] [Have image scaling to 48 x 36] at views/image.php line 541
7/29/24, 8:59:59 AM EDT.162764 web_php[439].DBG [192.168.1.20] [Array
(
    [eid] => 261159
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.163294 web_php[439].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.163363 web_php[435].DBG [192.168.1.20] [Array
(
    [eid] => 261161
    [fid] => snapshot
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.163809 web_php[435].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.163754 web_php[438].DBG [192.168.1.20] [Array
(
    [eid] => 261158
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.164029 web_php[439].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.164189 web_php[438].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.164485 web_php[435].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.164773 web_php[439].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.164849 web_php[438].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.164860 web_php[439].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.164943 web_php[439].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/2/2024-07-29/261159/objdetect-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.165567 web_php[438].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.165695 web_php[438].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.165786 web_php[438].DBG [192.168.1.20] [Sending /data/events/6/2024-07-29/261158/objdetect-48x36.jpg] at views/image.php line 557
7/29/24, 8:59:59 AM EDT.165859 web_php[438].DBG [192.168.1.20] [1384 sent] at views/image.php line 562
7/29/24, 8:59:59 AM EDT.168130 web_php[435].WAR [192.168.1.20] [No frame found for event 261161] at views/image.php line 313
7/29/24, 8:59:59 AM EDT.168279 web_php[435].DBG [192.168.1.20] [/data/events/1/2024-07-29/261161/00000-capture.jpg does not exist] at views/image.php line 404
7/29/24, 8:59:59 AM EDT.168327 web_php[435].DBG [192.168.1.20] [Running /usr/bin/ffmpeg -ss 1 -i /data/events/1/2024-07-29/261161/incomplete.mp4 -frames:v 1 /data/events/1/2024-07-29/261161/00000-capture.jpg 2>&1] at views/image.php line 422
7/29/24, 8:59:59 AM EDT.170251 web_php[439].DBG [192.168.1.20] [Have image scaling to 48 x 36] at views/image.php line 541
7/29/24, 8:59:59 AM EDT.176025 web_php[440].DBG [192.168.1.20] [Array
(
    [eid] => 261157
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.176588 web_php[440].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.176791 web_php[441].DBG [192.168.1.20] [Array
(
    [eid] => 261156
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.177256 web_php[441].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.177353 web_php[440].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.178009 web_php[441].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.178107 web_php[440].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.178196 web_php[440].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.178468 web_php[440].DBG [192.168.1.20] [Sending /data/events/6/2024-07-29/261157/objdetect-48x36.jpg] at views/image.php line 557
7/29/24, 8:59:59 AM EDT.178545 web_php[440].DBG [192.168.1.20] [1412 sent] at views/image.php line 562
7/29/24, 8:59:59 AM EDT.178805 web_php[441].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.178892 web_php[441].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.178941 web_php[441].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/2/2024-07-29/261156/objdetect-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.186162 web_php[442].DBG [192.168.1.20] [Array
(
    [eid] => 261149
    [fid] => snapshot
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.186905 web_php[442].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.187599 web_php[442].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.188266 web_php[441].DBG [192.168.1.20] [Have image scaling to 48 x 36] at views/image.php line 541
7/29/24, 8:59:59 AM EDT.188350 web_php[442].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.188424 web_php[442].DBG [192.168.1.20] [Sending /data/events/2/2024-07-29/261149/snapshot-48x36.jpg] at views/image.php line 557
7/29/24, 8:59:59 AM EDT.188490 web_php[442].DBG [192.168.1.20] [1326 sent] at views/image.php line 562
7/29/24, 8:59:59 AM EDT.194544 web_php[445].DBG [192.168.1.20] [Array
(
    [eid] => 261147
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.194883 web_php[444].DBG [192.168.1.20] [Array
(
    [eid] => 261146
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.195107 web_php[445].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.195322 web_php[444].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.195849 web_php[445].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.196020 web_php[444].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.196563 web_php[445].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.196649 web_php[445].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.196697 web_php[445].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/2/2024-07-29/261147/objdetect-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.196692 web_php[444].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.196768 web_php[444].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.196824 web_php[444].DBG [192.168.1.20] [Sending /data/events/6/2024-07-29/261146/objdetect-48x36.jpg] at views/image.php line 557
7/29/24, 8:59:59 AM EDT.196893 web_php[444].DBG [192.168.1.20] [1401 sent] at views/image.php line 562
7/29/24, 8:59:59 AM EDT.206243 web_php[443].DBG [192.168.1.20] [Array
(
    [eid] => 261145
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.206722 web_php[445].DBG [192.168.1.20] [Have image scaling to 48 x 36] at views/image.php line 541
7/29/24, 8:59:59 AM EDT.206746 web_php[443].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.207309 web_php[443].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.208037 web_php[443].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.208147 web_php[443].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.208202 web_php[443].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/1/2024-07-29/261145/objdetect-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.212702 web_php[443].DBG [192.168.1.20] [Have image scaling to 48 x 36] at views/image.php line 541
7/29/24, 8:59:59 AM EDT.217018 web_php[434].DBG [192.168.1.20] [Array
(
    [eid] => 261144
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.217716 web_php[434].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.219640 web_php[434].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.220413 web_php[434].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.220506 web_php[434].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.220565 web_php[434].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/2/2024-07-29/261144/objdetect-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.220741 web_php[436].DBG [192.168.1.20] [Array
(
    [eid] => 261143
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.221207 web_php[436].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.221959 web_php[436].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.222684 web_php[436].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.222765 web_php[436].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.222819 web_php[436].DBG [192.168.1.20] [Sending /data/events/6/2024-07-29/261143/objdetect-48x36.jpg] at views/image.php line 557
7/29/24, 8:59:59 AM EDT.222882 web_php[436].DBG [192.168.1.20] [1389 sent] at views/image.php line 562
7/29/24, 8:59:59 AM EDT.224692 web_php[434].DBG [192.168.1.20] [Have image scaling to 48 x 36] at views/image.php line 541
7/29/24, 8:59:59 AM EDT.234834 web_php[438].DBG [192.168.1.20] [Array
(
    [eid] => 261141
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.234867 web_php[437].DBG [192.168.1.20] [Array
(
    [eid] => 261142
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.235384 web_php[437].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.235445 web_php[438].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.236107 web_php[437].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.236167 web_php[438].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.236647 web_php[437].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.236730 web_php[437].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.236787 web_php[437].DBG [192.168.1.20] [Sending /data/events/6/2024-07-29/261142/objdetect-48x36.jpg] at views/image.php line 557
7/29/24, 8:59:59 AM EDT.236803 web_php[438].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.236854 web_php[437].DBG [192.168.1.20] [1394 sent] at views/image.php line 562
7/29/24, 8:59:59 AM EDT.236883 web_php[438].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.236956 web_php[438].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/2/2024-07-29/261141/objdetect-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.241657 web_php[438].DBG [192.168.1.20] [Have image scaling to 48 x 36] at views/image.php line 541
7/29/24, 8:59:59 AM EDT.242388 web_php[439].DBG [192.168.1.20] [Array
(
    [eid] => 261140
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.242965 web_php[439].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.243726 web_php[439].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.244486 web_php[439].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.244635 web_php[439].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.244698 web_php[439].DBG [192.168.1.20] [Sending /data/events/6/2024-07-29/261140/objdetect-48x36.jpg] at views/image.php line 557
7/29/24, 8:59:59 AM EDT.244762 web_php[439].DBG [192.168.1.20] [1392 sent] at views/image.php line 562
7/29/24, 8:59:59 AM EDT.253398 web_php[435].DBG [192.168.1.20] [Command: /usr/bin/ffmpeg -ss 1 -i /data/events/1/2024-07-29/261161/incomplete.mp4 -frames:v 1 /data/events/1/2024-07-29/261161/00000-capture.jpg 2>&1, retval: 1, output: ffmpeg version 5.1.5-0+deb12u1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x558cadf6ad80] moov atom not found
/data/events/1/2024-07-29/261161/incomplete.mp4: Invalid data found when processing input] at views/image.php line 426
7/29/24, 8:59:59 AM EDT.253526 web_php[435].ERR [192.168.1.20] [Can't create frame images from video for this event incomplete.mp4

Command was: /usr/bin/ffmpeg -ss 1 -i /data/events/1/2024-07-29/261161/incomplete.mp4 -frames:v 1 /data/events/1/2024-07-29/261161/00000-capture.jpg 2>&1

Output was: ffmpeg version 5.1.5-0+deb12u1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x558cadf6ad80] moov atom not found
/data/events/1/2024-07-29/261161/incomplete.mp4: Invalid data found when processing input] at views/image.php line 429
7/29/24, 8:59:59 AM EDT.254015 web_php[440].DBG [192.168.1.20] [Array
(
    [eid] => 261139
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.254570 web_php[440].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.255356 web_php[440].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 8:59:59 AM EDT.256225 web_php[440].DBG [192.168.1.20] [Image file found at ] at views/image.php line 237
7/29/24, 8:59:59 AM EDT.256351 web_php[440].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 8:59:59 AM EDT.256403 web_php[440].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/2/2024-07-29/261139/objdetect-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 8:59:59 AM EDT.256698 web_php[442].DBG [192.168.1.20] [Array
(
    [eid] => 261138
    [fid] => objdetect
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 8:59:59 AM EDT.257231 web_php[442].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 8:59:59 AM EDT.258924 web_php[442].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190

<snip>

7/29/24, 9:00:42 AM EDT.416864 web_php[444].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 575421
    [command] => 99
)] at index.php line 33
7/29/24, 9:00:42 AM EDT.417447 web_php[444].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 9:00:42 AM EDT.423476 web_php[444].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 9:00:42 AM EDT.423641 web_php[444].DBG [192.168.1.20] [Sending command 99] at ajax/stream.php line 81
7/29/24, 9:00:42 AM EDT.423827 web_php[444].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169
7/29/24, 9:00:43 AM EDT.414063 web_php[445].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 575421
    [command] => 99
)] at index.php line 33
7/29/24, 9:00:43 AM EDT.414796 web_php[445].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 9:00:43 AM EDT.420991 web_php[445].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 9:00:43 AM EDT.421176 web_php[445].DBG [192.168.1.20] [Sending command 99] at ajax/stream.php line 81
7/29/24, 9:00:43 AM EDT.421400 web_php[445].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169
7/29/24, 9:00:44 AM EDT.174593 web_php[443].DBG [192.168.1.20] [Array
(
    [view] => request
    [request] => events
    [task] => query
    [filter] => Array
        (
            [Query] => Array
                (
                    [terms] => Array
                        (
                            [0] => Array
                                (
                                    [attr] => Group
                                    [op] => =
                                    [val] => 
                                )

                            [1] => Array
                                (
                                    [cnj] => and
                                    [attr] => Monitor
                                    [op] => IN
                                    [val] => Array
                                        (
                                            [0] => 6
                                            [1] => 2
                                            [2] => 1
                                        )

                                )

                            [2] => Array
                                (
                                    [cnj] => and
                                    [attr] => StartDateTime
                                    [op] => >=
                                    [val] => -1 day
                                )

                            [3] => Array
                                (
                                    [cnj] => and
                                    [attr] => EndDateTime
                                    [op] => <=
                                    [val] => 
                                )

                            [4] => Array
                                (
                                    [cnj] => and
                                    [attr] => Notes
                                    [op] => LIKE
                                    [val] => 
                                )

                            [5] => Array
                                (
                                    [cnj] => and
                                    [attr] => Tags
                                    [op] => =
                                    [val] => 
                                )

                        )

                )

        )

    [undefined] => All Tags
    [__csrf_magic] => key:aae56b910f6da479c1f927668662bacf85b82f89,1722024871
    [search] => 
    [sort] => StartDateTime
    [order] => desc
    [offset] => 0
    [limit] => 500
)] at index.php line 33
7/29/24, 9:00:44 AM EDT.181253 web_php[443].DBG [192.168.1.20] [View: request Request: events Action:  User: kevin] at index.php line 190
7/29/24, 9:00:44 AM EDT.182875 web_php[443].DBG [192.168.1.20] [Calling the following sql query: SELECT 
  E.*, 
  UNIX_TIMESTAMP(E.StartDateTime) AS StartTimeSecs, 
  CASE WHEN E.EndDateTime IS NULL THEN (SELECT NOW()) ELSE E.EndDateTime END AS EndDateTime, 
  CASE WHEN E.EndDateTime IS NULL THEN (SELECT UNIX_TIMESTAMP(NOW())) ELSE UNIX_TIMESTAMP(EndDateTime) END AS EndTimeSecs, 
  M.Name AS Monitor,
  GROUP_CONCAT(T.Name SEPARATOR ", ") AS Tags FROM `Events` AS E 
  INNER JOIN Monitors AS M ON E.MonitorId = M.Id 
  LEFT JOIN Events_Tags AS ET ON E.Id = ET.EventId 
  LEFT JOIN Tags AS T ON T.Id = ET.TagId 
   WHERE ( E.MonitorId IN ('6','2','1')
 and E.StartDateTime >= '2024-07-28 09:00:44'
) 
  GROUP BY E.Id 
   ORDER BY E.StartDateTime DESC] at ajax/events.php line 242
7/29/24, 9:00:44 AM EDT.194238 web_php[443].DBG [192.168.1.20] [Have 468 events matching base filter.] at ajax/events.php line 266
7/29/24, 9:00:44 AM EDT.214233 web_php[443].DBG [192.168.1.20] [Done] at ajax/events.php line 353
7/29/24, 9:00:44 AM EDT.412451 web_php[436].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 575421
    [command] => 99
)] at index.php line 33
7/29/24, 9:00:44 AM EDT.413012 web_php[436].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 9:00:44 AM EDT.413674 web_php[436].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 9:00:44 AM EDT.413819 web_php[436].DBG [192.168.1.20] [Sending command 99] at ajax/stream.php line 81
7/29/24, 9:00:44 AM EDT.414009 web_php[436].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169
7/29/24, 9:00:44 AM EDT.721914 web_php[434].DBG [192.168.1.20] [Array
(
    [eid] => 261170
    [fid] => snapshot
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 9:00:44 AM EDT.722654 web_php[434].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 9:00:44 AM EDT.723581 web_php[434].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 9:00:44 AM EDT.724465 web_php[434].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 9:00:44 AM EDT.724554 web_php[434].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/6/2024-07-29/261170/snapshot-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 9:00:44 AM EDT.724635 web_php[434].ERR [192.168.1.20] [Unable to load jpeg from /data/events/6/2024-07-29/261170/snapshot-48x36.jpg] at views/image.php line 533
7/29/24, 9:00:44 AM EDT.728759 web_php[439].DBG [192.168.1.20] [Array
(
    [eid] => 261169
    [fid] => snapshot
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 9:00:44 AM EDT.729338 web_php[439].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 9:00:44 AM EDT.730018 web_php[439].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 9:00:44 AM EDT.730856 web_php[439].DBG [192.168.1.20] [Doing a scaled image: scale(0) width(48) height(36)] at views/image.php line 499
7/29/24, 9:00:44 AM EDT.730959 web_php[439].DBG [192.168.1.20] [Cached scaled image does not exist at /data/events/6/2024-07-29/261169/snapshot-48x36.jpg. Creating it] at views/image.php line 527
7/29/24, 9:00:44 AM EDT.731038 web_php[439].ERR [192.168.1.20] [Unable to load jpeg from /data/events/6/2024-07-29/261169/snapshot-48x36.jpg] at views/image.php line 533
7/29/24, 9:00:44 AM EDT.740724 web_php[437].DBG [192.168.1.20] [Array
(
    [eid] => 261161
    [fid] => snapshot
    [view] => image
    [width] => 48
    [height] => 36
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
)] at index.php line 33
7/29/24, 9:00:44 AM EDT.741396 web_php[437].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 9:00:44 AM EDT.742232 web_php[437].DBG [192.168.1.20] [View: image Request:  Action:  User: kevin] at index.php line 190
7/29/24, 9:00:44 AM EDT.743557 web_php[437].WAR [192.168.1.20] [No frame found for event 261161] at views/image.php line 313
7/29/24, 9:00:44 AM EDT.743690 web_php[437].DBG [192.168.1.20] [/data/events/1/2024-07-29/261161/00000-capture.jpg does not exist] at views/image.php line 404
7/29/24, 9:00:44 AM EDT.743740 web_php[437].DBG [192.168.1.20] [Running /usr/bin/ffmpeg -ss 1 -i /data/events/1/2024-07-29/261161/incomplete.mp4 -frames:v 1 /data/events/1/2024-07-29/261161/00000-capture.jpg 2>&1] at views/image.php line 422
7/29/24, 9:00:44 AM EDT.823157 web_php[437].DBG [192.168.1.20] [Command: /usr/bin/ffmpeg -ss 1 -i /data/events/1/2024-07-29/261161/incomplete.mp4 -frames:v 1 /data/events/1/2024-07-29/261161/00000-capture.jpg 2>&1, retval: 1, output: ffmpeg version 5.1.5-0+deb12u1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55a9e3d14d80] moov atom not found
/data/events/1/2024-07-29/261161/incomplete.mp4: Invalid data found when processing input] at views/image.php line 426
7/29/24, 9:00:44 AM EDT.823285 web_php[437].ERR [192.168.1.20] [Can't create frame images from video for this event incomplete.mp4

Command was: /usr/bin/ffmpeg -ss 1 -i /data/events/1/2024-07-29/261161/incomplete.mp4 -frames:v 1 /data/events/1/2024-07-29/261161/00000-capture.jpg 2>&1

Output was: ffmpeg version 5.1.5-0+deb12u1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55a9e3d14d80] moov atom not found
/data/events/1/2024-07-29/261161/incomplete.mp4: Invalid data found when processing input] at views/image.php line 429
7/29/24, 9:00:45 AM EDT.414419 web_php[438].DBG [192.168.1.20] [Array
(
    [auth] => 7ab82b297e2fda0bf3f5ed0597bb7718
    [view] => request
    [request] => stream
    [connkey] => 575421
    [command] => 99
)] at index.php line 33
7/29/24, 9:00:45 AM EDT.415018 web_php[438].DBG [192.168.1.20] [CORS: NO origin] at includes/functions.php line 89
7/29/24, 9:00:45 AM EDT.421087 web_php[438].DBG [192.168.1.20] [View: request Request: stream Action:  User: kevin] at index.php line 190
7/29/24, 9:00:45 AM EDT.421278 web_php[438].DBG [192.168.1.20] [Sending command 99] at ajax/stream.php line 81
7/29/24, 9:00:45 AM EDT.421491 web_php[438].DBG [192.168.1.20] [Not including new auth hash because it hasn't changed 7ab82b297e2fda0bf3f5ed0597bb7718] at ajax/stream.php line 169
Simpler1 commented 2 months ago

Also getting these Segmentation fault errors: image


root@908fcd6a5b19:/zoneminder/logs# addr2line -Cfip -e /zoneminder/cgi-bin/nph-zms 0xbccc7 0x4a3d4 0x3e630a0
zm_die_handler(int, siginfo_t*, void*) at /zmbuild/src/zm_signal.cpp:97
Image::ReadJpeg(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int) at /zmbuild/src/zm_image.cpp:1097
?? at /zmbuild/src/zm_stream.cpp:235
Simpler1 commented 2 months ago

I believe all of these issues are related: https://forums.zoneminder.com/viewtopic.php?t=33297 https://forums.zoneminder.com/viewtopic.php?t=33316 https://forums.zoneminder.com/viewtopic.php?t=33318 https://forums.zoneminder.com/viewtopic.php?t=33330 https://forums.zoneminder.com/viewtopic.php?t=33296 https://forums.zoneminder.com/viewtopic.php?t=33332 https://forums.zoneminder.com/viewtopic.php?t=33349

Simpler1 commented 2 months ago

I just tried again with the latest commit from today and I get: image

root@b986db9ea5e3:/# addr2line -Cfip -e /usr/bin/zmc 0xaef77 0x5bd19 0x179ee9
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) at /usr/include/c++/12/bits/basic_string.h:864
 (inlined by) Server::Server(unsigned int) at /zmbuild/src/zm_server.cpp:58
Monitor::Analyse() at /zmbuild/src/zm_monitor.cpp:2242
soap_s2xsd__dateTime(soap*, char const*, timeval*) at /usr/share/gsoap/custom/struct_timeval.c:139
Simpler1 commented 2 months ago

Fixed with commit 1b36941addcd74959b3b428ff599e3ffdf200471