API: Delete event removes event from database, but doesn't remove image files from disk
Posted: Fri May 13, 2016 6:34 am
When I delete an event using the API, e.g.
The event disappears from the zoneminder interface, but the corresponding image files aren't deleted from /var/cache/zoneminder/events .
I have fast delete turned off in options.
I've read that the API isn't fully built out, but this is one of the documented calls, so it seems like it ought to work?
Not sure how relevant the rest of this is, but for completeness: This is on Ubuntu 14.04 LTS. I followed the install instructions here: http://zoneminder.readthedocs.io/en/sta ... buntu-14-x
Code: Select all
curl -XDELETE -s -k -b cookies.txt https://localhost/zm/api/events/37.json
I have fast delete turned off in options.
I've read that the API isn't fully built out, but this is one of the documented calls, so it seems like it ought to work?
Not sure how relevant the rest of this is, but for completeness: This is on Ubuntu 14.04 LTS. I followed the install instructions here: http://zoneminder.readthedocs.io/en/sta ... buntu-14-x