March 14, 20242 yr Im missing something here, i installed and enabled the plugin but no shares are detected or have a recycle bin. I deleted files many different ways via smb but that appears to do nothing. Im stuck
March 14, 20242 yr Author 1 hour ago, KADgnvbPG3Jmjuiq said: Im missing something here, i installed and enabled the plugin but no shares are detected or have a recycle bin. I deleted files many different ways via smb but that appears to do nothing. Im stuck The shares only show in the recycle bin if they have deleted files in the .Recycle.Bin/ folder on that share. Files deleted in network (SMB) shares that are zero length, don't show in the recycle bin. Post diagnostics.
March 14, 20242 yr Well it "randomly" started working, it just took the overview page a while to show the share (even though i kept refreshing like the maniac i am). The deleted files section is still empty though. Doesnt matter as long as the main feature works im more than happy 👍
March 14, 20242 yr Author 2 minutes ago, KADgnvbPG3Jmjuiq said: Well it "randomly" started working, it just took the overview page a while to show the share (even though i kept refreshing like the maniac i am). The deleted files section is still empty though. Doesnt matter as long as the main feature works im more than happy 👍 The recycle bin is refreshed every 5 minutes and won't show a deleted file right away. The log should show files deleted immediately.
March 14, 20242 yr Nice to know, didnt see the log option. Does indeed work as promised. Thanks for the plugin and the help, sent you a beer 🍻.
March 21, 20242 yr Hey @dlandon Hey just wondering exactly how this is supposed to work and what it keeps in the Recycle Bin. The reason I'm asking is because I noticed it wasn't recycling a bunch of stuff so I did some tests. Here are the things that I tested. These WERE capture by RecycleBin Swift Android App (phone): Uses SMB to backup Android apps. Looks like RecycleBin kept a bunch of test files it made. Macrium (laptop): Set to backup my PC image over the network and delete images older than 7 days. Looks like RecycleBin kept the ones deleted by Macrium. Were NOT capture by RecycleBin Explorer (laptop): Files I delete via Explorer on my laptop do NOT get kept by RecycleBin. Krusader (server): Files I delete via Krusader on the server itself do NOT get kept. User script (server): I have a script running to delete a bunch of files nightly. They have NOT been kept. So I'm just trying to understand what gets put into .Recycle.Bin and what doesn't. I was under the impression ANY file deleted on those shares were capture and saved until the configured amount of time. Thanks for any insight!
March 21, 20242 yr Author 2 minutes ago, DevanteWeary said: So I'm just trying to understand what gets put into .Recycle.Bin and what doesn't. I was under the impression ANY file deleted on those shares were capture and saved until the configured amount of time. Only files deleted through SMB (network shares) are recycled. Files deleted using the File Manager, Krusader (or similar), or cli commands do NOT get recycled.
March 21, 20242 yr 23 minutes ago, dlandon said: Only files deleted through SMB (network shares) are recycled. Files deleted using the File Manager, Krusader (or similar), or cli commands do NOT get recycled. Oh I didn't realize that. OK good to know thanks! The only thing with that is that I just tried deleting a file over the network and it didn't go into the .RecycleBin This is using using Windows Explorer over the network to delete a file on the Unraid server share. Isn't that using SMB? Maybe I'm wrong.
March 21, 20242 yr Author 37 minutes ago, DevanteWeary said: Oh I didn't realize that. OK good to know thanks! The only thing with that is that I just tried deleting a file over the network and it didn't go into the .RecycleBin This is using using Windows Explorer over the network to delete a file on the Unraid server share. Isn't that using SMB? Maybe I'm wrong. The log will show a deleted file right away, but it can take up to 5 minutes to show in the Recycle Bin shares tab.
March 25, 20242 yr On 3/21/2024 at 12:24 PM, DevanteWeary said: Oh I didn't realize that. OK good to know thanks! The only thing with that is that I just tried deleting a file over the network and it didn't go into the .RecycleBin This is using using Windows Explorer over the network to delete a file on the Unraid server share. Isn't that using SMB? Maybe I'm wrong. I had the same issue on 2 of my servers. Seems as tho the "exclusive share" setting wasnt playing nice with recycle bin. The quick fix was to make it a pool only, reboot and change it back to exclusive share again. Seems to have fixed it (still cant understand why tho). I am monitoring this situation as my employee's use the recycle bin when they do dum stuff! Its been a saviour (till it randomly wasnt and i figured out that toggle to make it work again). Please report back if that fixes it!
March 26, 20242 yr On 3/25/2024 at 11:02 AM, miicar said: I had the same issue on 2 of my servers. Seems as tho the "exclusive share" setting wasnt playing nice with recycle bin. The quick fix was to make it a pool only, reboot and change it back to exclusive share again. Seems to have fixed it (still cant understand why tho). I am monitoring this situation as my employee's use the recycle bin when they do dum stuff! Its been a saviour (till it randomly wasnt and i figured out that toggle to make it work again). Please report back if that fixes it! Thanks for the tip. Only thing is I don't have exclusive shares turned on. :<
June 12, 20242 yr This plugin looks great and is precisely what I'm looking for in making the server experience more resilient for my family. One thing I would like to add in the configuration is "Include Shares". The "Excluded Shares" setting would work, but I only want a recycle bin in a small subset of an ever-changing plethora of shares on my server. I realize when writing this that there are quite a lot of shares where I should have SMB Export set to No. I then wouldn't need to worry about excluding those shares. But, still, in my use-case the shares where I want a recycle bin are few and pretty static. For me, it would be a much easier config that I can set and forget instead of remembering if I want a recycle bin when creating a new share. Sorry if I totally misunderstood how this works or if this topic has been covered before, but I couldn't find it. Edited June 12, 20242 yr by tetrapod spelling
June 12, 20242 yr 4 minutes ago, tetrapod said: I realize when writing this that there are quite a lot of shares where I should have SMB Export set to No. You can still do this on an existing share and it will then stop appearing on the network.
July 7, 20242 yr Not sure what needs to be done, but I have found that if I am using a rootshare and delete a file, the recycle bin plugin does not work. I created the rootshare following spaceinvaderone guide. It works fine on other shares
July 7, 20242 yr Author 3 hours ago, Goldmaster said: Not sure what needs to be done, but I have found that if I am using a rootshare and delete a file, the recycle bin plugin does not work. I created the rootshare following spaceinvaderone guide. It works fine on other shares Correct, that won't work. Set up your rootshare using UD. The Recycle Bin will work then.
July 7, 20242 yr 1 minute ago, dlandon said: Correct, that won't work. Set up your rootshare using UD. The Recycle Bin will work then. I was curious about this after the earlier post and went looking for details in this thread regarding the process for setting up a rootshare in UD but only found references to doing it. Maybe someone could post the details and SMB settings?
July 7, 20242 yr Author 3 hours ago, wgstarks said: I was curious about this after the earlier post and went looking for details in this thread regarding the process for setting up a rootshare in UD but only found references to doing it. Maybe someone could post the details and SMB settings? Set up the rootshare in UD. Then click the device settings (three gears icon), and turn on the 'Share' switch and it will work just like other shared UD devices. The mount point is /mnt/rootshare/rootshare name.
July 7, 20242 yr 13 minutes ago, dlandon said: Set up the rootshare in UD. Then click the device settings (three gears icon), and turn on the 'Share' switch and it will work just like other shared UD devices. The mount point is /mnt/rootshare/rootshare name. So same smb settings as in the video? Just entered into UD settings instead?
July 7, 20242 yr Author 3 minutes ago, wgstarks said: So same smb settings as in the video? Just entered into UD settings instead? UD handles it for you. There is no need to add any settings to SMB Extras. The rootshare will follow the settings you set in the Unassigned Devices->Settings. The individual shares in the rootshare are still shared with the individual share permissions.
July 25, 20241 yr Would you mind a suggestion? If it is possible I would recommend blocking the possibility to shift-delete files/folders from Windows or any other OS for that matter. Shift-delete defeats the Recycle Bin purpose. Many, I guess like me, have this habit of shift deleting. That is fine for a PC maybe, since in the worst case you could use tools to undelete the files, and that would be on one disk, mostly. But on a NAS, you never know which disks had those files. And even if you did know, running tools on a specific disk could be challenging.
July 25, 20241 yr 2 hours ago, xtrips said: If it is possible I would recommend blocking the possibility to shift-delete files/folders from Windows or any other OS for that matter. Shift-del bypasses Windows' recycle bin but it already doesn't exist on network shares, when you delete whether shift or not you get the confirmation box saying that's permanent. This plugin is separate and acts on the server once the OS has sent the delete command regardless.
July 25, 20241 yr 1 minute ago, Kilrah said: Shift-del bypasses Windows' recycle bin but it already doesn't exist on network shares, when you delete whether shift or not you get the confirmation box saying that's permanent. This plugin is separate and acts on the server once the OS has sent the delete command regardless. I am not sure I understand what you’re saying, but I will tell you how it goes in my environment. When I delete files on my server, the recycle bin plug-in put the files in the recycle bin as designed. If I shift delete files on my server, then the files don’t go to the recycle bin, they are deleted exactly as they would be on windows.
July 25, 20241 yr And you're doing that from windows explorer? Because I just put some dummy files on a share, deleted some with del and some with shift-del, in both cases I got the "delete permanently?" confirmation, and both were kept by the recycle bin on the server. I seem to be having the exclusive share issue though. Edited July 25, 20241 yr by Kilrah
July 26, 20241 yr 15 hours ago, Kilrah said: And you're doing that from windows explorer? Because I just put some dummy files on a share, deleted some with del and some with shift-del, in both cases I got the "delete permanently?" confirmation, and both were kept by the recycle bin on the server. I seem to be having the exclusive share issue though. I never use Windows Explorer. I only use Total Commander. I checked with Explorer and you are right. So TC is overriding somehow and manages to perform a Shift-Delete on the server. Edited July 26, 20241 yr by xtrips
September 27, 20241 yr Dont know what I am doing wrong but for me it seems not to work... I have a public SMB share and access this share as network share mounted on Z: in Windows. If I delete a file onto this share the log write this file instant into the GUI but the file wont appear in the Recycle.bin. Some tips maybe?
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.