
7th July 2008, 21:36
|
|
Senior Member
|
|
Join Date: Jun 2008
Location: Canary Islands, Spain, Europe, Planet Earth
Posts: 159
Thanks: 39
Thanked 0 Times in 0 Posts
|
|
how delete an domain and all its things
Can i delete a domain from admin account, i mean domain, folders, etc. phisically.
Thanks
|

7th July 2008, 21:41
|
|
Senior Member
|
|
Join Date: Jun 2008
Location: Canary Islands, Spain, Europe, Planet Earth
Posts: 159
Thanks: 39
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by rutame
Can i delete a domain from admin account, i mean domain, folders, etc. phisically.
Thanks
|
I asking to myself jejeje, yes .
|

7th July 2008, 23:02
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,071
Thanks: 697
Thanked 4,250 Times in 3,263 Posts
|
|
Empty the recycle bin.
|

8th July 2008, 16:35
|
|
Senior Member
|
|
Join Date: Apr 2008
Posts: 112
Thanks: 2
Thanked 4 Times in 4 Posts
|
|
I notice that when I delete a web the webid will not get reused even after emptying the recycle bin. Is there a single value in the ispconfig database where I can set this down? (I ask because we are going to transfer several servers from confixx and we want to keep the numbering scheme. Once in a while it may happen that we need to start over with a web because of wrong information typed in - in that case I would like to remove it and then reset the webid as well.)
|

9th July 2008, 15:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,601 Times in 2,450 Posts
|
|
This happens because the database tables use AUTO_INCREMENT for the doc_id column. You cannot change this.
|

9th July 2008, 17:49
|
|
Senior Member
|
|
Join Date: Apr 2008
Posts: 112
Thanks: 2
Thanked 4 Times in 4 Posts
|
|
Ah, right, thanks. I actually think you *can* change that. You can reset the auto_increment value in isp_isp_web and be done. I'll try that, thanks for the hint!
|
|
The Following User Says Thank You to bolero For This Useful Post:
|
|

10th July 2008, 14:58
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,601 Times in 2,450 Posts
|
|
Quote:
Originally Posted by bolero
Ah, right, thanks. I actually think you *can* change that. You can reset the auto_increment value in isp_isp_web and be done. I'll try that, thanks for the hint!
|
Yes, but you might mess up the database...
|

10th July 2008, 18:13
|
|
Senior Member
|
|
Join Date: Apr 2008
Posts: 112
Thanks: 2
Thanked 4 Times in 4 Posts
|
|
I might, yes.
|

11th July 2008, 01:39
|
|
Member
|
|
Join Date: Jun 2008
Posts: 34
Thanks: 5
Thanked 2 Times in 2 Posts
|
|
What you should do is run a bunch of queries to see what depends on that auto_increment column first before resetting it. That way you can fix any constraints while resetting. I'm not sure how mysql does it but postgresql stores all of its dependencies | foreign | primary keys in system tables which you can query.
|

11th July 2008, 19:01
|
|
Senior Member
|
|
Join Date: Apr 2008
Posts: 112
Thanks: 2
Thanked 4 Times in 4 Posts
|
|
Well, the point is that I want to remove a web in ISPConfig and decrement the auto_increment, so that the next web created gets the same web_id as the deleted web, so that the paths and users don't get out of sync with the old server. Once you remove a web within ISPConfig there should be *no* reference to it anywhere in the database. So it should be safe to set the auto_increment to the desired value. I just tested this. I removed alle customers and all webs and then reset the auto_increment value in each of the isp_isp_* tables either to 1 or to a value that made sense (if there was still a record in the table). I then tested by adding a few customers and domains. Works just fine and web started again from no. 1. So, if you know what you do it just works. Just in case one needs it ...
(falko, this is *not* the test setup where I have this bogus domain appearing - just in case you think I messed that with some kind of testing like this. ;-) That one is another testing setup and got only managed by adding and removing domains in ISPConfig and emptying the trash!)
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 10:36.
|
|
Recent comments
4 hours 26 min ago
9 hours 18 min ago
18 hours 10 min ago
19 hours 10 min ago
22 hours 57 min ago
1 day 11 min ago
1 day 3 hours ago
1 day 11 hours ago
1 day 19 hours ago
1 day 21 hours ago