Api get events

Forum for questions and support relating to 1.33.x development only.
Locked
Cramac1
Posts: 111
Joined: Wed Aug 29, 2018 11:29 am

Api get events

Post by Cramac1 »

Hello
I get events from api:

Code: Select all

http://site:80/zm/api/events/index/MonitorId:13/EndTime%20<=:2020-02-03%2002:54:30.json?token=eyJ0eXAiOiJKV1QiLCJhbG...9-Radz9mw
and i get this:
Can not find Frame for Event 94174
also through the web I can not delete old records, an error flies:

Code: Select all

02/10/20 14:43:25.452457 web_php[28900].ERR [SQL-ERR 'SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction', statement was 'DELETE FROM Events WHERE Id = ?' params:94358] at /usr/share/zoneminder/www/includes/database.php line 152

An update to ZoneMinder is available.

The latest release is v1.34.2, you have v1.33.15.
Cramac1
Posts: 111
Joined: Wed Aug 29, 2018 11:29 am

Re: Api get events

Post by Cramac1 »

the base does not cope. I cleared the log table and everything went fine.
Locked