Hello,
All was well for quite some time with my SMB/CIFS shares and the recycle bin, but sometime (not sure exactly when), it stopped deleting the files from the recycle bin folders and I no longer receive any cron daily email message. I am up to date on all updates (currently running OMV 1.12) I found one thread that sounded promising (Recycle bin automatic deletion not working), but looking at /etc/cron.daily/openmediavault-samba-recycle looks like this:
#!/bin/sh
# This configuration file is auto-generated.
# WARNING: Do not edit this file, your changes will be lost.
set -e
run-parts --regex='samba-recycle-*' /var/lib/openmediavault/cron.d &>/dev/null
And looking at /var/lib/openmediavault/cron.d, I have four sambe-recycle-<xxxx> files. I am presuming one for each share. Anyway, inspecting one of those, I'm not sure what to look for but comparing the offending line in the other thread, mine looks like the following:
find "/media/3e96c050-50c4-4546-bb16-f3e1fe1646ea/Multimedia//.recycle" -mindepth 1 -amin +${amin} -print0 | xargs -0r rm -rfv
I tried changing the number of days from 7 to 1 for one of the shares but that didn't help.
I looked at the syslog, but I'm not sure what to look for. There are some entries for .recycle but nothing that indicates an error.
Any help would greatly be appreciated.
Thanks.
Tom