Help - Search - Members - Calendar
Full Version: Upgrading Plesk 7.1.4 > 7.5.2
The Planet Forums > Control Panels > Plesk
belyi
Can somebody help me with plesk upgrading.
I have plesk 7.5.2 rpms. What should I do first of all ?
What about license key ?
JohnH
i have been trying for a couple of days now. jsut will not work, keeps giving me errors and then i have to put in tickets to restore the databases. i am at a loss too, so hopefully, someone can post something usefull here
JLChafardet
QUOTE (JohnH)
i have been trying for a couple of days now. jsut will not work, keeps giving me errors and then i have to put in tickets to restore the databases. i am at a loss too, so hopefully, someone can post something usefull here


First of all

if your servers are brand new ones (no domain hosted) request a restore...

then:

if it comes with plesk 7.0.0

cd /root
mkdir plesk
cd plesk
wget http://download1.sw-soft.com/Plesk/Plesk7....i586.rpm.tar.gz

tar -xzf psa-7.1.7-rhel3.build71050228.12.i586.rpm.tar.gz
service psa stopall
Check on the Third_Party.RHel3 folder if there is anything you want to update (usually mysql-3.23.58-1.i386.rpm, mysql-server-3.23.58-1.i386.rpm, and the postgresql rpms are already installed, to figure out perform: rpm -qa |grep postgre)

if there is things you want to update:
rpm -Uhv rpmlist

QUOTE
keep in mind that rpmlist means:

rpm -Uhv js-1.5-0.rc6.rhel3.dag.i386.rpm js-devel-1.5-0.rc6.rhel3.dag.i386.rpm libssh-0.1-5.sw.i386.rpm libssh-devel-0.1-5.sw.i386.rpm mailman-2.1.1-5.i386.rpm mysql-3.23.58-1.i386.rpm mysql-server-3.23.58-1.i386.rpm perl-TimeDate-1.16-0.rhel3.dag.noarch.rpm rh-postgresql-7.3.4-8.i386.rpm rh-postgresql-libs-7.3.4-8.i386.rpm rh-postgresql-server-7.3.4-8.i386.rpm sablotron-1.0.1-1.rhel3.dag.i386.rpm sablotron-devel-1.0.1-1.rhel3.dag.i386.rpm spamassassin-2.63-0.2.i386.rpm
All in one whole line.


if not, then:
cd ..
cd rpm_RedHat_el3
cd base
REMEMBER THAT YOU MUST STOP PLESK FIRST "service psa stopall"
rpm -Uhv rpmlist
QUOTE
keep in mind that rpmlist means:
rpm -Uhv courier-imap-3.0.3-rhel3.build71050228.12.i586.rpm libidn-0.4.2-rhel3.build71050228.12.i586.rpm Mambo-4.5.1-7105.noarch.rpm osCommerce-2.2ms2-7104.noarch.rpm psa-7.1.7-rhel3.build71050228.12.i586.rpm psa-courier-imap-add-7.1.7-rhel3.build71050228.12.i586.rpm psa-key-7.1-rhel3.build71050228.12.noarch.rpm psa-locale-base-en-7.1.7-rhel3.build71050228.12.noarch.rpm psa-logrotate-3.7-rhel3.build71050228.12.i586.rpm psa-proftpd-1.2.9-rhel3.build71050228.12.i586.rpm psa-proftpd-xinetd-1.2.9-rhel3.build71050228.12.i586.rpm psa-qmail-1.03-rhel3.build71050228.12.i586.rpm
All in one whole line.

wait for it to install.

then:

cd ..
cd opt
and install everithing from the opt directory that you want to install (keep in mind that some of the features on the opt directory are only available with the Plesk Premiere License Upgrade, you can request it for 20$ extra a month on your members section).

when the instalation is done, go to your members section, and open a trouble ticket requesting a Plesk Lisence Key Upgrade (as you have upgraded plesk)

If your box comes already with Plesk 7.1.x:

cd /root
mkdir plesk
cd plesk
wget http://download1.sw-soft.com/Plesk/Plesk7....i586.rpm.tar.gz
tar -xzf psa-7.5.2-rhel3.build75050130.17.i586.rpm.tar.gz
cd rpm_RedHat_el3
cd base
REMEMBER THAT YOU MUST STOP PLESK FIRST "service psa stopall"
rpm -Uhv rpmlist
QUOTE
keep in mind that rpmlist means:
rpm -Uhv courier-imap-3.0.8-rhel3.build75050130.17.i586.rpm libidn-0.4.2-rhel3.build75050130.17.i586.rpm Mambo-4.5.1-7504.noarch.rpm osCommerce-2.2ms2-7503.noarch.rpm psa-7.5.2-rhel3.build75050130.17.i586.rpm psa-api-cli-7.5.2-rhel3.build75050130.17.i586.rpm psa-api-common-7.5.2-rhel3.build75050130.17.i586.rpm psa-courier-imap-add-7.5.2-rhel3.build75050130.17.i586.rpm psa-hotfix-7.5.2-rhel3.build75050204.16.i586.rpm psa-key-7.5-rhel3.build75050130.17.noarch.rpm psa-locale-base-en-US-7.5.2-rhel3.build75050130.17.noarch.rpm psa-logrotate-3.7-rhel3.build75050130.17.i586.rpm psa-pre-keyupdate-7.5.2-rhel3.build75050130.17.i586.rpm psa-proftpd-1.2.10-rhel3.build75050130.17.i586.rpm psa-proftpd-xinetd-1.2.10-rhel3.build75050130.17.i586.rpm psa-qmail-1.03-rhel3.build75050130.17.i586.rpm
All in one whole line.


wait for it to install, then:

cd ..
cd opt
and install everithing from the opt directory that you want to install (keep in mind that some of the features on the opt directory are only available with the Plesk Premiere License Upgrade, you can request it for 20$ extra a month on your members section).

when the instalation is done, go to your members section, and open a trouble ticket requesting a Plesk Lisence Key Upgrade (as you have upgraded plesk)


Keep in mind that this steeps are the ones i followed and i have always had a successfull instalation/upgrade of plesk, Please note that not all the systems are the same, and there is no failsafe route to go, but i am giving you my 2 cents here, please follow this instructions at your own risk.

Best regards,
rammm
Hi,
I was trying to upgrade Plesk 7.5.2 to 7.5.3, i used the Plesk Updater to do that but it chrashes during installation, then Plesk don't run anymore.

Tech Support told me that i had some corrupted tables in the Plesk DB, corrupted table was "DomainsTraffic", i fix it but Plesk is dead, i can't find a way to restore it.
I tried all this stuff but i give some errors during installation before it's abort.

CODE
error: Failed dependencies:

       /usr/local/psa/admin/bin/php is needed by psa-api-common-7.5.3-rh9.build75050506.13

       psa-security = 7.5 is needed by psa-api-common-7.5.3-rh9.build75050506.13

       psa-api-common = 7.5.2 is needed by (installed) psa-api-rpc-7.5.2-rhel3.build75050130.17


I don't know what else can i do, server is running wel but i don't have Plesk.
JLChafardet
QUOTE (rammm)
Hi,  
I was trying to upgrade Plesk 7.5.2 to 7.5.3, i used the Plesk Updater to do that but it chrashes during installation, then Plesk don't run anymore.

Tech Support told me that i had some corrupted tables in the Plesk DB, corrupted table was "DomainsTraffic", i fix it but Plesk is dead, i can't find a way to restore it.
I tried all this stuff but i give some errors during installation before it's abort.

CODE
error: Failed dependencies:

       /usr/local/psa/admin/bin/php is needed by psa-api-common-7.5.3-rh9.build75050506.13

       psa-security = 7.5 is needed by psa-api-common-7.5.3-rh9.build75050506.13

       psa-api-common = 7.5.2 is needed by (installed) psa-api-rpc-7.5.2-rhel3.build75050130.17


I don't know what else can i do, server is running wel but i don't have Plesk.


you should try installing the psa-security and psa-api-common from the 7.5.2 distribution of psa.

they are usually located (if you updated to 7.5.2 via autoupdater) in:
/root/psa/PSA_7.5.2/rpm_RedHat_el3/base/psa-api-common-7.5.2-rhel3.build75050130.17.i586.rpm

the psa-security no idea about it, you should try yum from www.atomicrocketturtle.com to see if it is listed there...

please let me know if any of my info was usefull to you.

regards,
rammm
Thanks JL
This is trying to install psa-api-common-7.5.2-rhel3.build75050130.17

error: Failed dependencies:
/usr/local/psa/admin/bin/php is needed by psa-api-common-7.5.2-rhel3.build75050130.17
psa-security = 7.5 is needed by psa-api-common-7.5.2-rhel3.build75050130.17
psa-api-common = 7.5.3 is needed by (installed) psa-api-cli-7.5.3-rhel3.build75050506.13
psa-api-common = 7.5.3 is needed by (installed) psa-api-rpc-7.5.3-rhel3.

How can this package ask for that, i don't understand that.
that package psa-security i don't have it here (or i can't find it).
rammm
:eek:
Why are we talking english?

May be to help to anyone who visit this post?

icon_biggrin.gif
JLChafardet
QUOTE (rammm)
Thanks JL
This is trying to install psa-api-common-7.5.2-rhel3.build75050130.17

error: Failed dependencies:
       /usr/local/psa/admin/bin/php is needed by psa-api-common-7.5.2-rhel3.build75050130.17
       psa-security = 7.5 is needed by psa-api-common-7.5.2-rhel3.build75050130.17
       psa-api-common = 7.5.3 is needed by (installed) psa-api-cli-7.5.3-rhel3.build75050506.13
       psa-api-common = 7.5.3 is needed by (installed) psa-api-rpc-7.5.3-rhel3.

How can this package ask for that, i don't understand that.
that package psa-security i don't have it here (or i can't find it).


give a try to:

rpm -Uhv /root/psa/PSA_7.5.2/rpm_RedHat_el3/base/psa-api-common-7.5.2-rhel3.build75050130.17.i586.rpm

and let me know the output.

regards,
rammm
Hi, thanks for your help.
this is what i've done:
[root@icadservers root]# rpm -Uhv /root/psa/PSA_7.5.2/rpm_RedHat_el3/base/psa-api-common-7.5.2-rhel3.build75050130.17.i586.rpm
error: Failed dependencies:
/usr/local/psa/admin/bin/php is needed by psa-api-common-7.5.2-rhel3.build75050130.17
psa-security = 7.5 is needed by psa-api-common-7.5.2-rhel3.build75050130.17
psa-api-common = 7.5.3 is needed by (installed) psa-api-cli-7.5.3-rhel3.build75050506.13
psa-api-common = 7.5.3 is needed by (installed) psa-api-rpc-7.5.3-rhel3.build75050509.09

notice that is asking for psa-security, but i can't find that package.
NightHawk
Moved out of how-to's as this is not a how-to
Raphael
Perhaps a "How to" would be in order?

Mine is 5.04.
GroeneGrasmat
psa-security is not a physical package. It just tells the main version of psa and is a virtual package. If you use the next line all will be fine;

[root@servers base]# rpm -Uhv --nodeps PSA_7.5.2/rpm_RedHat_el3/base/psa-api-common-7.5.2-rhel3.build75050130.17.i586.rpm

To check the versions use;

[root@servers base]# rpm -q --provides psa

Should return something like;

config(psa) = 7.5.3
psa-security = 7.5
psa = 7.5.3-rh9.build75050506.13
Gary Simat
just get all of the packages that the autoinstaller diddnt do and do them all at once with a rpm -Uvh. if that doesnt work try a rpm -Uvh --nodeps
Alizè
when i try to install the rpm's this is the errors im getting...

rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages database in /var/lib/rpm

any idea of what I might be able to try to fix any of that...
JLChafardet
give a try to this:

This seems to be a common plesk issue when RPM gets upgraded, the way to fix it is as follows:


Go to the rpm database directory:


cd /var/lib/rpm


Create a backup directory for your old database:


mkdir backupdb


Copy all the database files to the folder just created:


cp __db* /var/lib/rpm/backupdb


Remove the old rpm database:


rm -f /var/lib/rpm/__db*


Rebuild the rpm database:


rpm –rebuilddb

I hope this information is useful for you all,
Best regards,
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.