Samba Recycle Bin with VFS_Recycle


Recommended Posts

My plugin stopped working after upgrading to 6.1rc2. I see

 

Aug 7 23:31:31 Tower emhttp: unsupported cmd: /etc/rc.d/rc.vfs_plg empty

Aug 7 23:22:11 Tower emhttp: unsupported cmd: /etc/rc.d/rc.vfs_plg restart

 

etc for all the buttons/commands.

 

samba itself is still okay, but none of the plugin buttons work.

Link to comment

My plugin stopped working after upgrading to 6.1rc2. I see

 

Aug 7 23:31:31 Tower emhttp: unsupported cmd: /etc/rc.d/rc.vfs_plg empty

Aug 7 23:22:11 Tower emhttp: unsupported cmd: /etc/rc.d/rc.vfs_plg restart

 

etc for all the buttons/commands.

 

samba itself is still okay, but none of the plugin buttons work.

Because of this: http://lime-technology.com/forum/index.php?topic=41783.msg396821#msg396821  The plugin requires an update to work with 6.1rc2 due to the renewed emphasis on security within unRaid
Link to comment
  • 4 weeks later...

Is anyone willing to give this a go to get this verified for V6.1?  I really don't want to upgrade and lose this feature because I've lost heaps of data before when I accidently deleted stuff! :(

 

No one appears to be maintaining it, and this feature is requested by a number of users.  If I had the programing knowledge I would take it on, but I'm happy to help and test as required.

Link to comment

Same here. I won't upgrade without this. It has saved my bacon a few times. Once when I wasn't using it, I somehow lost some projects I had worked on for a week. I am still not sure how it even disappeared, but I am sure if I had this plugin loaded I could have recovered it. Luckily I had old versions I was able to use. I installed Recycle Bin again right after that panic.

Link to comment

You dont need a plugin to enable and setup recycle bin. Just setup the file manually once and you're set going forward.

 

Thanks BRiT, can you assist with some instructions on how to set up this manually?  Are you using it this way?

 

The 4th post in this very thread explains how.

 

smb-extra.conf

 

Link to comment

I have a beta test version ready for 6.1.  Can someone try it out for me?  I'm going to give it a try on 6.0.1, but I'm not confident it will work for that version.  For now 6.1 only.

 

I have not checked out any of the cron functions like weekly trash empty.  I'll check that out now to see if the cron events are set properly.

 

Use this link to load the plugin in the "Install Plugin" tab:

https://github.com/dlandon/vfs_recycle/raw/master/vfs_recycle.plg

 

Once I get some feedback and I am confident that it is working, I will start a new post about this updated version.

 

I actually like this plugin and can see some real advantages for unRAID.  I have deleted files before that I really didn't want to.

Link to comment

I've tested it and it loads up just fine and items do go to the RecycleBin folder. The Empty Trash button within the plugin does not work though.

 

It works for me.  Did you have the previous plugin installed?  You should probably remove the plugin, reboot and then re-install the plugin.  The old plugin dod not do a good job of cleaning up after itself.

Link to comment

Remove the plugin again and start a telnet session and verify that there is not a /mnt/user/.Recycled.Bin directory.  Check it by using the ls -l .Recycled.Bin command.  If it is there, remove it with 'rm -f /mnt/user/.Recycled.Bin.  If it is left over from the previous plugin, the permissions are probably causing a problem.  Be sure the /boot/config/plugins/vfs_recycle directory is also removed and try again.  Make sure that the old plugin is manually removed from the /boot/plugins directory.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.