dlandon Posted May 16, 2017 Author Share Posted May 16, 2017 (edited) 2 hours ago, Energen said: Just wanted to chime in that I had to do this step as well to get the recycle bin working. Don't know if there's a way to do this automatically when the plugin is installed, or if that's just bad form to do automatically, but seems to be a required step. Perhaps add the command to the plugin install info or something? Thanks for this, very useful plugin. You shouldn't have to do that. The recycle bin issues the command for samba to reload it's configuration and works just fine for me. EDIT: When the samba configuration is reloaded, unRAID will reconfigure the share settings on an event. The recycle bin will add the settings it needs when the event is triggered. This is done on a one minute interval so there might be a delay before the vfs_recycle is initiated in samba. Edited May 16, 2017 by dlandon 1 Quote Link to comment
dlandon Posted June 24, 2017 Author Share Posted June 24, 2017 New release of the Recycle Bin plugin. The 'Shares' tab now displays only the shares with Recycle Bin contents. Each share has an 'Empty' button so you can empty the Recycle Bin trash for a single share. 1 Quote Link to comment
JoshFink Posted June 28, 2017 Share Posted June 28, 2017 Hey, great plugin. Thank you. Three questions: Is there a limit on the amount of excluded files you can enter. It seems in the GUI i've run out of space to enter more exclusions Is it possible to exclude folders within a share from the recycle bin For Recycle Bin Parameters do you have any more examples of what can be done in there? No specific need but there might be a use case I'm not aware of. Thanks Quote Link to comment
dlandon Posted June 28, 2017 Author Share Posted June 28, 2017 Answers: 1. Only the length of the ui input line. Can you do a wild card exclusion? 2. No. Only the complete share. You might be able to exclude the folder in the excluded files. I've not tried that. 3. No. The best source for the additional parameters is the samba documentation. Quote Link to comment
JoshFink Posted June 28, 2017 Share Posted June 28, 2017 58 minutes ago, dlandon said: Answers: 1. Only the length of the ui input line. Can you do a wild card exclusion? 2. No. Only the complete share. You might be able to exclude the folder in the excluded files. I've not tried that. 3. No. The best source for the additional parameters is the samba documentation. Thanks.. I can always edit the config file directly I believe to fix the input line issue. Appreciate the help. Quote Link to comment
dlandon Posted June 28, 2017 Author Share Posted June 28, 2017 (edited) 39 minutes ago, JoshFink said: Thanks.. I can always edit the config file directly I believe to fix the input line issue. Appreciate the help. How many shares are you trying to exclude? EDIT: I can increase the line length. It is currently set at 100 characters. Edited June 28, 2017 by dlandon Quote Link to comment
JoshFink Posted June 28, 2017 Share Posted June 28, 2017 It's not the shares that I'm excluding but files. Wildcards won't work with them because I want some but not all (they're certain jpgs and pngs that I want to exclude). Not a huge rush on it but I appreciate the help. Quote Link to comment
dlandon Posted June 28, 2017 Author Share Posted June 28, 2017 4 hours ago, JoshFink said: It's not the shares that I'm excluding but files. Wildcards won't work with them because I want some but not all (they're certain jpgs and pngs that I want to exclude). Not a huge rush on it but I appreciate the help. Sorry. I misunderstood. Quote Link to comment
dlandon Posted June 29, 2017 Author Share Posted June 29, 2017 7 hours ago, JoshFink said: It's not the shares that I'm excluding but files. Wildcards won't work with them because I want some but not all (they're certain jpgs and pngs that I want to exclude). Not a huge rush on it but I appreciate the help. The excluded files input field in the settings is now 150 characters. 2 Quote Link to comment
JoshFink Posted June 29, 2017 Share Posted June 29, 2017 10 hours ago, dlandon said: The excluded files input field in the settings is now 150 characters. Thanks so much. I really appreciate the help. Quote Link to comment
kingy444 Posted July 12, 2017 Share Posted July 12, 2017 I am trying to clear my recycle bin after deleting some data i now have a problem where the recycle bin GUI isn't even opening. The page just keeps spinning and asking if I want to wait for the unresponsive page any advice on how to clear the recycle bin and expedite the process as the GUI won't load ? Quote Link to comment
dlandon Posted July 12, 2017 Author Share Posted July 12, 2017 Enter this at the command line: /usr/local/emhttp/plugins/recycle.bin/scripts/rc.recycle.bin empty This will empty the recycle bins on all shares. 1 Quote Link to comment
kingy444 Posted July 13, 2017 Share Posted July 13, 2017 7 hours ago, dlandon said: Enter this at the command line: /usr/local/emhttp/plugins/recycle.bin/scripts/rc.recycle.bin empty This will empty the recycle bins on all shares. thanks. so i emptied now. but the page at http://10.0.0.21/Settings/RecycleBin is just spinning and chrome is doing the not responding wait thing. any idea why it would be doing that and how to fix it? the bin is empty so i would expect it to relatively quick with nothing to compute? Quote Link to comment
dlandon Posted July 13, 2017 Author Share Posted July 13, 2017 6 minutes ago, kingy444 said: thanks. so i emptied now. but the page at http://10.0.0.21/Settings/RecycleBin is just spinning and chrome is doing the not responding wait thing. any idea why it would be doing that and how to fix it? the bin is empty so i would expect it to relatively quick with nothing to compute? I don't have any idea. How about posting some diagnostics to help troubleshoot? Quote Link to comment
kingy444 Posted July 13, 2017 Share Posted July 13, 2017 (edited) On 7/13/2017 at 10:14 AM, dlandon said: I don't have any idea. How about posting some diagnostics to help troubleshoot? attached. thanks for your help unraid-diagnostics-20170713-1251.zip Edited July 3, 2022 by kingy444 Quote Link to comment
dlandon Posted July 13, 2017 Author Share Posted July 13, 2017 8 hours ago, kingy444 said: attached. thanks for your help unraid-diagnostics-20170713-1251.zip You have a lot of plugins needing to be updated, but have not applied the updates. First thing I would do is update all the plugins. Quote Link to comment
kingy444 Posted July 13, 2017 Share Posted July 13, 2017 14 minutes ago, dlandon said: You have a lot of plugins needing to be updated, but have not applied the updates. First thing I would do is update all the plugins. Have done that actually since posting. No difference. Quote Link to comment
dlandon Posted July 13, 2017 Author Share Posted July 13, 2017 2 minutes ago, kingy444 said: Have done that actually since posting. No difference. You have the nerd pack plugin installed. One of the packages there may be interfering. I would uninstall it for the moment and see if that makes any difference. Quote Link to comment
kingy444 Posted July 13, 2017 Share Posted July 13, 2017 3 minutes ago, dlandon said: You have the nerd pack plugin installed. One of the packages there may be interfering. I would uninstall it for the moment and see if that makes any difference. no dice same thing. any other suggestions? Quote Link to comment
dlandon Posted July 13, 2017 Author Share Posted July 13, 2017 (edited) 8 minutes ago, kingy444 said: no dice same thing. any other suggestions? Nope. EDIT: Try a different browser? Edited July 13, 2017 by dlandon Quote Link to comment
dlandon Posted July 13, 2017 Author Share Posted July 13, 2017 9 hours ago, kingy444 said: attached. thanks for your help unraid-diagnostics-20170713-1251.zip There seems to be a lot of mover activity on the recycle bin. Jul 8 03:40:10 unRAID root: >f+++++++++ BackUp/.Recycle.Bin/Scripts/logs/Copy #734 of sonarrlog.txt Jul 8 03:40:32 unRAID root: >f+++++++++ BackUp/MediaBrowser/Emby Backup - 2017-07-08 12.10.1 - Auto/branding.xml Jul 8 03:40:32 unRAID root: >f+++++++++ BackUp/MediaBrowser/Emby Backup - 2017-07-08 12.10.1 - Auto/fanart.xml Jul 8 03:40:33 unRAID root: >f+++++++++ BackUp/MediaBrowser/Emby Backup - 2017-07-08 12.10.1 - Auto/chapters.xml Jul 8 03:40:33 unRAID root: .d..t...... BackUp/MediaBrowser/Emby Backup - 2017-07-08 12.10.1 - Auto/ Jul 8 03:40:33 unRAID root: >f+++++++++ BackUp/MediaBrowser/Emby Backup - 2017-07-08 12.10.1 - Auto/encoding.xml Jul 8 03:40:33 unRAID root: >f+++++++++ BackUp/MediaBrowser/Emby Backup - 2017-07-08 12.10.1 - Auto/metadata.xml You are probably flooding the recycle bin with these files and the plugin can't do anything with that much activity. Exclude some of these files, or the shares and clean it up. Quote Link to comment
kingy444 Posted July 17, 2017 Share Posted July 17, 2017 On 13/07/2017 at 10:00 PM, dlandon said: There seems to be a lot of mover activity on the recycle bin. Jul 8 03:40:10 unRAID root: >f+++++++++ BackUp/.Recycle.Bin/Scripts/logs/Copy #734 of sonarrlog.txt Jul 8 03:40:32 unRAID root: >f+++++++++ BackUp/MediaBrowser/Emby Backup - 2017-07-08 12.10.1 - Auto/branding.xml Jul 8 03:40:32 unRAID root: >f+++++++++ BackUp/MediaBrowser/Emby Backup - 2017-07-08 12.10.1 - Auto/fanart.xml Jul 8 03:40:33 unRAID root: >f+++++++++ BackUp/MediaBrowser/Emby Backup - 2017-07-08 12.10.1 - Auto/chapters.xml Jul 8 03:40:33 unRAID root: .d..t...... BackUp/MediaBrowser/Emby Backup - 2017-07-08 12.10.1 - Auto/ Jul 8 03:40:33 unRAID root: >f+++++++++ BackUp/MediaBrowser/Emby Backup - 2017-07-08 12.10.1 - Auto/encoding.xml Jul 8 03:40:33 unRAID root: >f+++++++++ BackUp/MediaBrowser/Emby Backup - 2017-07-08 12.10.1 - Auto/metadata.xml You are probably flooding the recycle bin with these files and the plugin can't do anything with that much activity. Exclude some of these files, or the shares and clean it up. apologies mate. i must not have hit reply - it was a browser thing. Working fine in IE EDGE. Cleared cache in Chrome and its working again Thanks for the help Quote Link to comment
tucansam Posted July 21, 2017 Share Posted July 21, 2017 I had a Plex folder still living on my array in /mnt/user/appdata. It had 5,000,000 files and directories in it. Took about 90 minutes to delete with rm -rf Saw that it was moved to the Recycle Bin. Emptied it, that took less than a minute. How exactly does the Recycle Bin work in this specific case? Quote Link to comment
dlandon Posted July 21, 2017 Author Share Posted July 21, 2017 (edited) 13 hours ago, tucansam said: I had a Plex folder still living on my array in /mnt/user/appdata. It had 5,000,000 files and directories in it. Took about 90 minutes to delete with rm -rf Saw that it was moved to the Recycle Bin. Emptied it, that took less than a minute. How exactly does the Recycle Bin work in this specific case? Empty recycle bin: rm -rf /mnt/user/*/.Recycle.Bin Edited July 21, 2017 by dlandon Quote Link to comment
tucansam Posted July 22, 2017 Share Posted July 22, 2017 Right. But why did that rm command complete so quickly vs. the initial rm command that moved everything 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.