October 26, 20241 yr Hello, I think i have a similar issue to the poster above. I installed the plugin, enabled it and it is running. I havent yet excluded any shares and have turned log deleted files on. If i make a test file in windows explorer on the share and then delete it (not shift delete) I can see the deletion appear in the log when i refresh it, but i have no .Recycle.Bin folder created on the share i delete it from. I believe this is due to the fact that the Shares list in the Recycle Bin app is completely empty. I have restarted the server, clicked refresh many a time and still no shares listed. Question - is there an expected share configuration - mine are all Private, SMB, User shares. I have no disk shares. This is the video tutorial i "followed" - screenshot of of what it looks like in the webui - as you can see no shares listed. Note - the Recycle.Bin and .Recycle.Bin folders shown in the log, i created these manually hoping it would make the shares appear. when they didnt i deleted them. unraid log doesnt show anything when refreshing or stopping and starting plugin: Thanks in advance. Edited October 26, 20241 yr by lukej33
October 26, 20241 yr Author 11 minutes ago, lukej33 said: If i make a test file in windows explorer on the share and then delete it (not shift delete) I can see the deletion appear in the log when i refresh it, but i have no .Recycle.Bin folder created on the share i delete it from. Zero length files are not saved to the recycle bin. The file has to have at least one character in the file.
October 26, 20241 yr Hi dlandon, Thanks for the quick response. Can confirm that worked and now it has worked once i have a share in my shares list. Much appreciated 🙂
October 29, 20241 yr Hello, I have a problem that just started happening regarding the recycle bin "stats" page. The recycle bin still functions as expected, but I had a share "disappear" from the shares section of the plugin. All the other shares are still listed with their respective trash size. I'm not sure why the one share went MIA in the stats. Also since that share disappeared, the "Recycle Bin Total Size" shows "0 B" even though the other shares listed below all have a combined several gigs of trash reflected in the plugin stats. Not sure if it matters, but the shares that still show up have individual totals that range from 500MB to 500GB. The missing volumes .Recycle.Bin folder is 4.6TB containing a general mix of files ranging from small (like git repo) to large (like VM Virtual disks). I did not make any changes to the server or SMB settings from when it was working to not. I have been doing a lot of file copies though (all via Windows Explorer) and did have a scenario where I had to restore a folder from the .Recycle.Bin where I just browsed to it in Windows Explorer and dragged it from .Recycle.Bin back to it's original location. Is there a log I can check to see what is going on, or maybe a config file I can reset and have it scrape the Recycle.Bin(s) info back into the plugin? Again, everything is working other than the stats and I would just not worry about it, but it seems like that might affect the delete aged function. Thanks
October 31, 20241 yr Hi, my recycle bin was working fine before but not these days, files shared via SMB do not appear in the .Recycle.Bin folder after deletion and the plugin logs are blank, is it because I deleted a large number of files? (maybe a few thousand) How can I solve this problem please?
November 22, 20241 yr Hey @dlandon, I just found something that could possible help narrow down some of these "it's not working" issues. My setup: Windows 10 Windows Recycle Bin: On Windows Download Folder set to an Unraid SMB share: /mnt/user/Downloads (right click Downloads > Properties > Location > Set location of download folder here) With this info in mind, I've noticed the following: DEL a file in the Downloads share does NOT go to .Recycle.Bin SHIFT+DEL a file DOES send to .Recycle.Bin DEL a file on other shares works as intended (sends to .Recycle.Bin) So it seems like there's something with having my share set as the Download folder in Windows that stops it from working as intended. edit: Tested this using a Windows 10 VM set up exactly the same way (with the Windows Downloads folder set to the Unraid SMB share) and got the exact same results. Edited November 23, 20241 yr by DevanteWeary
November 23, 20241 yr I was going to ask if it could be possible to add an option to the plugin to rename the Recycle bin folder to something else because, you know, not everyone uses English. But given this almost ten year old (!) reply I see it was not possible. Did something change in the last 10 years? Could it be changed now?
December 2, 20241 yr On 8/1/2023 at 3:35 PM, dlandon said: On 8/1/2023 at 3:05 PM, zachlovescoffee said: Now I delete the file. Its deleted age is '0', tomorrow it's 1, etc until I get to 3, which is the trigger to delete 'Aged files'. This is my understanding. Is that the actual implementation ? Yes. Based on the file's mtime which is updated to the time the file was deleted and moved to the Recycle Bin. I deleted an old screenshot of 2021 and it still has its modified date of 2021. Then I used the "remove aged files" button and it is still present. Are you using ctime (change time) instead? # stat /mnt/disk6/<share>/.Recycle.Bin/Bilder/screenshot.png File: /mnt/disk6/<share>/.Recycle.Bin/Bilder/screenshot.png Size: 273908 Blocks: 536 IO Block: 4096 regular file Device: 9,6 Inode: 2466751703 Links: 1 Access: (0666/-rw-rw-rw-) Uid: ( 1000/ marc) Gid: ( 100/ users) Access: 2024-12-02 12:32:46.865376664 +0100 Modify: 2021-07-19 12:02:46.749770309 +0200 Change: 2024-12-02 12:32:46.864793814 +0100 Birth: 2021-07-19 12:00:13.494626363 +0200 I only found that you don't update the mtime: recycle:touch = Yes recycle:touch_mtime = No EDIT: Ah ok, you are using atime instead: -atime +$AGE -delete Ok, this explains why its sometimes not cleaned up for me as I had a backup job accessing all recycle bin files. I added the folder now to its ignore list, which should solve this issue. Do you know why ctime is updated on deletion? I thought this happens only if the inode changes.... hmm maybe because I deleted the file through a user share and unraid internally creates a new inode?
January 6, 20251 yr With Unraid 7.0 rc2 the Recycle Bin plugin doesn't see the files deleted with the new built in File Manager.
January 6, 20251 yr Author 2 hours ago, Paul_Ber said: With Unraid 7.0 rc2 the Recycle Bin plugin doesn't see the files deleted with the new built in File Manager. The Recycle Bin only works with SMB shares. It does not work with the File Manager.
January 14, 20251 yr Maybe I'm misunderstanding this Plugin. I set the "Log Deleted Files?" option to No but when I delete a file, it appears in the log. The "Hide Recycle Bin Folder" only works for Linux users because it just adds the "." at the beginnen of the recycle bin folder name, I guess?
January 15, 20251 yr Author On 1/5/2025 at 6:42 PM, Paul_Ber said: With Unraid 7.0 rc2 the Recycle Bin plugin doesn't see the files deleted with the new built in File Manager. It works for me. You do have to use the Recycle Bin plugin to browse the deleted files in the shares.
January 15, 20251 yr Author On 1/14/2025 at 2:03 PM, Vexz said: Maybe I'm misunderstanding this Plugin. I set the "Log Deleted Files?" option to No but when I delete a file, it appears in the log. The "Hide Recycle Bin Folder" only works for Linux users because it just adds the "." at the beginnen of the recycle bin folder name, I guess? If I turn off the log deleted files, they aren't logged. Not sure what you are seeing. Any files with a leading dot "." are hidden in Linux and Windows.
January 18, 20251 yr Howdy, not sure why, nothing shows up under 'smb shares' in settings. I can access the server (my 'media' share) from Windows Explorer, am I missing something? Thanks let me know if I should post screenshot of settings page(s). Edited January 18, 20251 yr by YaSo pics
January 19, 20251 yr Author 8 hours ago, YaSo said: Howdy, not sure why, nothing shows up under 'smb shares' in settings. I can access the server (my 'media' share) from Windows Explorer, am I missing something? Thanks let me know if I should post screenshot of settings page(s). It's working for me. When you are testing, be sure to create a file that is not zero length. Any file that is zero length will be ignored and not put in the Recycle Bin. Post diagnostics.
January 19, 20251 yr Yeah, I'm an idiot for not testing it way back when I first set up the server. I thought that my shares would show up in the 'Shares' section of the Recycle Bin settings, like they show up in the normal 'Shares' page. When I didn't see my shares show up in Recycle Bin after turning it on, I thought I didn't set my shares up properly and could never figure out how to get them to show there, so i turned the Recycle Bin off. If I had tested it I would have seen that the 'Shares' section of Recycle Bin settings only populates AFTER you have deleted something, not just when you turn the feature on.
January 20, 20251 yr Is the plugin working in version 7? I've installed the plugin and the system logs seem to indicate its running but deleting files from a share (from windows explorer) does nothing. No log is created or .Recyclebin folder added. I also don't see any shares listed in the plugin settings.
January 20, 20251 yr I've installed it on 7 and tried to copy/delete files in 3 different shares, it worked on one but not the other 2... Edited January 20, 20251 yr by Kilrah
January 20, 20251 yr Author 7 hours ago, BluEngy said: Is the plugin working in version 7? I've installed the plugin and the system logs seem to indicate its running but deleting files from a share (from windows explorer) does nothing. No log is created or .Recyclebin folder added. I also don't see any shares listed in the plugin settings. Verify the Recycle Bin is running. Shares only show in the Recycle Bin when files are deleted on that share. Also keep in mind that the Share Recycle Bin status is updated every 5 minutes. You'll see the deleted files in the log immediately, but the Shares won't show the deleted file for up to 5 minutes.
January 20, 20251 yr Author 3 hours ago, Kilrah said: I've installed it on 7 and tried to copy/delete files in 3 different shares, it worked on one but not the other 2... Any suggestions on how I can reproduce your issue? Post diagnostics so I can look at testparm output.
January 20, 20251 yr 20 hours ago, dlandon said: Any suggestions on how I can reproduce your issue? Problem is it seems inconsistent. Here I installed plugin, cleared settings and log and enabled plugin and deleted files logging. Then delete files from 4 shares, on 3 of them it worked (created the .Recycle.Bin folder and files were in it), on the 4th (calles "share") it didn't. None of the deletions were logged. Last time I tried there were some entries in the deleted files log, but only from one of the 3 shares I tried. <diags removed> Edited January 21, 20251 yr by Kilrah
January 20, 20251 yr Author 28 minutes ago, Kilrah said: Problem is it seems inconsistent. Here I installed plugin, cleared settings and log and enabled plugin and deleted files logging. Then delete files from 4 shares, on 3 of them it worked (created the .Recycle.Bin folder and files were in it), on the 4th (calles "share") it didn't. None of the deletions were logged. Last time I tried there were some entries in the deleted files log, but only from one of the 3 shares I tried. unraid-diagnostics-20250120-1413.zip 207.85 kB · 1 download I see that you have Macos interoperability enabled. Are you deleting files on a Mac?
January 20, 20251 yr No this was all done from Windows, I do have macs but they weren't powered on during any of those tests
January 20, 20251 yr Author 23 minutes ago, Kilrah said: No this was all done from Windows, I do have macs but they weren't powered on during any of those tests Can you turn off Macos Interoperability and see if it makes a difference? I'm wanting to be sure the Mac vfs objects aren't interferring with the Recycle Bin.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.