#1  
Old 29th July 2010, 15:40
ustoopia ustoopia is offline
Junior Member
 
Join Date: Dec 2006
Location: Netherlands
Posts: 19
Thanks: 4
Thanked 0 Times in 0 Posts
Default reset web id

I was wondering if it is somehow possible to reset the web id's in ispconfig 3.

Reason I'm curious is because I've removed all webs on my ispconfig machine and when I create a new web it will continue counting the id's while all the previous ones don't exist anymore.
Reply With Quote
  #2  
Old 29th July 2010, 16:32
ustoopia ustoopia is offline
Junior Member
 
Join Date: Dec 2006
Location: Netherlands
Posts: 19
Thanks: 4
Thanked 0 Times in 0 Posts
Default

I've been thinking about this and I thought this can perhaps be reset in the ispconfig database but I'm not sure where to look exactly. The only thing I could find so far is in:

dpispconfig > web_domain > domain_id

Is this correct? And if so, what can I do here (using phpmyadmin) to reset the web id's?
Reply With Quote
  #3  
Old 29th July 2010, 16:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 23,158
Thanks: 394
Thanked 2,358 Times in 1,757 Posts
Default

Quote:
Is this correct? And if so, what can I do here (using phpmyadmin) to reset the web id's?
Yes, thats correct. You can reset the ID with phpmyadmin if you removed all sites and also depending records like FTP / shell users od these websites.
__________________
Till Brehm
--
http://www.projektfarm.com/en/
Reply With Quote
  #4  
Old 29th July 2010, 22:41
ustoopia ustoopia is offline
Junior Member
 
Join Date: Dec 2006
Location: Netherlands
Posts: 19
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Yes, thats correct. You can reset the ID with phpmyadmin if you removed all sites and also depending records like FTP / shell users od these websites.
After some trial and error I managed to reset the id's. First I kept trying to reset them by setting AUTO_INCREMENT to 0 but this didnt work. AUTO_INCREMENT has to be changed to 1 and then you will start with web id 1 when creating a new website.

Thanks for the answer Till
Reply With Quote
  #5  
Old 30th July 2010, 00:41
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 235
Thanks: 35
Thanked 11 Times in 8 Posts
Default

Just remember, and correct me if I'm wrong anyone, you'll only get one chance at reseting the ids as once you have a production site you won't be able to easily get back to web1 as it's auto incrementation
Reply With Quote
Reply

Bookmarks

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
web folder privileges are getting reset by ISPConfig wpwood3 Installation/Configuration 3 29th March 2010 22:59
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Reset Web stats for site The General General 3 12th April 2007 14:29
Problems with the virtual email system with postfix, courier,mysql Greg Parker HOWTO-Related Questions 3 3rd January 2007 17:59
get thousands of "Mailsize" mails from own server torusturtle Installation/Configuration 20 24th December 2006 14:51


All times are GMT +2. The time now is 09:19.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Sponsored Links: Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com

One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com

One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com

One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com

One number. one voicemail. Seize the lead with Sprint. Learn more

AT&T Synaptic Compute as a Service. Boost your power on demand.

Trial: IBM Cognos Express Reporting, Analysis & Planning

Learn benefits of Simpana software.
View the Gartner Video

Sprint 4G - The Ultimate Mobile Broadband
Click here

SAP-Business Objects Crystal Reports Server
Complete reporting without hidden costs. Free Trial