Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 7th January 2011, 13:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

We can do this someone is willing to write these info texts for every new ispconfig version before it gets released based on the changelogs of the svn repository.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #12  
Old 7th January 2011, 17:00
autogun autogun is offline
Member
 
Join Date: Sep 2009
Posts: 69
Thanks: 9
Thanked 5 Times in 5 Posts
Default

I've done some modifications to files:
/usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php
/usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php

Now after upgrading to 3.0.3.2 files are back to original. This is perfectly understandable but my question is, is there a way I can add piece of code so it wont be overwritten on upgrades?
Reply With Quote
  #13  
Old 7th January 2011, 18:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

Quote:
Now after upgrading to 3.0.3.2 files are back to original. This is perfectly understandable but my question is, is there a way I can add piece of code so it wont be overwritten on upgrades?
Yes. Instead of modifying the modules and plugins that come with ispconfig, create your own custom plugins and attache them to the same events. So they get executed after the ispconfig plugin gets executed.

If you think your changes might be useful for others as well, then you can propose them for inclusion into the main ispconfig code e.g. by posting them in the developer forum.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #14  
Old 8th January 2011, 00:07
akamarinos akamarinos is offline
Junior Member
 
Join Date: Jan 2009
Posts: 24
Thanks: 6
Thanked 6 Times in 5 Posts
Default

Quote:
Originally Posted by autogun View Post
is there a way I can add piece of code so it wont be overwritten on upgrades?
as a solution to cpanel automatic updates I use chattr
I believe it will work with ispconfig updates as well
try it and keep us informed
Code:
# chattr -V +i /path/to/file
# chattr -V -i /path/to/file
Reply With Quote
  #15  
Old 8th January 2011, 21:44
007007 007007 is offline
Senior Member
 
Join Date: Jul 2010
Posts: 139
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Reconfigure Permissions in master database? (yes,no) [no]:

i put yes or no ?
Reply With Quote
  #16  
Old 9th January 2011, 14:16
Davide Davide is offline
Senior Member
 
Join Date: Jul 2006
Posts: 123
Thanks: 16
Thanked 9 Times in 8 Posts
Default

Quote:
Originally Posted by till View Post
We can do this someone is willing to write these info texts for every new ispconfig version before it gets released based on the changelogs of the svn repository.
I think Ben means simply make a diff on changed system configuration files as Debian apt(itude) do

It would be really useful
Reply With Quote
  #17  
Old 9th January 2011, 14:28
Davide Davide is offline
Senior Member
 
Join Date: Jul 2006
Posts: 123
Thanks: 16
Thanked 9 Times in 8 Posts
Default

Quote:
Originally Posted by till View Post
ISPConfig changes the configuration of services only when you select "y" for the question "Reconfigure services" during update. If you select no, then no config files will be changed.
Only a question

Will it *overwrite* them, or will change/add/delete lines?

I ask, because I have selected to "reconfigure services", my main.cf is modified by me, and my added lines were not changed/deleted.

Is this normal?

Quote:
Originally Posted by edge View Post
Why does updating ISPconfig always change my main.cf from postfix?
edge, what was the behaviour in your case? Overwrite or change?
Reply With Quote
  #18  
Old 10th January 2011, 10:19
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Quote:
Originally Posted by Davide View Post
I think Ben means simply make a diff on changed system configuration files as Debian apt(itude) do

It would be really useful
Jupp that's wha I meant.
Reply With Quote
  #19  
Old 10th January 2011, 12:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

Quote:
I ask, because I have selected to "reconfigure services", my main.cf is modified by me, and my added lines were not changed/deleted.

Is this normal?
Yes. As ispconfig modidfys only the parameters with postconf that it needs to administer to work correctly.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #20  
Old 10th January 2011, 12:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
 
Default

Quote:
Originally Posted by 007007 View Post
Reconfigure Permissions in master database? (yes,no) [no]:

i put yes or no ?
If you have a multiserver system, then yes. If you have a single server system, then no.
__________________
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
ISPConfig 3.0.3 released till General 52 2nd December 2010 17:24
ISPConfig 3.0.2.2 released till General 45 5th September 2010 17:58
ISPConfig 3.0.1 released till General 36 29th March 2009 14:30
ISPConfig 3.0.0.6 Beta released till General 38 21st September 2008 19:15
ISPConfig 2.3.3-dev released till General 10 12th March 2008 21:08


All times are GMT +2. The time now is 17:22.


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