Current time: 12-23-2024, 09:13 PM Hello There, Guest! (LoginRegister)


Post Reply 
How To upgrade Debian Etch do Lenny z ISPCP
Author Message
Alex Joe Offline
Junior Member
*

Posts: 72
Joined: Oct 2007
Reputation: 0
Post: #3
English version How To upgrade Debian Etch to Lenny with ISPCP
Quote:Hello Alex,

could you please translate your HowTo in englisch for the rest of the ispCP community?

would be very helpful.. Smile

greetings
xister

That's it (sorry, my English is very poor):

A bit in this topic so I fought I will share with the community, I hope that he will be useful to somebody.

And so we are starting!

About backups I don't think so I must recall Smile (I fought with mistakes in one night - didn't leave, fast return to the previous version, upgrade only in 100 % the second time round how I found a solution to everyone to mistakes, time somewhere 4 hours to the functionality full of the reinstatement)

1. at first charge and install all possible alterations to the current system (etch) - in sources you have the condition entries etch rather than stable (because stable it already lenny and etch old-stable)

Quote:deb http://ftp.man.poznan.pl/pub/linux/debian/debian/ etch main contrib non-free
deb-src http://ftp.man.poznan.pl/pub/linux/debian/debian/ etch main contrib non-free

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free

deb http://www.backports.org/debian etch-backports main contrib non-free

Code:
apt-get update && apt-get upgrade

2. we are changing in sources apta entries around etch to lenny

Code:
vim /etc/apt/sources.list

Quote:deb http://ftp.man.poznan.pl/pub/linux/debian/debian/ lenny main contrib non-free
deb-src http://ftp.man.poznan.pl/pub/linux/debian/debian/ lenny main contrib non-free

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

deb http://www.backports.org/debian lenny-backports main contrib non-free

3. we are taking new informations about sources Lenny

Code:
apt-get update

4. we are installing dpkg and apt latest versions, because versions from Etch won't advise themselves around upgrade to Lenny

Code:
apt-get install dpkg apt

5. we are doing the small pace - minimal upgrade of the system - for every to be in a hurry, at this stage for us possible mistakes to which we must face up will already work.

Code:
apt-get upgrade

And here a party is beginning. Be from this moment very vigilant and prudent. During upgrade of individual services, where the exchange of configuration files will be taking place think twice what version configs to choose - whether to overwrite old, whether also to leave and write then changes resulting from differences between versions of system. Of course after the whole process you will have both versions of files, since dpgk is leaving overwrite files 'old' in the name or, if you decide not to overwrite he is leaving the configuration file proposed by developers around 'new' in the name. Issue so of choice, where less hammering will be Smile

6. After the preliminary upgrade we are doing the full upgrade :

Code:
apt-get dist-upgrade

7. After the ending
Code:
reboot
- unless you had postgresql, then read this post to end and reboot doing after the upgrading postgresql.

8. Mistakes and how with them I advised myself .

Error 500 on pages and errors on logging pages ISPCP
After restart Apache error
Quote:Warning: SuexecUserGroup directive requires SUEXEC wrapper.

and what's more a dozen or so times .

solution: reinstall suexec and restart Apache

Code:
apt-get install apache2-suexec
/etc/init.d/apache2 restart

If you had postgresql it most probably 7.4 version (last in official sources of Etch Debian) - into Lenny what as a matter of fact for you earlier the fitter will show at upgrade of the system, this version isn't backed up and exchanged for 8.3

We are erasing placing the latest version (as of today 8.3)

Code:
pg_dropcluster --stop 8.3 main

Upgrade configs of the old version:

Code:
pg_upgradecluster 7.4 main

Restart postgresql, we are checking whether he is acting and we can delete of placing the old version:

Code:
pg_dropcluster --stop 7.4 main

and all of the old version postgresql

Code:
apt-get remove postgresql-7.4

and the old client:

Code:
apt-get remove postgresql-client-7.4

and now
Code:
reboot

If earlier you did the change fastcgi on fcgid or inversely, don't forget to exclude it of one of these modules, since at upgrade both included modules are staying Apache.

Fortunately more problems weren't, and from the functioning of the new lorry I am satisfied. Smile

If you had some problems - write on the forum, not on PW and not to the mail - let other will also use it!

I am greeting from the new platform Debian Lenny Smile

Best regards from Poland,

Alex Joe
(This post was last modified: 04-29-2009 04:08 PM by Alex Joe.)
04-29-2009 04:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
English version How To upgrade Debian Etch to Lenny with ISPCP - Alex Joe - 04-29-2009 04:06 PM

Forum Jump:


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