Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: SoftDux on March 27, 2008, 11:11:28 AM

Title: some questions about the RecycleBin contrib
Post by: SoftDux on March 27, 2008, 11:11:28 AM
Hi

I have some questions about the RecycleBin contrib, http://wiki.contribs.org/RecycleBin

According to the wiki, I should run the following command:

Quote
db accounts setprop data RecycleBin enabled
signal-event ibay-modify data

data is an ibay on my server. However when I run those commands, I don't actually see the RecycleBin in \\intranet\data - am I supposed to see it?
Title: Re: some questions about the RecycleBin contrib
Post by: raem on March 27, 2008, 11:47:43 AM
SoftDux

I updated the article
http://wiki.contribs.org/RecycleBin#Solution
Title: Re: some questions about the RecycleBin contrib
Post by: SoftDux on March 27, 2008, 04:32:23 PM
Thanx :)
Title: Re: some questions about the RecycleBin contrib
Post by: groyk on June 28, 2008, 09:50:24 PM
SoftDux

I updated the article
http://wiki.contribs.org/RecycleBin#Solution

I am having the exact same problem. Where should i find the recycle bin?

I expect it should be in "/home/e-smith/files/ibays/IbayName/RecycleBin"

Can't find it. Maybe I am looking the wrong place!!  :-?
Title: Re: some questions about the RecycleBin contrib
Post by: e[nt]e on June 28, 2008, 10:00:11 PM
If you have the exact same problem it actually shouldn't be a problem as SoftDux apparently solved his problem.
Did you delete a file after enabling the RecycleBin and before looking for the folder?
Title: Re: some questions about the RecycleBin contrib
Post by: groyk on June 29, 2008, 09:20:13 AM
If you have the exact same problem it actually shouldn't be a problem as SoftDux apparently solved his problem.
Did you delete a file after enabling the RecycleBin and before looking for the folder?

Yes I have tried deleting files in the Ibay and then look for the RecycleBin. But it's not there!
Title: Re: some questions about the RecycleBin contrib
Post by: janet on June 29, 2008, 01:09:02 PM
groyk

Look here instead

/home/e-smith/files/ibays/ibayname/files/Recycle Bin

Title: Re: some questions about the RecycleBin contrib
Post by: groyk on June 29, 2008, 03:43:48 PM
groyk

Look here instead

/home/e-smith/files/ibays/ibayname/files/Recycle Bin



Can't find it there either! :-(
Title: Re: some questions about the RecycleBin contrib
Post by: janet on June 29, 2008, 06:37:55 PM
groyk

Please provide the exact commands you used to enable the Recycle Bin

For the ibay used above, show the output of
db accounts show ibayname

Title: Re: some questions about the RecycleBin contrib
Post by: groyk on June 29, 2008, 06:49:10 PM
groyk

Please provide the exact commands you used to enable the Recycle Bin

For the ibay used above, show the output of
db accounts show ibayname



db accounts setprop ipcam RecycleBin enabled
signal-event ibay-modify ipcam
Title: Re: some questions about the RecycleBin contrib
Post by: janet on June 29, 2008, 06:52:21 PM
groyk

As already asked, what is the output of:

db accounts show ipcam
Title: Re: some questions about the RecycleBin contrib
Post by: janet on June 29, 2008, 06:54:36 PM
groyk

What version sme are you running ?
Title: Re: some questions about the RecycleBin contrib
Post by: janet on June 29, 2008, 07:10:21 PM
groyk

Quite a few forum posts say this is required

db accounts setprop ibayname RecycleBin enabled
db accounts setprop ibayname KeepVersions enabled
signal-event ibay-modify ibayname
Title: Re: some questions about the RecycleBin contrib
Post by: groyk on June 29, 2008, 07:58:38 PM
groyk

Quite a few forum posts say this is required

db accounts setprop ibayname RecycleBin enabled
db accounts setprop ibayname KeepVersions enabled
signal-event ibay-modify ibayname


Hi

db accounts show ibayname
ipcam=ibay
    CgiBin=disabled
    Gid=5004
    Group=mp_cam
    Name=Kamera
    PasswordSet=yes
    PublicAccess=global
    RecycleBin=enabled
    Uid=5004
    UserAccess=wr-group-rd-everyone

The system is 7,3 with all updates.

I have tried the tree commands you wrote, but it aint working!
Title: Re: some questions about the RecycleBin contrib
Post by: janet on June 30, 2008, 07:04:02 AM
groyk

Quote
ipcam=ibay
    CgiBin=disabled
    Gid=5004
    Group=mp_cam
    Name=Kamera
    PasswordSet=yes
    PublicAccess=global
    RecycleBin=enabled
    Uid=5004
    UserAccess=wr-group-rd-everyone

You don't appear to have the KeepVersions entry, so I suggest you redo all those commands

db accounts setprop ipcam RecycleBin enabled
db accounts setprop ipcam KeepVersions enabled
signal-event ibay-modify ipcam

and then show the output of

db accounts show ipcam


Also you say "it aint working!"

You need to be more explicit about what you are doing and what doesn't work.
Please give all steps you do eg every click !

> Yes I have tried deleting files in the Ibay and then look for the RecycleBin. But it's not there!

How are you actually deleting the file, in Windows via samba file sharing ?
Title: Re: some questions about the RecycleBin contrib
Post by: groyk on June 30, 2008, 01:11:47 PM
groyk

You don't appear to have the KeepVersions entry, so I suggest you redo all those commands

db accounts setprop ipcam RecycleBin enabled
db accounts setprop ipcam KeepVersions enabled
signal-event ibay-modify ipcam

and then show the output of

db accounts show ipcam


Also you say "it aint working!"

You need to be more explicit about what you are doing and what doesn't work.
Please give all steps you do eg every click !

> Yes I have tried deleting files in the Ibay and then look for the RecycleBin. But it's not there!

How are you actually deleting the file, in Windows via samba file sharing ?


Now i've tried all the commands again. And I get the properties KeepVersions enabled

I am deleting files throug a samba share on WinXP

And I still can't see the recycle bin.

I have looked in the Sambashare under files/

And in /home/e-smith/files/ibays/ipcam/files




Title: Re: some questions about the RecycleBin contrib
Post by: janet on June 30, 2008, 02:35:10 PM
groyk

Lodge a bug report at bugzilla
Title: Re: some questions about the RecycleBin contrib
Post by: groyk on July 22, 2008, 02:05:36 PM
How do I do that?
Title: Re: some questions about the RecycleBin contrib
Post by: janet on July 22, 2008, 02:14:37 PM
groyk

Go here (there is a link at the top of these Forums)

http://bugs.contribs.org/
Title: Re: some questions about the RecycleBin contrib
Post by: groyk on July 22, 2008, 02:17:32 PM
Hi Marry

Thank you.

But suddently i think I've found the problem. I have to unmount the share and mount it again in order to get it work!

Now it is working!!
Title: Re: some questions about the RecycleBin contrib
Post by: mercyh on July 22, 2008, 02:55:12 PM
Quote
I have to unmount the share and mount it again in order to get it work!

If this is standard behavior, it should be in the how-to. I don't remember this from when I set it up but it has been a while. Does anyone know if this is normally required?
Title: Re: some questions about the RecycleBin contrib
Post by: groyk on July 23, 2008, 07:10:58 AM
Why isn't there an contrib / addon for this RecycleBin "problem"

I think most users need the RecycleBin somware on their server.

It would be great if it was an option when you created new Ibays/Users to select if the recycle bin should be enabled or disabled
Title: Re: some questions about the RecycleBin contrib
Post by: cactus on July 23, 2008, 07:32:49 AM
Why isn't there an contrib / addon for this RecycleBin "problem"

I think most users need the RecycleBin somware on their server.

It would be great if it was an option when you created new Ibays/Users to select if the recycle bin should be enabled or disabled
I do not see the need for an contrib to implement this, it is a feature of e-smith-ibays already, but not in the server-manager to keep things a bit cleaner in the interface, there are lots of hidden gems unde the SME Server bonnet that are not exposed to the server-manager (as most of them are one-time only command line changes).
The goal is to keep the server-manager clean and useful to a lot of users, not spoiling them with all the options one might use every now and then.