Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st November 2011, 15:42
browngb browngb is offline
Member
 
Join Date: Dec 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default Stop overwriting config files on ISPconfig update

The last few times I've updated my ISPconfig3 using the update.sh or the button in the control panel, it has overwritten my dovecot.conf, main.cf and ispconfig.vhost. This has been a problem for me as it breaks my SSL which brings down the control panel and all email (or anything accessed by SSL). I'm sure this isn't the intended functionality, so what am I doing wrong? Is there a way to exclude these files from being overwritten?
Reply With Quote
Sponsored Links
  #2  
Old 21st November 2011, 15:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
Default

The updater asks you if services shall be reconfigured or not, if you choose no, then no config files get overwritten. But you should be aware that functions might stop working when you choose no and you have to compare every config file manually with the templates delivered by ISPConfig to make your system compatible with the new release. Also new functions wont work if you use incompatible config files.

Quote:
This has been a problem for me as it breaks my SSL which brings down the control panel and all email (or anything accessed by SSL).
Most likely you added incompatible changes in these files then, e.g. used a wrong location or filename for the ssl certs in the ispconfog vhost so that the updater cant find your files.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th November 2011, 22:45
browngb browngb is offline
Member
 
Join Date: Dec 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Most likely you added incompatible changes in these files then, e.g. used a wrong location or filename for the ssl certs in the ispconfog vhost so that the updater cant find your files.
So ISPConfig should be comparing my config file versus the template and copy over anything custom, if I've configured it correctly?

My ispconfig.vhost file is just like the template, except for SSL info changed to my info.

Is there a way for the updater to report what config files it overwrote so I can go back and manually update them?
Reply With Quote
  #4  
Old 28th November 2011, 22:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
 
Default

Quote:
So ISPConfig should be comparing my config file versus the template and copy over anything custom, if I've configured it correctly?

My ispconfig.vhost file is just like the template, except for SSL info changed to my info.
ISPConfig checks if the required ssl config files exist in the ispconfig ssl directory. If they are there, then ssl gets enabled, otherwise ssl is disabled. If you put your config files in a different directory or give them a different name, then ispconfig can not find them and ssl gets disabled.

Quote:
Is there a way for the updater to report what config files it overwrote so I can go back and manually update them?
All config files for services that are configured by ispconfig get modified on an update to make them compatible with the new ispconfig release. ISPConfig stores a copy if the files with ~ appended to the filename where possible.
__________________
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
monitrc configuration for Debian ISPConfig 3 server Hans Tips/Tricks/Mods 2 27th March 2011 23:22
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
Suse Ispconfig and AWstats shajazzi Installation/Configuration 4 15th May 2006 23:04
Problem with the apache (I can't start ist) M.Behrens Installation/Configuration 11 31st March 2006 10:48


All times are GMT +2. The time now is 03:55.


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