#1  
Old 10th June 2010, 17:51
grungy grungy is offline
Senior Member
 
Join Date: Dec 2008
Posts: 167
Thanks: 15
Thanked 17 Times in 12 Posts
Default Ispconfig cache?

I have a server that runs ispconfig 3 - latest version but it was upgraded from when ispconfig was still unstable. Now I have some strange problems that occur only on this server. The other servers that were not upgraded from an unstable ispconfig versions do not have these problems.

Problems are with config files...some apache stuff still gets generated from the old config files and I can not find those fles in /usr/local/ispconfig

this is weird...where should I look...is there some cache?
Reply With Quote
Sponsored Links
  #2  
Old 10th June 2010, 19:15
vogelor vogelor is offline
ISPConfig Developer
 
Join Date: Jan 2007
Location: Wernau, Germany
Posts: 219
Thanks: 42
Thanked 34 Times in 24 Posts
Default

The master of the vhost.conf - file is located at
usr/local/ispconfig/server/conf
or
usr/local/ispconfig/server/conf-custom

hope, this helps
__________________
Der neue Luxus heißt Zeit, nicht Geld!

Firma : http://www.muv.com, http://www.computerandservice.de
Privat : http://www.vogelor.de
Reply With Quote
  #3  
Old 10th June 2010, 19:18
grungy grungy is offline
Senior Member
 
Join Date: Dec 2008
Posts: 167
Thanks: 15
Thanked 17 Times in 12 Posts
Default

I know about those files, they are correct but I guess there is some kind of caching. I just realized if you change the disk size for a domain about 20 times in a row the old config files get reloaded. Now all work fine and ispconfig accepts new apache template files.
Reply With Quote
  #4  
Old 10th June 2010, 19:55
grungy grungy is offline
Senior Member
 
Join Date: Dec 2008
Posts: 167
Thanks: 15
Thanked 17 Times in 12 Posts
Default

I had to manually edit the conf file, run /usr/local/ispconfig/server/server.sh several times and play with ispconfig in order for ispconfig to recognize the new config files.

strange...
Reply With Quote
  #5  
Old 10th June 2010, 21:17
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
Default

Quote:
I know about those files, they are correct but I guess there is some kind of caching.
There is no caching implemented in ISPConfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 2nd December 2010, 11:03
grungy grungy is offline
Senior Member
 
Join Date: Dec 2008
Posts: 167
Thanks: 15
Thanked 17 Times in 12 Posts
Default

I figured out what was the problem. For some reason, after you upgrade to a newer version of ispconfig, the apache vhost file for domains will not be upgraded based on new apache vhost template files that ship with new ispconfig version. To get the apache vhost config files updated I had to disable PHP for each domain, run /usr/local/ispconfig/server/server.sh manually then enable php in ispconfig for each domain and run /usr/local/ispconfig/server/server.sh again. This worked for most of the domains, not for all.

Is there a better way to force ispconfig to regenerate apache vhosts for all domains?
Reply With Quote
  #7  
Old 2nd December 2010, 11:27
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
Default

Running server.sh manually is not nescessary as this script is run automatically once a minute. Just change any value in the website settings and click save to regenerate the vhost file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 2nd February 2011, 13:59
grungy grungy is offline
Senior Member
 
Join Date: Dec 2008
Posts: 167
Thanks: 15
Thanked 17 Times in 12 Posts
 
Default

If you are having similar problems like me, the best way is to force ispconfig to create the apache config file from scratch, is by disabling PHP from ispconfig, then removing the vhost by hand and enabling PHP from ispconfig.
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
ISPConfig after installation CoDonCo Installation/Configuration 46 14th July 2010 17:54
ISPConfig 3.0.1 released till General 36 29th March 2009 15:30
ISPConfig kill apache and ports, not work ISPconfig JaBa Installation/Configuration 8 19th March 2009 18:51
fastcgi and php with ispconfig tosser Installation/Configuration 14 18th January 2009 14:41
fastcgi and php with ispconfig tosser Tips/Tricks/Mods 3 25th June 2006 22:01


All times are GMT +2. The time now is 21:40.


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