Surfparadise Posted August 18, 2023 Share Posted August 18, 2023 (edited) Apple introduced this 'feature' into osx 10.10.... https://discussions.apple.com/thread/3992569?answerId=30046649022#30046649022 ...and now? Edited August 18, 2023 by Surfparadise Quote Link to comment
dlandon Posted August 18, 2023 Author Share Posted August 18, 2023 59 minutes ago, Surfparadise said: ...and now? You can keep them from being added to the Recycle Bin by adding '*smbdelete*' to the excluded files of the Recycle Bin. Quote Link to comment
sonofdbn Posted September 24, 2023 Share Posted September 24, 2023 I'm on 6.11.5. I was trying to empty out the Recycle Bin for some shares and found that somehow there were lots of nested .Recycle.Bin folders within the first level .Recycle.Bin folder. For example, I get \\TOWER\Movies\.Recycle.Bin\.Recycle.Bin\.Recycle.Bin\.Recycle.Bin\.Recycle.Bin\.Recycle.Bin\.Recycle.Bin\.Recycle.Bin\ I wasn't sure if clicking on each .Recycle.Bin folder created another nested one, so I stopped. If I try deleting the folder, Windows says items are being deleted (perhaps files within the folder), but I can't delete the nested folder - or any of the nested .Recycle.Bin sub-folders. I get a Windows error message saying "cannot find the path specified". But that's when I look on my Win10 PC. When I go to the Web GUI and look at the Movies share, I have only one nested .Recycle.Bin folder. If I click on the blue .Recycle.Bin text, I just get the same page. I haven't tried deleting that nested folder yet, in case there's something I might inadvertently damage. Don't know if it's happening on every share where Recycle Bin is applied, but I see the nested folders on all shares that I've looked at so far. Any idea what happened and how I can fix this? tower-diagnostics-20230924-1746.zip Quote Link to comment
dlandon Posted September 24, 2023 Author Share Posted September 24, 2023 2 hours ago, sonofdbn said: Don't know if it's happening on every share where Recycle Bin is applied, but I see the nested folders on all shares that I've looked at so far. I've seen this before, but haven't seen it lately. I could never figure out what made it happen. I suspect there was a version of Samba that had a bug that created the nested .Recycle.Bin folder. 2 hours ago, sonofdbn said: I haven't tried deleting that nested folder yet, in case there's something I might inadvertently damage. You can delete the nested .Recycle.Bin folder. Quote Link to comment
sonofdbn Posted September 27, 2023 Share Posted September 27, 2023 On 9/24/2023 at 8:25 PM, dlandon said: I've seen this before, but haven't seen it lately. I could never figure out what made it happen. I suspect there was a version of Samba that had a bug that created the nested .Recycle.Bin folder. You can delete the nested .Recycle.Bin folder. Thanks; deleting the nested folder has solved the problem. (Just to add a data point: some shares with the Recycle Bin have these nested folders, others don't.) Quote Link to comment
Revan335 Posted December 30, 2023 Share Posted December 30, 2023 (edited) How can exclude Share/Folder for example Backup_User/Job PC-User? Is the exclude Directory with Backup_User/Job PC-User the correct Place? That's not working. Whats wrong? Edited December 30, 2023 by Revan335 Quote Link to comment
dlandon Posted December 30, 2023 Author Share Posted December 30, 2023 11 minutes ago, Revan335 said: Is the exclude Directory with Backup_User/Job PC-User the correct Place? Yes. 11 minutes ago, Revan335 said: That's not working. Whats wrong? The files are still getting deleted and recycled? Post diagnostics. Quote Link to comment
Revan335 Posted December 30, 2023 Share Posted December 30, 2023 5 minutes ago, dlandon said: The files are still getting deleted and recycled? Yes. You have a PN with the Diagnostic. Many Thanks! Quote Link to comment
dlandon Posted December 30, 2023 Author Share Posted December 30, 2023 I am able to replicate the issue and I'm trying to come up with a solution. Seems there has been a change in Samba that the Recycle Bin plugin doesn't handle. 1 Quote Link to comment
dlandon Posted December 31, 2023 Author Share Posted December 31, 2023 On 12/30/2023 at 7:47 AM, Revan335 said: Yes. You have a PN with the Diagnostic. Many Thanks! The issue ended up being the directory with spaces in the name. Fix in today's release. 1 Quote Link to comment
Revan335 Posted January 1 Share Posted January 1 Can you fix the Sorting? Is NFS working or add NFS Support? Quote Link to comment
dlandon Posted January 1 Author Share Posted January 1 2 hours ago, Revan335 said: Can you fix the Sorting? Sorting works for me. DId you click on the 'Trash Size' on the header? 2 hours ago, Revan335 said: Is NFS working or add NFS Support? Can't. The recycle bin is a Samba feature only. It does not work for NFS. Quote Link to comment
Revan335 Posted January 1 Share Posted January 1 1 hour ago, dlandon said: Can't. The recycle bin is a Samba feature only. It does not work for NFS. Very Sad! I hope, NFS implemented this in the future. 1 hour ago, dlandon said: Sorting works for me. DId you click on the 'Trash Size' on the header? Yes, 1,45 GB must the first or the last Entry. He is bigger than 704 MB. Quote Link to comment
fracturetrey Posted January 8 Share Posted January 8 Is it expected when using this plugin that a recursive link will be created inside each share's .Recycle.Bin? For instance: root@vault:/mnt/user/tv/.Recycle.Bin# ls -al total 0 drwxrwxrwx 1 me users 98 Jan 7 23:46 ./ drwxrwxrwx 1 nobody users 130 Sep 7 23:10 ../ lrwxrwxrwx 1 root root 25 Apr 13 2023 .Recycle.Bin -> /mnt/user/tv/.Recycle.Bin/ This means it can be traversed infinitely, ie: root@vault:/mnt/user/tv/.Recycle.Bin# cd .Recycle.Bin/.Recycle.Bin/.Recycle.Bin/.Recycle.Bin/.Recycle.Bin root@vault:/mnt/user/tv/.Recycle.Bin/.Recycle.Bin/.Recycle.Bin/.Recycle.Bin/.Recycle.Bin/.Recycle.Bin# This causes a problem when crawling directory contents via some scripts and utilities I use. Quote Link to comment
Revan335 Posted January 8 Share Posted January 8 4 hours ago, fracturetrey said: Is it expected when using this plugin that a recursive link will be created inside each share's .Recycle.Bin? No. Not on my systems. But I read this by another user in the past. Quote Link to comment
dlandon Posted January 8 Author Share Posted January 8 4 hours ago, fracturetrey said: This causes a problem when crawling directory contents via some scripts and utilities I use. I've seen this in the past myself. I believe it was an older version of Samba that had a bug. You can delete those recurring folders. Update Unraid if you are on an older version. Quote Link to comment
aim60 Posted January 23 Share Posted January 23 Minor cosmetic issue. If you go to the Recycle Bin settings page and sort the shares by Trash Size, the list is sorted by the number of (GB, MB), ignoring the fact that GBs are larger than MBs. 1 Quote Link to comment
dlandon Posted January 23 Author Share Posted January 23 24 minutes ago, aim60 said: Minor cosmetic issue. If you go to the Recycle Bin settings page and sort the shares by Trash Size, the list is sorted by the number of (GB, MB), ignoring the fact that GBs are larger than MBs. It's an alphanumeric sort, not a numeric sort. The display would have to be all numeric to sort in true size. That would not be very human readable. Not much I can do unless I can find a work around. Quote Link to comment
Marc_G2 Posted February 7 Share Posted February 7 I'm having trouble excluding directories from an unassigned device share. Is this the correct input field format for excluding two folders? 'Aux SSD/Priority Share/Folder1', 'Aux SSD/Priority Share/Folder2' Quote Link to comment
Revan335 Posted February 8 Share Posted February 8 I don't have two Exclusions but the one i have is: Aux SSD/Priority Share/Folder1 In your example. Without ' or , Quote Link to comment
dlandon Posted February 8 Author Share Posted February 8 1 hour ago, Marc_G2 said: 'Aux SSD/Priority Share/Folder1', 'Aux SSD/Priority Share/Folder2' You have several issues with this line: Don't use "'". Don't use ', '. Only commas to separate the excludes. No spaces. You can only specify one folder level. You cannot specify two folder levels deep. It is share/folder, not share/folder/folder. Quote Link to comment
belupig Posted February 11 Share Posted February 11 (edited) Hi dlandon, I am running Unraid 6.11.1, and the Recyclin Bin plugin stopped working months ago, but I was not able to figure out why. I suspect I may have screwed something up when setting up rootshare. I've taken the following steps: - Empty all trash - Reinstalled the plugin - Restarted the server - Test delete files and no luck. The deleted files are not being logged, and the /Media/.Recycle.Bin folder remains empty. I expect deleted files to be logged and moved to the .Recycle.Bin folder upon deletion. The deleted files log and SMB Share are both empty. I've also attached the system diagnostic.zip file for further analysis. Thank you in advance for your assistance. Any help you can provide would be greatly appreciated. unraid-diagnostics-20240210-2255.zip Edited February 11 by belupig Add possible reason on messing plugin up when setting up rootshare Quote Link to comment
dlandon Posted February 11 Author Share Posted February 11 6 hours ago, belupig said: The deleted files log and SMB Share are both empty. I've also attached the system diagnostic.zip file for further analysis. I don't see anything in the diagnostics. You do realize that the recycle bin only works on SMB shares? The diagnostics in 6.11 don't have some features that would help me research your issue. You should update your plugins and Unraid for further assistance. Quote Link to comment
belupig Posted February 11 Share Posted February 11 7 hours ago, dlandon said: I don't see anything in the diagnostics. You do realize that the recycle bin only works on SMB shares? The diagnostics in 6.11 don't have some features that would help me research your issue. You should update your plugins and Unraid for further assistance. I updated to 6.12.6 and update any outdated plugins. Please see the new diagnostics attached. My media user shares have SMB export enabled, but under the Recyclin bin settings, I don't the SMB share is empty. I assume this is what's causing issues? Thank you. unraid-diagnostics-20240211-1343.zip Quote Link to comment
dlandon Posted February 11 Author Share Posted February 11 Did the testdel file you deleted have a zero length? A file that is deleted that is empty will not go to the .Recycle.Bin. Quote Link to comment
Recommended Posts
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.