#1  
Old 21st July 2008, 15:11
bolero bolero is offline
Senior Member
 
Join Date: Apr 2008
Posts: 114
Thanks: 2
Thanked 8 Times in 8 Posts
Default Possible Bug with Web Creation

One of my customers may just have stumbled over a bug. He's migrating from an old Confixx system to ISPConfig and currently setting up all his clients and webs in ISPConfig. He used to add a customer and then create a new web via "Web neu". This single time he added the customer, did *not* save and then clicked "Web Verwaltung" in the same tab group (so, he didn't "go out" and back in) and created the web. When he comes to the step of adding users he finds that the user starts with web12, although the last web he created was web10.
I checked his ispconfig.log and, indeed, a web11 is mentioned nowhere. It jumps right from web10 to web12. It's absolutely sure that web11 was *not* deleted, it didn't ever exist!
It looks like ISPConfig accidentally "jumped" over one webid when he went on with "Web Verwaltung" on the same tab group after he created that new customer.
I wasn't eager to try to reproduce it, so I didn't ;-) But that's the best from the customer as a possible explanation of what happened. That missing web11 has indeed never been created!
This is with version 2.2.24.

Last edited by bolero; 21st July 2008 at 15:25. Reason: feedback from customer about exact steps
Reply With Quote
Sponsored Links
  #2  
Old 21st July 2008, 15:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

The web numbers are set by mysql auto increment values automatically and are not under control of ISPConfig. You dont have to click on save when you create a client and then a website, so the way he created the site is fine.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st July 2008, 15:59
bolero bolero is offline
Senior Member
 
Join Date: Apr 2008
Posts: 114
Thanks: 2
Thanked 8 Times in 8 Posts
Default

I know that it should be fine and I also know that the numbers are done by increment (I asked you about that one or two weeks ago :-). The point is that after web10 web12 got created. As I said there is no trace of a "web11" in ispconfig.log. If it would have ever existed it should have been logged there, shouldn't it? So, how did it come that it jumped from 10 to 12?
Reply With Quote
  #4  
Old 21st July 2008, 19:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

As I posted above, the incremet is done by mysql and not ispconfig. So if mysql used number 12 instead of 11, there is of course nothing in the ispconfig.log about number 11.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 21st July 2008, 19:33
bolero bolero is offline
Senior Member
 
Join Date: Apr 2008
Posts: 114
Thanks: 2
Thanked 8 Times in 8 Posts
Default

So, you think this was some kind of "hickup" in mysql? I haven't ever seen this before (mysql auto-incrementing to wrong value.)
Reply With Quote
  #6  
Old 21st July 2008, 19:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

I've never seen this before too, and I'am working with many ISPConfig installations daily. ISPConfig has no direct influence on this number.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 21st July 2008, 20:05
bolero bolero is offline
Senior Member
 
Join Date: Apr 2008
Posts: 114
Thanks: 2
Thanked 8 Times in 8 Posts
Default

I tried to repro it on my demo server with the steps the client had given, but I can't. Weird. Is there a chance that if a web gets created and deleted right-away that it makes it only to the recycle bin, but not to the disk (and not to ispconfig.log)? Or is this impossible?
Reply With Quote
  #8  
Old 23rd July 2008, 19:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
 
Default

If a web is created an deleted right away, there will be an entry in the ispconfig.log. The web would be in the database in this case until the recycle bin is emptied and the recycle bin can not be emptied before the entry is processed by the backend script. So there would be a entry in ispconfig.log in this case as the backend script always loggs these actions.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
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
Virtual Users And Domains With Postfix, Courier And MySQL (mail not relaying) RinoM1 Server Operation 1 12th November 2006 15:31
Mail using postfix receive but cannot send garfabian Installation/Configuration 17 2nd September 2006 13:55


All times are GMT +2. The time now is 02:30.


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