yeah, which ever db you're using...I ask because usually when doing an update of the db package it will shut down zm and not restart it, or it won't shut down zm and zm will crash
knnniggett joined the channel
were you able to view live feeds during this time?
chandoo
live feed is good
i am accessing live feed while i am away till this date
biax joined the channel
hans109h
Have you restarted ZM to confirm that recording is currently happening?
chandoo
i will do that now
hans109h
Watch the logs after the restart, you might find something helpful.
YellowGTO joined the channel
chandoo
started successfully. no error in logs
hans109h
What are you using as a storage location? HDD? NAS?
chandoo
local hdd
i still have 64GB available
how to clear all the events in one shot from command line?
any idea on this "ERRReferenceError: mmove is not defined"
I am accessing view=montagereview
hans109h
I would recommend using the filter window and creating a filter that purges all of the events based on a criteria.
you could also delete the storage directories/files, and then at some point (assuming you have it setup to do so) zm will scan the directories and update the db to reflect that those files aren't there--I wouldn't recommend such a process
chandoo
hans109h, can you give an example for filter purge, any link
hans109h, i use precisely that ... rm -rfv events/blahblah
then zmaudit.pl
which will run every 10 mins or so anyway
and it marries up db entries with actual events ... and clears out the missing ones from the dnb
db
hans109h
jzaw, that's why I say you can, however in the past I've run into issues with it not working perfectly
jzaw
yeah you have to make sure you dont remove the actual events dirs 1 2 3 4 etc and their symlinks
but deeper in you can
though if you stop zm
rm EVERYTHING inside the events dir
hans109h
It was a long time ago, I think I ran into issues because of how my storage is fused.
knnniggett
If do accidentally remove the parent folder and/or the symlink, then restarting zoneminder will recreate them
jzaw
then restart zm ... imsmr ... thta will simply recreate the structures ... and clear out the db entries
yeah knnniggett ditto
knnniggett
I done just that quite a few times... only to discover that zoneminer puts them back
jzaw
hehe
hans109h
Zoneminder is one hell of a package, you all deserve a pat on the back.
knnniggett
Thank you. It's nice to get compliments from time to time.
Zoneminder is a community project though so I don't want to sound like I'm taking any of the glory. All the guys who hang out here regularly have contributed in one form or another.
hans109h
** even if it was to fix user error :-) **
imox has quit
fullstack joined the channel
gnulnx_
morning
chandoo
jzaw, i will try your solution
jzaw
chandoo, if you want to delete on a first in first out basis as you disk fills
keeping a certain % free
look at the purge_when_full filter
you can edit that and save it
chandoo
jzaw, i did that , i dont see it is clearing anything
jzaw
is the filter enabled
it will have a * against it
if it is
chandoo
i had executed it
hans109h
It's probably set to run as a background task and will take a while before you see the change on disk
You can save it as a different name and remove the background task setting and it will run immediately
also .... remember to remove enough events each running to actually exceed the number that is created
ie if youre creating 100 events in 10 mins ... remove at least 100 ... else it will over fill and purge_when_full wont be enough to prevent the disk over filling
chandoo
jzaw, so is my last execute event running? how to check that.
sorry execute filter
jzaw
ps aux | grep zmupdate ... not sure what the process is called ... ive never had to look for it