January 21, 20251 yr 18 hours ago, dlandon said: 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. You got it, can confirm that with it disabled everything works normally.
January 21, 20251 yr Author 3 hours ago, Kilrah said: You got it, can confirm that with it disabled everything works normally. Thank you, it was a hunch I had about the vfs objects. Now to find a solution that doesn't break SMB on Macs.
January 28, 20251 yr I’m not sure why, but I tested using the same file, and there was an issue. I confirmed that files from the Array Share and Unassigned Device Share were properly moved to the recycle folder. However, files from the Pool Share don’t go to the recycle folder even after being deleted. Is there anything additional I need to configure for the Pool Share? I am using Unraid 7.0.0
January 28, 20251 yr Hello. I, too, am adding a bug report onto the pile. I've read everything in this thread since January 1st so I'll start by posting diagnostic logs and environment info as the developer requests. Environment: I use SMB only, use standard Share permissions setup by Unraid (no chmod or chown commands), ensured "Hide dot files" and "Enhanced macOS interoperability" are set to "No" while "Enable SMB Multi Channel" and "Enable WSD" are set to "Yes". In the Recycle Bin settings I ensured it is enabled and running with hourly emptying. Behavior: Deleted files are not appearing in the recycle folder on both cache drives and array shares. The issue started since upgrading to Unraid 7.0.0. I have tried many combinations of troubleshooting in attempt to find a pattern but the Recycle Bin plugin seems to do nothing now. The thorough "reset" method I've tried is uninstalling the plugin, manually deleting the recycle folder from all shares & drives, rebooting Unraid, reinstalling the plugin, configuring and starting the plugin, then testing file deletion on the array and cache drive (via SMB). No luck, in fact the plugin did not recreate the ".recycle.bin" folder anywhere. If you need more info or for me to test something just ask. unraid-diagnostics-20250128-1111.zip
January 28, 20251 yr Author 59 minutes ago, Sgt said: "No" while "Enable SMB Multi Channel" and "Enable WSD" are set to "Yes". Set Multi Channel to "No" and try. Keep in mind that files of zero length are not put in the recucle bin.
January 28, 20251 yr Author 3 hours ago, pripapripa said: I’m not sure why, but I tested using the same file, and there was an issue. I confirmed that files from the Array Share and Unassigned Device Share were properly moved to the recycle folder. However, files from the Pool Share don’t go to the recycle folder even after being deleted. Is there anything additional I need to configure for the Pool Share? I am using Unraid 7.0.0 I'm looking into it.
January 28, 20251 yr Author 5 hours ago, Sgt said: Hello. I, too, am adding a bug report onto the pile. I've read everything in this thread since January 1st so I'll start by posting diagnostic logs and environment info as the developer requests. Environment: I use SMB only, use standard Share permissions setup by Unraid (no chmod or chown commands), ensured "Hide dot files" and "Enhanced macOS interoperability" are set to "No" while "Enable SMB Multi Channel" and "Enable WSD" are set to "Yes". In the Recycle Bin settings I ensured it is enabled and running with hourly emptying. Behavior: Deleted files are not appearing in the recycle folder on both cache drives and array shares. The issue started since upgrading to Unraid 7.0.0. I have tried many combinations of troubleshooting in attempt to find a pattern but the Recycle Bin plugin seems to do nothing now. The thorough "reset" method I've tried is uninstalling the plugin, manually deleting the recycle folder from all shares & drives, rebooting Unraid, reinstalling the plugin, configuring and starting the plugin, then testing file deletion on the array and cache drive (via SMB). No luck, in fact the plugin did not recreate the ".recycle.bin" folder anywhere. If you need more info or for me to test something just ask. unraid-diagnostics-20250128-1111.zip 155.01 kB · 1 download Update Recycle Bin.
January 29, 20251 yr As requested, updated the plugin. Immediately went to a share on the array, observed the recycle bin folder does not exist, deleted a file as a test and viola! A folder named ".Recycle.Bin" appeared with the deleted file inside! Repeated the test with a share on a cache drive only and observed the same results. Deleting folders with and without contents is also working. All tests performed using SMB. Thank you for your speedy update and for bringing to life this arguably essential plugin.
February 6, 20251 yr Hey guys, getting this issue when trying to update recycle bin after upgrading unraid to 7.0 plugin: installing: recycle.bin.plg Executing hook script: pre_plugin_checks plugin: downloading: recycle.bin.plg ... done Executing hook script: pre_plugin_checks plugin: run failed: '/bin/bash' returned 1 Executing hook script: post_plugin_checks Anyone have any ideas what the issue is?
February 7, 20251 yr Author 1 hour ago, Italiandevil0505 said: Hey guys, getting this issue when trying to update recycle bin after upgrading unraid to 7.0 plugin: installing: recycle.bin.plg Executing hook script: pre_plugin_checks plugin: downloading: recycle.bin.plg ... done Executing hook script: pre_plugin_checks plugin: run failed: '/bin/bash' returned 1 Executing hook script: post_plugin_checks Anyone have any ideas what the issue is? Post your diagnostics so I can look into it. I can't reproduce your issue. I suggest you remove and reinstall the plugin.
February 7, 20251 yr MacOS issue. Running Unraid 6.12.8 with Enhanced macOS interoperability set to Yes. With the latest Recycle.Bin 2025.01.28, cannot copy & paste files to Unraid using Mac’s Finder app. After the paste, the file on the server shows as greyed out and cannot be read, but can be dragged to the trash can. Tested using Sequoia 15.3 and Big Sur 11.7. Reverting Recycle.Bin to 2024.11.17b resolves the problem. Verified this behavior on an Unraid 6.12.8 VM with no other plugins installed.
February 9, 20251 yr Author On 2/7/2025 at 12:56 PM, aim60 said: MacOS issue. Running Unraid 6.12.8 with Enhanced macOS interoperability set to Yes. With the latest Recycle.Bin 2025.01.28, cannot copy & paste files to Unraid using Mac’s Finder app. After the paste, the file on the server shows as greyed out and cannot be read, but can be dragged to the trash can. Tested using Sequoia 15.3 and Big Sur 11.7. Reverting Recycle.Bin to 2024.11.17b resolves the problem. Verified this behavior on an Unraid 6.12.8 VM with no other plugins installed. Post diagnostics.
February 12, 20251 yr Author On 2/7/2025 at 12:56 PM, aim60 said: MacOS issue. Running Unraid 6.12.8 with Enhanced macOS interoperability set to Yes. With the latest Recycle.Bin 2025.01.28, cannot copy & paste files to Unraid using Mac’s Finder app. After the paste, the file on the server shows as greyed out and cannot be read, but can be dragged to the trash can. Tested using Sequoia 15.3 and Big Sur 11.7. Reverting Recycle.Bin to 2024.11.17b resolves the problem. Verified this behavior on an Unraid 6.12.8 VM with no other plugins installed. Update the Recycle Bin plugin and see if the issue is resolved.
February 12, 20251 yr Quote 2025.02.12 Fix: Language translation updates. Fix: Reorder vfs objects to fix strange file status after copying files from a Mac computer. Thank you for the second fix specially. It was so annoying.
February 12, 20251 yr 5 hours ago, dlandon said: Update the Recycle Bin plugin and see if the issue is resolved. RE: MacOS Issue: Resolved. Thank You
February 15, 20251 yr the logging on my recycle bin is broken. been using for years, updated to 7.0.0 shortly after release, been fine. i updated recycle bin recently and noticed that it isnt logging when i delete files. now when i delete a file thru smb, it moves the file to the recycle bin folder (as it should). but nothing shows in the log. when i go delete the file from the recycle bin folder (also thru smb), then it shows in the log. this was never the behavior before, it would show in the log immediately, then after the 5 min interval, would actually show in the recycle bin to be emptied. is this a known issue, or am i missing something? does using exclusive shares have anything to do with logging behavior? share exclusivity and updating recycle bin plugin are the only thing on my server that ive changed recently. thanks!
February 15, 20251 yr Author 9 hours ago, xrichnj said: the logging on my recycle bin is broken. been using for years, updated to 7.0.0 shortly after release, been fine. i updated recycle bin recently and noticed that it isnt logging when i delete files. now when i delete a file thru smb, it moves the file to the recycle bin folder (as it should). but nothing shows in the log. when i go delete the file from the recycle bin folder (also thru smb), then it shows in the log. this was never the behavior before, it would show in the log immediately, then after the 5 min interval, would actually show in the recycle bin to be emptied. is this a known issue, or am i missing something? does using exclusive shares have anything to do with logging behavior? share exclusivity and updating recycle bin plugin are the only thing on my server that ive changed recently. thanks! Post your diagnostics.
February 15, 20251 yr 1 hour ago, dlandon said: Post your diagnostics. unraid-diagnostics-20250215-0837.zip
February 16, 20251 yr Hi, In the process of setting up my first Unraid server, upgraded to 7.0.0-rc.2 and enabled your plugin. Enable Recycle Bin is set to yes, no exclusions. Shares Is blank. Created/deleted a text document and no .Recycle.Bin folder showed up (per above comment). Hide Recycle Bin is set to No.
February 16, 20251 yr 15 hours ago, dozerplex said: 7.0.0-rc.2 That was a prerelease, you should be using the final 7.0.0. Edited February 16, 20251 yr by Kilrah
February 17, 20251 yr Author Because of recent changes in Samba, some deleted files are not logged as being deleted but moved. This is actually a good thing if the file doesn't have to actually be copied to the .Recycle.Bin, but can be moved instead - a move is much faster. This causes the plugin logging to miss the fact that a file was deleted from a share. The actual file deletion (file going to the .Recycle.Bin) works, but is not always loggged. The Samba logging mechanism is not easy to work with and I am considering ditching it and possibly using an inotify on each .Recycle.Bin. I'm also considering dropping logging altogether, but I suspect this move might not be well received.
February 17, 20251 yr 1 hour ago, dlandon said: Because of recent changes in Samba, some deleted files are not logged as being deleted but moved. This is actually a good thing if the file doesn't have to actually be copied to the .Recycle.Bin, but can be moved instead - a move is much faster. This causes the plugin logging to miss the fact that a file was deleted from a share. The actual file deletion (file going to the .Recycle.Bin) works, but is not always loggged. The Samba logging mechanism is not easy to work with and I am considering ditching it and possibly using an inotify on each .Recycle.Bin. I'm also considering dropping logging altogether, but I suspect this move might not be well received. probably not. it's really nice to be able to see everything that has been deleted at a glance in the log without having to navigate to each individual recycle bin to make sure all the files are ok to remove permanently.
February 24, 20251 yr Author The logging in the recycle bin has been converted to inotify. There are several reasons that the logging was not working: Samba has changed files being deleted from 'unlink' to 'moved'. The new inotify watches the share .Recycle.Bins for files moved or created in those folders. After adding a new share, the recycle bin was not updating to add the recycle bin to the new share. Probably a few other issues also. All should be working now.
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.