
7th January 2011, 13:19
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
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.
|

7th January 2011, 17:00
|
|
Member
|
|
Join Date: Sep 2009
Posts: 66
Thanks: 9
Thanked 5 Times in 5 Posts
|
|
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?
|

7th January 2011, 18:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
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.
|

8th January 2011, 00:07
|
|
Junior Member
|
|
Join Date: Jan 2009
Posts: 24
Thanks: 6
Thanked 6 Times in 5 Posts
|
|
Quote:
Originally Posted by autogun
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
|

8th January 2011, 21:44
|
|
Senior Member
|
|
Join Date: Jul 2010
Posts: 123
Thanks: 5
Thanked 0 Times in 0 Posts
|
|
Reconfigure Permissions in master database? (yes,no) [no]:
i put yes or no ?
|

9th January 2011, 14:16
|
|
Senior Member
|
|
Join Date: Jul 2006
Posts: 121
Thanks: 16
Thanked 7 Times in 6 Posts
|
|
Quote:
Originally Posted by till
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
|

9th January 2011, 14:28
|
|
Senior Member
|
|
Join Date: Jul 2006
Posts: 121
Thanks: 16
Thanked 7 Times in 6 Posts
|
|
Quote:
Originally Posted by till
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
Why does updating ISPconfig always change my main.cf from postfix?
|
edge, what was the behaviour in your case? Overwrite or change?
|

10th January 2011, 10:19
|
|
Moderator
|
|
Join Date: Jul 2006
Posts: 1,016
Thanks: 7
Thanked 56 Times in 51 Posts
|
|
Quote:
Originally Posted by Davide
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.
|

10th January 2011, 12:55
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
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.
|

10th January 2011, 12:56
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
Quote:
Originally Posted by 007007
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 10:19.
|
Recent comments
7 hours 55 min ago
12 hours 54 min ago
14 hours 20 min ago
15 hours 13 min ago
16 hours 56 min ago
21 hours 20 min ago
22 hours 12 min ago
1 day 25 min ago
1 day 13 hours ago
1 day 15 hours ago