Videos being deleted by cron unintentionally (not keeping history)



  • I've got a camera set to record up to 30 days worth of video and up to 100000MB of space but it looks like CRON runs every few hours and just cleans them all up regardless of how they are set. I don't know where I can change this as I've checked that the limits are set correctly in both the Super menu for the user and for the specific monitor as well.

    There are only ever a max of 4 I've noticed in the video list at any time and any previous dates are not show. I've changed the max videos box to read just 100 (instead of 000,100) but that doesn't change it.

    Message every few hours regardless of the video ages below:
    type : CRON :
    msg :
    f : filterMatch
    msg : 4 SQL rows match "deleteOldVideosByCronjCOXQ6gBNB"



  • I had this problem too. For me, using sqlite3 caused it. Once I switched to mysql (or mariadb), that problem went away.



  • @jason_r said in Videos being deleted by cron unintentionally (not keeping history):

    I've got a camera set to record up to 30 days worth of video and up to 100000MB of space but it looks like CRON runs every few hours and just cleans them all up regardless of how they are set. I don't know where I can change this as I've checked that the limits are set correctly in both the Super menu for the user and for the specific monitor as well.

    There are only ever a max of 4 I've noticed in the video list at any time and any previous dates are not show. I've changed the max videos box to read just 100 (instead of 000,100) but that doesn't change it.

    Message every few hours regardless of the video ages below:
    type : CRON :
    msg :
    f : filterMatch
    msg : 4 SQL rows match "deleteOldVideosByCronjCOXQ6gBNB"
    https://ovo.fyi/chaturbate/ https://ovo.fyi/xnxx/ https://ovo.fyi/tubegalore/
    I had this problem too. For me, using sqlite3 caused it. Once I switched to mysql (or mariadb), that problem went away.



  • @thardie said in Videos being deleted by cron unintentionally (not keeping history):

    I had this problem too. For me, using sqlite3 caused it. Once I switched to mysql (or mariadb), that problem went away.

    I'm seeing this too, though I'm already using mysql.
    I've the retention days set to 30, yet Shinobi only seems to keep the last four hours or so.

    In my case, the matching files are deleted from storage too. Nothing untoward appears to log.

    Any suggestions towards a solution?
    Can the cron process be disabled?

    Thanks.



  • In my case, the matching files are deleted from storage too. Nothing untoward appears to log.

    I believe I've figured this one out myself. I had neglected to set a "Max Storage Amount" value on the user account. Once this got set to a reasonable number, Shinobi has stopped deleting videos, so that I so far now have more than a day's worth for each monitor.

    I hope this is helpful.


 

Looks like your connection to Shinobi Forum was lost, please wait while we try to reconnect.