Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 22nd July 2007, 20:07
bpmee bpmee is offline
Join Date: Aug 2006
Posts: 86
Thanks: 3
Thanked 7 Times in 6 Posts
Question Remoting on 2.3.1-dev: Is there a command to empty Recycle Bin?

Hi All,

I'm using ISPconfig 2.3.1-dev on Fedora Core 5 on a test server.

I've been experimenting with Remoting, using the various functions to add websites and DNS records.

I wrote a PERL script that uses SOAP::Lite to automatically add websites and DNS records.

After that I wanted to delete websites and DNS records with Remoting, so I wrote another PERL script to remove DNS and Website records.

I was able to delete *most* all of the website/user records successfully. Also, I was able to delete *most* all of the DNS records.

Upon inspecting each of my reseller's Recycle Bins after my script finished, I noticed there were some "left over" records that didn't delete even though my script sent the delete command.

A few users were left in the ISPmanagement panel, and in the DNS panel, many DNS "A" and "MX" records were left, but all had incomplete names: for example, all that was listed in the the recycle bin was: "mx" and "a" with no text indicating which website they belonged to.

I was able to clean up all these remaining records by manually emptying the recycle bin by clicking each reseller's recycle bin and then clicking "delete".

Is it possible to send a "empty recycle bin" command with Remoting, so that I don't have to do it manually after deleting webs and DNS records?

This might be more efficient than actually telling a script to delete each record one by one...

Thanks for any ideas!
Reply With Quote
Sponsored Links
Old 23rd July 2007, 07:42
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

A command to empty the recycle bin is not implemented yet. But your recycle bin may contain then thousands of records and it will not hurt your system as they are not included in the configuration anymore.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recycle bin stil stays in "currently in update state" radim_h General 6 20th March 2007 14:38
Recycle bin will not empty. begmarz Installation/Configuration 14 12th December 2006 11:51
Manually removing a mysql entry out of the recycle bin brainz Installation/Configuration 2 26th June 2006 07:05
Empty Recycle Bin jon335 General 40 6th May 2006 12:56
empty recycle bin + commit changes immediately Ovidiu General 10 18th January 2006 22:19

All times are GMT +2. The time now is 20:51.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.