running zm 1.24.4 on ubuntu 10.04
Is there a way from a command line to delete all events from a specific camera?
I have 6200 events, and when i try to view all so i can delete them, I get the following error.
The website encountered an error while retrieving http: //192.168.0.191/zm/index.php?view=events&page=0&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=2&sort_field=StartTime&sort_asc=1&limit=. It may be down for maintenance or configured incorrectly.
I can however delete 1 page at a time.
error when deleting events
Re: error when deleting events
Can't give you a definitive reason why but my simple answer was to change "WEB_EVENTS_PER_PAGE" to 4000.
- Attachments
-
- web.png (57.63 KiB) Viewed 2020 times
Re: error when deleting events
thanks, i ended up doing a filter search and that was able to list all 6000 events, which i could then delete.
maybe this is a bug?
maybe this is a bug?
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Re: error when deleting events
Not a bug it will be a php timeout issue. Your logs will confirm.
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk