Page 1 of 1

Api get events

Posted: Mon Feb 10, 2020 12:01 pm
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.

Re: Api get events

Posted: Tue Feb 11, 2020 5:27 am
by Cramac1
the base does not cope. I cleared the log table and everything went fine.