Current time: 05-07-2024, 02:51 AM Hello There, Guest! (LoginRegister)


Post Reply 
Upgrading from nightly?
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Upgrading from nightly?
Hi guys

the daemon (/var/www/ispcp/daemon) is updated too - but not the config files, not the database, and not the tpl files...

So, I add here some line to complete the step (it can be found already somewehere in other posts).

First: it's best to keep a copy of the installed ispcp version (eg. th /tmp/ispcp folder is a good idea) so you can compare the database structur for example...
If you don't have this, you can make a new one just do the step "make install" this will create the /tmp/ispcp flder with all needed files - keep this old version until the update step is done completely - then keep the new one :-) -> move it out of /tmp ...

Ok, there are also other files in the /tmp/ispcp you can copy over the original:
/usr/sbin/maillogconvert.pl
/etc/init.d/ispcp_*
/etc/ispcp/*/parts - you even could copy the whole /etc/ispcp over the original but keep your /etc/ispcp/ispcp.conf in a safe place!!!! and also the files in the /etc/ispcp/*/working/ folders.
for the ispcp.conf file you need to compare the "original versions" (see above) what has been added/changed/removed - there are several ways to do that...

Also do a compare of the other files in /tmp/ispcp/etc/ (except the parts/*) and update the actual real files (where the {...} placeholders are replaced) manually:

/etc/apache2/mods-available/fastcgi_ispcp.conf
/etc/apache2/sites-avalilable/00_master.conf + 01_awstats.conf
/etc/cron.d/ispcp
/etc/logrotate.d/ispcp
/etc/courier: in older releases ispcp replaced 5 files here (authdaemonrc, authmodulelist, imapd, pop3d, userdb) - we changed this so you can restore the original files (from the copy of /etc before installing ispcp but after installing all needed packages :-): authdaemonrc, authmodulelist, imapd, pop3d (not the userdb!!!), just change the authdaemonrc so that one line expands to
Code:
authmodulelist="authuserdb authpam"
Do also a compare of the postfix files: main.cf and master.cf and proftpd.conf
Maybe there are changes in the bind/named configuration

And the database file: as stated above: compare them and update your live db manually.

So, with some updates you will get some training... I think it's really a good start if you can see the differences of the old and new /tmp/ispcp/etc/* trees.

But I see: it's not a job for people who don't know what the files are meaning...

/J
(This post was last modified: 04-19-2008 07:55 PM by joximu.)
04-19-2008 07:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Upgrading from nightly? - genesisrage - 04-19-2008, 12:30 PM
RE: Upgrading from nightly? - BioALIEN - 04-19-2008, 01:09 PM
RE: Upgrading from nightly? - genesisrage - 04-19-2008, 01:18 PM
RE: Upgrading from nightly? - joximu - 04-19-2008 07:54 PM
RE: Upgrading from nightly? - BioALIEN - 04-19-2008, 09:38 PM
RE: Upgrading from nightly? - joximu - 04-19-2008, 10:23 PM
RE: Upgrading from nightly? - genesisrage - 04-20-2008, 07:27 AM
RE: Upgrading from nightly? - joximu - 04-20-2008, 09:13 AM
RE: Upgrading from nightly? - genesisrage - 04-20-2008, 11:19 AM
RE: Upgrading from nightly? - joximu - 04-20-2008, 08:17 PM
RE: Upgrading from nightly? - genesisrage - 04-21-2008, 03:18 AM
RE: Upgrading from nightly? - joximu - 04-21-2008, 04:07 AM
RE: Upgrading from nightly? - genesisrage - 04-21-2008, 10:05 AM
RE: Upgrading from nightly? - joximu - 04-21-2008, 06:11 PM
RE: Upgrading from nightly? - genesisrage - 04-21-2008, 08:05 PM
RE: Upgrading from nightly? - joximu - 04-21-2008, 08:35 PM
RE: Upgrading from nightly? - hxbro - 04-26-2008, 12:44 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)