Lumaley Posted April 13, 2021 Share Posted April 13, 2021 Hello Together, I have a small problem, I did the installation of the plugin, only unfortunately it does not recognize shares. I have uninstalled the plugin, reinstalled, tested an older version (did not work), set up Unraid again, created shares in different ways (Cache Only, Yes, No, Prefer). All shares do not have a .Recycle.Bin, they are not shown to me via SMB or via SSH. I also tested it with WinSCP... I know it worked once though, because on an older test server, I already had this plugin installed. And before someone asks 🙂 Yes I did a reboot 🙂 Any advices? Thanks for your help! Here some screenshots. Quote Link to comment
trurl Posted April 13, 2021 Share Posted April 13, 2021 Did you actually delete anything over the network (SMB)? Quote Link to comment
Lumaley Posted April 13, 2021 Share Posted April 13, 2021 1 hour ago, trurl said: Did you actually delete anything over the network (SMB)? 🙈🙈🙈🙈🙈🙈 Oh man, you just can't imagine how much I want to hide now and be ashamed for the next few years! You are my hero! Sorry for my post! 😂 Quote Link to comment
Arby Posted April 18, 2021 Share Posted April 18, 2021 (edited) Hello, I am on unRAID 6.9.2, I have installed the plugin, enabled it and have not excluded any shares. I deleted a file but no recycle bin appears on Windows, I am using the smb additional settings rootshare provided by Spaceinvader to access my smb via one rootshare, I have not modified the smb additional settings after installing the plugin as it seems to have modified it by itself. I have tried to test it by deleting a new file I created and also by deleting a file that already existed. I have turned "Log deleted files" to "yes" and still no luck, nothing appears under "Shares" or "Deleted Files". I would be happy to send my diagnostics file to anyone by pm. For some reason the plugin doesn't seem to work for me but I'm sure it would work wonderfully if it did. Edited April 18, 2021 by Arby Quote Link to comment
dlandon Posted April 18, 2021 Author Share Posted April 18, 2021 15 minutes ago, Arby said: Hello, I am on unRAID 6.9.2, I have installed the plugin, enabled it and have not excluded any shares. I deleted a file but no recycle bin appears on Windows, I am using the smb additional settings rootshare provided by Spaceinvader to access my smb via one rootshare, I have not modified the smb additional settings after installing the plugin as it seems to have modified it by itself. I have tried to test it by deleting a new file I created and also by deleting a file that already existed. I have turned "Log deleted files" to "yes" and still no luck, nothing appears under "Shares" or "Deleted Files". I would be happy to send my diagnostics file to anyone by pm. For some reason the plugin doesn't seem to work for me but I'm sure it would work wonderfully if it did. Post diagnostics. Quote Link to comment
Arby Posted April 18, 2021 Share Posted April 18, 2021 1 minute ago, dlandon said: Post diagnostics. Hi dlandon, sent you a pm. Quote Link to comment
dlandon Posted April 18, 2021 Author Share Posted April 18, 2021 22 minutes ago, Arby said: Hello, I am on unRAID 6.9.2, I have installed the plugin, enabled it and have not excluded any shares. I deleted a file but no recycle bin appears on Windows, I am using the smb additional settings rootshare provided by Spaceinvader to access my smb via one rootshare, I have not modified the smb additional settings after installing the plugin as it seems to have modified it by itself. I have tried to test it by deleting a new file I created and also by deleting a file that already existed. I have turned "Log deleted files" to "yes" and still no luck, nothing appears under "Shares" or "Deleted Files". I would be happy to send my diagnostics file to anyone by pm. For some reason the plugin doesn't seem to work for me but I'm sure it would work wonderfully if it did. Remove these lines in the smb-extra.conf and try again: [rootshare] path = /mnt/user comment = browseable = yes valid users = *** write list = *** vfs objects = You'll have to restart the recycle bin. I suspect the problem line is the 'vfs objects ='. The recycle bin is a vfs object and I think that line is negating the recycle bin vfs object. Quote Link to comment
Arby Posted April 18, 2021 Share Posted April 18, 2021 (edited) 34 minutes ago, dlandon said: Remove these lines in the smb-extra.conf and try again: [rootshare] path = /mnt/user comment = browseable = yes valid users = *** write list = *** vfs objects = You'll have to restart the recycle bin. I suspect the problem line is the 'vfs objects ='. The recycle bin is a vfs object and I think that line is negating the recycle bin vfs object. Would recycle bin plugin not work with rootshare enabled? It would be nice to have rootshare accessible. Anyway I did that and tested again, I can now see the files in the deleted files log but how would the user access the recycle bin? I can't see that a recycle bin has appeared. I will pm you my diagnostics again. Edited April 18, 2021 by Arby added screenshot Quote Link to comment
dlandon Posted April 18, 2021 Author Share Posted April 18, 2021 11 minutes ago, Arby said: Would recycle bin plugin not work with rootshare enabled? It would be nice to have rootshare accessible. Anyway I did that and tested again, I can now see the files in the deleted files log but how would the user access the recycle bin? I can't see that a recycle bin has appeared. I will pm you my diagnostics again. Any entries in the smb-extras.conf file are global and apply to all shares. The 'vfs objects =' entry removes the vfs recycle bin added to the individual shares. Talk with Spaceinvader about why that entry is added to the smb extras. I don't think it is necessary. It will also affect other vfs objects added by Unraid. You go to the recycle bin by browsing to it: //tower/share/.Recycle.Bin. Quote Link to comment
Arby Posted April 18, 2021 Share Posted April 18, 2021 (edited) 8 minutes ago, dlandon said: Any entries in the smb-extras.conf file are global and apply to all shares. The 'vfs objects =' entry removes the vfs recycle bin added to the individual shares. Talk with Spaceinvader about why that entry is added to the smb extras. I don't think it is necessary. It will also affect other vfs objects added by Unraid. You go to the recycle bin by browsing to it: //tower/share/.Recycle.Bin. Hi, thanks again for helping. I will remove the vfs objects line, if you don't think it's necessary, I agree! I still have a problem though, I can't see the Recycle Bin by following your steps, I can't see it anywhere. I have looked in these places: Going to shares in the unraid GUI (Files is the share I used to delete the test files) smb on my Windows PC: Binhex-krusader: I have checked the cache drive under the unRAID GUI and can't see the share there. Edit: however, when I go into binhex-krusader, a RecycleBin has appeared there under my main UNRAID path: but when I go in, these folders are all empty: Edited April 18, 2021 by Arby further info Quote Link to comment
dlandon Posted April 18, 2021 Author Share Posted April 18, 2021 16 minutes ago, Arby said: I still have a problem though, I can't see the Recycle Bin by following your steps, I can't see it anywhere. I have looked in these places: Unraid: Windows: Quote Link to comment
Arby Posted April 18, 2021 Share Posted April 18, 2021 6 minutes ago, dlandon said: Unraid: Windows: Yeah that folder is not appearing for me, anywhere. Quote Link to comment
dlandon Posted April 18, 2021 Author Share Posted April 18, 2021 10 minutes ago, Arby said: Yeah that folder is not appearing for me, anywhere. Are the files showing up in the recycle bin log? If not then you still don't have the recycle bin working. Quote Link to comment
Arby Posted April 18, 2021 Share Posted April 18, 2021 (edited) 1 hour ago, dlandon said: Are the files showing up in the recycle bin log? If not then you still don't have the recycle bin working. Yes you'e right, they weren't appearing because I had put the rootshare lines back in but without the vfs line you mentioned. I have now removed all of the rootshare lines. It now appears in the deleted files log but the recycle bin folder doesn't appear still: Edited April 18, 2021 by Arby removed video Quote Link to comment
dlandon Posted April 18, 2021 Author Share Posted April 18, 2021 1 hour ago, Arby said: It now appears in the deleted files log but the recycle bin folder doesn't appear still: It may take some time to show up. Quote Link to comment
Arby Posted April 18, 2021 Share Posted April 18, 2021 30 minutes ago, dlandon said: It may take some time to show up. Still hasn't appeared yet. I appreciate your help, I have given up for today, I'll use the rootshare and in the meanwhile be cautious that I don't have a recycle bin when deleting files as before. Thanks. Quote Link to comment
coblck Posted April 18, 2021 Share Posted April 18, 2021 Have you got dot files visible on windows and unraid Quote Link to comment
Arby Posted April 25, 2021 Share Posted April 25, 2021 On 4/18/2021 at 2:51 PM, coblck said: Have you got dot files visible on windows and unraid Hidden files on Windows? Yes I have them visible, not sure how to do that on unRAID but I was running binhex krusader so I assumed I could see everything Quote Link to comment
wgstarks Posted April 25, 2021 Share Posted April 25, 2021 1 minute ago, Arby said: not sure how to do that on unRAID Settings>SMB Settings>Hide "dot" files. Quote Link to comment
iarp Posted April 26, 2021 Share Posted April 26, 2021 (edited) I'm not sure when this started happening but the plugin is failing to do two things. 1) display the correct Trash Size for each user share and 2) delete old files. I'm not even sure where to begin with the Trash Sizing issue because the webpage currently shows 66G for Trash Size on the backup share however: root@storage:/mnt/user/backup/.Recycle.Bin# du -sh ./* 94G ./MYCOMP 9.9M ./SQL root@storage:/mnt/RecycleBin/User Shares/backup# du -sh ./* 94G ./MYCOMP 9.9M ./SQL Additionally, it's not deleting old files. It's currently set for 7 days and over the smb share i can see files dated 2021-04-08 root@storage:/mnt/user/backup/.Recycle.Bin/MYCOMP/Backup Job MYCOMP_1# stat Copy\ #1\ of\ Backup\ Job\ MYCOMP.vbm File: Copy #1 of Backup Job MYCOMP.vbm Size: 295051 Blocks: 584 IO Block: 4096 regular file Device: 2fh/47d Inode: 648799823889937712 Links: 1 Access: (0666/-rw-rw-rw-) Uid: ( 99/ nobody) Gid: ( 100/ users) Access: 2021-04-08 11:02:01.997199995 -0400 Modify: 2021-04-08 11:00:34.032458553 -0400 Change: 2021-04-15 08:30:47.766812889 -0400 Birth: - Version 2021.04.24 Edited April 26, 2021 by iarp Quote Link to comment
dlandon Posted April 26, 2021 Author Share Posted April 26, 2021 8 hours ago, iarp said: I'm not even sure where to begin with the Trash Sizing issue because the webpage currently shows 66G for Trash Size on the backup share however: That's exactly how the Recycle Bin determines the trash size. The trash size is determined every minute (background task calculates the trash size every minute) and may be a little behind if the share is very active. 8 hours ago, iarp said: Additionally, it's not deleting old files. It's currently set for 7 days and over the smb share i can see files dated 2021-04-08 The age date is the file atime. Execute this command and you'll see what files are aged and would be removed: find /mnt/RecycleBin/User\ Shares/*/* -atime +7 This is how the files are removed by age date. Quote Link to comment
iarp Posted April 27, 2021 Share Posted April 27, 2021 I'm the only user. The only activity in this share is at 11am from my computer backing up and 7am/7pm sql backups. I executed the find atime command and all of the "Copy #..." files are returned. But they are never deleted. As of now the webpage still shows 66G and its been 9 hours. If i redo a du -sh on the backup recycle bin its at 94G. Quote Link to comment
dlandon Posted April 27, 2021 Author Share Posted April 27, 2021 Any chance you have a space before the age days value in the settings? This would cause the age delete to fail. Quote Link to comment
iarp Posted April 27, 2021 Share Posted April 27, 2021 Any chance you have a space before the age days value in the settings? This would cause the age delete to fail.Only the number 7 is in the age box.Sent from my Nexus 7 using Tapatalk Quote Link to comment
dlandon Posted April 27, 2021 Author Share Posted April 27, 2021 Post your diagnostics. 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.