Koozali.org: home of the SME Server

some questions about the RecycleBin contrib

Offline SoftDux

  • *****
  • 240
  • +0/-0
    • http://www.SoftDux.com
some questions about the RecycleBin contrib
« 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?

Offline raem

  • *
  • 3,972
  • +4/-0
Re: some questions about the RecycleBin contrib
« Reply #1 on: March 27, 2008, 11:47:43 AM »
...

Offline SoftDux

  • *****
  • 240
  • +0/-0
    • http://www.SoftDux.com
Re: some questions about the RecycleBin contrib
« Reply #2 on: March 27, 2008, 04:32:23 PM »
Thanx :)

Offline groyk

  • ****
  • 140
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #3 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!!  :-?

Offline e[nt]e

  • *
  • 172
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #4 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?
1984 wasn't meant to be a manual.

Offline groyk

  • ****
  • 140
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #5 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!

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #6 on: June 29, 2008, 01:09:02 PM »
groyk

Look here instead

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

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline groyk

  • ****
  • 140
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #7 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! :-(

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #8 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

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline groyk

  • ****
  • 140
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #9 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

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #10 on: June 29, 2008, 06:52:21 PM »
groyk

As already asked, what is the output of:

db accounts show ipcam
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #11 on: June 29, 2008, 06:54:36 PM »
groyk

What version sme are you running ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #12 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
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline groyk

  • ****
  • 140
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #13 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!

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #14 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 ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline groyk

  • ****
  • 140
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #15 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





Offline janet

  • *****
  • 4,812
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #16 on: June 30, 2008, 02:35:10 PM »
groyk

Lodge a bug report at bugzilla
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline groyk

  • ****
  • 140
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #17 on: July 22, 2008, 02:05:36 PM »
How do I do that?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #18 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/
« Last Edit: July 22, 2008, 02:17:21 PM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline groyk

  • ****
  • 140
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #19 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!!

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: some questions about the RecycleBin contrib
« Reply #20 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?

Offline groyk

  • ****
  • 140
  • +0/-0
Re: some questions about the RecycleBin contrib
« Reply #21 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

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: some questions about the RecycleBin contrib
« Reply #22 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)