• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How to Update from 7.1.7 to 7.5.4+ [without updater]

folling that thread it appears that they didnt have

up2date -u php-domxml
up2date -u php-mbstring

but I already have them.
I just tried the autoinstaller from the command line and got...
Code:
Start packages installation
Install package psa
 Trying to define super-server internet daemon type... xinetd
 Trying to check if xinetd daemon is running... done
The record in /etc/hosts file for this host name does not coincide with the
information served by DNS. Please remove the respective record from /etc/hosts file.

ERROR while trying to check the host name
Check the error reason(see log file: /tmp/psa_8.0.0_RedHat_el3_build80060331.13_upgrade.log), fix and try again

Aborting...

error: %pre(psa-8.0.0-rhel3.build80060331.13) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping psa-8.0.0-rhel3.build80060331.13
Error while execute command rpm -U /root/psa/PSA_8.0.0/dist-rpm-RedHat-el3-i386/base/psa-8.0.0-rhel3.build80060331.13.i586.rpm
ERROR: error while executing RPM
ERROR: Installation failed
again the etc/hosts is:
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
64.xx.xx.124            websrv.ONEofTHEdomains.com websrv
do i need to add or subtract something from etc/hosts?
 
I think it was the wrong domain name in the hosts file... I think I corrected it because I ran the updater again and it got further this time:
Code:
 Start packages installation
Install package psa
 Trying to define super-server internet daemon type... xinetd
 Trying to check if xinetd daemon is running... done

 Trying to stop MySQL server... done
 Trying to start MySQL server... done
 Trying to establish test connection... connected
 Making some checks before upgrading

 Now BIND server shutting down...

 Trying to stop BIND server... done
 Trying to start BIND server... done

 BIND server starts Ok.

VERSION MISMATCH:
PLESK DATABASE VERSION: 075
PLESK INSTALLATION VERSION: 071

ERROR while trying to check version match
Check the error reason(see log file: /tmp/psa_8.0.0_RedHat_el3_build80060331.13_upgrade.log), fix and try again

Aborting...

error: %pre(psa-8.0.0-rhel3.build80060331.13) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping psa-8.0.0-rhel3.build80060331.13
Error while execute command rpm -U /root/psa/PSA_8.0.0/dist-rpm-RedHat-el3-i386/base/psa-8.0.0-rhel3.build80060331.13.i586.rpm
ERROR: error while executing RPM
ERROR: Installation failed

here is the tail of the update log:
Code:
 START LOGGING: Tue Apr 11 19:04:47 CDT 2006
SCRIPT: /var/tmp/rpm-tmp.49930

START LOGGING: Tue Apr 11 19:04:47 CDT 2006
SCRIPT: /var/tmp/rpm-tmp.49930
 Trying to define super-server internet daemon type... xinetd
 Trying to check if xinetd daemon is running... done


START LOGGING: Tue Apr 11 19:04:48 CDT 2006
SCRIPT: /var/tmp/rpm-tmp.49930
 Trying to stop MySQL server... Stopping MySQL:  [  OK  ]
done
mysqld (pid 7246) is running...
mysqld is stopped
 Trying to start MySQL server... Starting MySQL:  [  OK  ]
done
 Trying to establish test connection... connected
 Making some checks before upgrading

 Now BIND server shutting down...

 Trying to stop BIND server... Stopping named: [  OK  ]
done
 Trying to start BIND server... Starting named: [  OK  ]
done

 BIND server starts Ok.

mysqld (pid 7855) is running...
VERSION MISMATCH:
PLESK DATABASE VERSION: 075
PLESK INSTALLATION VERSION: 071

ERROR while trying to check version match

Aborting...

well I am going to consider this progress :)
 
Here is some output about the version(s) info:
Code:
[root@websrv /]# cat /usr/local/psa/version
7.1.7 RedHat el3 75060321.20
[root@websrv /]# rpm -q psa
psa-7.5.4-rhel3.build75050824.12
[root@websrv /]# mysql -uadmin -p`cat /etc/psa/.psa.shadow` -e "select * from misc 
> where param='version';" psa
+---------+------+
| param   | val  |
+---------+------+
| version | 0750 |
+---------+------+
[root@websrv /]# ls -la /var/lib/psa/dumps/mysql.preupgrade.dump*
-rw-------    1 root     root        49829 Apr 10 03:33 /var/lib/psa/dumps/mysql.preupgrade.dump.gz
-rw-------    1 root     root        11103 Aug 19  2004 /var/lib/psa/dumps/mysql.preupgrade.dump.gz.1
-rw-------    1 root     root        49647 Jan 24 10:44 /var/lib/psa/dumps/mysql.preupgrade.dump.gz.2
 
I got this email from SWSoft... I don't really know how to do what they said:
Dear Sir,

It looks like you have tried to upgrade from Plesk 7.1.7 to Plesk
7.5.4, please correct me if I'm not right.

The PSA database was partially upgraded, but upgrade failed. In this
case you should roll the database dump back from one of the files:

/var/lib/psa/dumps/mysql.preupgrade.dump.gz

Just remember that you will need to roll back only psa part from it.

Then rpm -e psa, install Plesk 7.1.7 rpm again with --justdb key, then
make sure that /usr/local/psa/version contains '7.1.7 RedHat el3
75060321.20' and then try to install psa-7.5.4 rpm.

I would advice you to install Plesk manually from shell, not with
autoupdater in this case.
Anyone know how to use the dump file to "just rollback the psa part"?
 
Well, I just tried that... ran into a few problems... now Plesk won't open (403 error)
And what is worse is that
rpm -qa | grep psa
commands seem to hang... and therefore the autoinstaller hangs since I think it uses this command.

I was able to delete all psa base packages except for 7.1.7... did a rpm -e psa then used a mysql dump from various times... they all had the same error that the table `columns_priv` already exists.

Then I try to open the autoinstaller and for a while it seemed to work fine and it would go through the installation until it came across some sort of dependancy problem... then I ran rpm -e on those files and ran the updater again...

Once I came close when just for curiosity I ran the autoinstaller (it says I have 7.1.7 installed and attemped to install the base package of 7.1.7 again.
I then got the error
Code:
VERSION MISMATCH:
PLESK DATABASE VERSION: 070
PLESK INSTALLATION VERSION: 071
so close....

Then I tried to jump to updating to 7.5.4 but that failed... as it the updater hangs on
Code:
Checking for installed components...
rpm --rebuilddb is also hanging
so I thought I might try:
Code:
[root@websrv /]# yum update psa
Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 3ES - Atomic PSA-Compatible RPMS
Server: Atomic Rocket Turtle - 3ES - Atomic PSA-Compatible RPMS
Server: Red Hat Linux 3ES - i386 - Base
Server: Atomic Rocket Turtle - 3ES - SW-Soft PSA 7.5 RPMS
Server: Red Hat Linux 3ES - Updates
.......... hangs .....

what should I do? Force an install of 7.5.4 now?
or just take the hint from rpm and hang myself?
 
rebooted the server and the hanging problem on the server seems to be cleared up... I am still at risk however.
 
Here is the lastest autoinstaller output ttrying to go from 7.1.7 to 7.5.4
Code:
Building product packages list
 

Retrieving Plesk files
===============================================================================

Now Plesk files will be downloaded onto your system.

1. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/perl/perl-Apache-ASP-2.57-rhel3.build75050824.12.noarch.rpm file,
because it is already on local media.

2. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/perl/perl-Font-AFM-1.18-61psa.noarch.rpm file,
because it is already on local media.

3. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/perl/perl-MLDBM-2.01-61psa.noarch.rpm file,
because it is already on local media.

4. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/perl/perl-FreezeThaw-0.43-61psa.noarch.rpm file,
because it is already on local media.

5. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/perl/perl-MLDBM-Sync-0.30-61psa.noarch.rpm file,
because it is already on local media.

6. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/perl/perl-HTML-Format-1.23-51psa.noarch.rpm file,
because it is already on local media.

7. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/AdvancedPoll-2.03-7505.noarch.rpm file,
because it is already on local media.

8. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/AutoIndex-1.5.3-7507.noarch.rpm file,
because it is already on local media.

9. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/b2evolution-0.9.0.12-7505.noarch.rpm file,
because it is already on local media.

10. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/bbclone-0.48-7508.noarch.rpm file,
because it is already on local media.

11. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/CSLH-2.12.2-7504.noarch.rpm file,
because it is already on local media.

12. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/DocFAQ-1.71-7508.noarch.rpm file,
because it is already on local media.

13. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/gtchat-0.93-7507.noarch.rpm file,
because it is already on local media.

14. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/openbiblio-0.5-7513.noarch.rpm file,
because it is already on local media.

15. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/Owl-0.80-7507.noarch.rpm file,
because it is already on local media.

16. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/phpAds-2.0.5-7506.noarch.rpm file,
because it is already on local media.

17. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/phpBB-2.0.17-7518.noarch.rpm file,
because it is already on local media.

18. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/phpBook-1.50-7507.noarch.rpm file,
because it is already on local media.

19. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/phpBugTracker-1.19-7506.noarch.rpm file,
because it is already on local media.

20. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/phpDig-1.85-7505.noarch.rpm file,
because it is already on local media.

21. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/phpMoney-1.3-7510.noarch.rpm file,
because it is already on local media.

22. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/phpMyFamily-1.4.1-7508.noarch.rpm file,
because it is already on local media.

23. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/phpsurveyor-0.98-7510.noarch.rpm file,
because it is already on local media.

24. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/phpWiki-1.3.11-7508.noarch.rpm file,
because it is already on local media.

25. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/pLog-1.0-7508.noarch.rpm file,
because it is already on local media.

26. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/PostNuke-0.750-7505.noarch.rpm file,
because it is already on local media.

27. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/Tellme-1.2-7507.noarch.rpm file,
because it is already on local media.

28. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/TUTOS-1.88-7504.noarch.rpm file,
because it is already on local media.

29. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/typo-3.8.0-7505.noarch.rpm file,
because it is already on local media.

30. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/UebiMiau-2.7.8-7508.noarch.rpm file,
because it is already on local media.

31. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/WebCalendar-1.0-7504.noarch.rpm file,
because it is already on local media.

32. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/WebShopmanager-2.0-7506.noarch.rpm file,
because it is already on local media.

33. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/WordPress-1.5.1-7509.noarch.rpm file,
because it is already on local media.

34. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/xrms-1.19-7504.noarch.rpm file,
because it is already on local media.

35. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/Coppermine-1.3.3-7515.noarch.rpm file,
because it is already on local media.

36. Skipping /PSA_7.5.4/rpm_RedHat_el3/opt/vault/gallery-2.0-7516.noarch.rpm file,
because it is already on local media.

Trying to upgrade product license key... skipped


Preparing for packages installation...

Installing packages
Installing /PSA_7.5.4/rpm_RedHat_el3/opt/perl/perl-Apache-ASP-2.57-rhel3.build75050824.12.noarch.rpm
Installing /PSA_7.5.4/rpm_RedHat_el3/opt/perl/perl-Font-AFM-1.18-61psa.noarch.rpm
Installing /PSA_7.5.4/rpm_RedHat_el3/opt/perl/perl-MLDBM-2.01-61psa.noarch.rpm
Installing /PSA_7.5.4/rpm_RedHat_el3/opt/perl/perl-FreezeThaw-0.43-61psa.noarch.rpm
Installing /PSA_7.5.4/rpm_RedHat_el3/opt/perl/perl-MLDBM-Sync-0.30-61psa.noarch.rpm
Installing /PSA_7.5.4/rpm_RedHat_el3/opt/perl/perl-HTML-Format-1.23-51psa.noarch.rpm
Installing /PSA_7.5.4/rpm_RedHat_el3/opt/vault/AdvancedPoll-2.03-7505.noarch.rpm
error: Failed dependencies:
        psa >= 7.5 is needed by AdvancedPoll-2.03-7505
Not all required packages were installed.
Press <ENTER> to continue...
I'm thinking I should just do a Forced RPM install.??
 
ok here is what I get now trying to get 7.5.4:
Code:
[root@websrv /]# rpm -Uhv --force /root/psa/PSA_7.5.4/dist-rpm-RedHat-el3-i386/base/psa-7.5.4-rhel3.build75050824.12.i586.rpm
Preparing...                ########################################### [100%]
===> Updating /etc/psa/psa.conf...

 Trying to define super-server internet daemon type... xinetd
 Trying to check if xinetd daemon is running... done


===> Checking for previous installation ... found.
 Trying to stop MySQL server... done
 Trying to start MySQL server... done
 Trying to establish test connection... connected
 Making some checks before upgrading

 Now BIND server shutting down...

 Trying to stop BIND server... done
 Trying to start BIND server... done

 BIND server starts Ok.


===> Checking for the necessary system accounts
 Checking for the system groups and users necessary for Qmail...
 Checking for the group 'nofiles'...
 Group 'nofiles' already exists

 Checking for the user 'alias'...
 User 'alias' already exists

 Checking for the user 'qmaild'...
 User 'qmaild' already exists

 Checking for the user 'qmaill'...
 User 'qmaill' already exists

 Checking for the user 'qmailp'...
 User 'qmailp' already exists

 Checking for the group 'qmail'...
 Group 'qmail' already exists

 Checking for the user 'qmailq'...
 User 'qmailq' already exists

 Checking for the user 'qmailr'...
 User 'qmailr' already exists

 Checking for the user 'qmails'...
 User 'qmails' already exists

 Checking for the group 'popuser'...
 Group 'popuser' already exists

 Checking for the user 'popuser'...
 User 'popuser' already exists

 Checking for the system groups and users necessary for MySQL...
 Checking for the group 'mysql'...
 Group 'mysql' already exists

 Checking for the user 'mysql'...
 User 'mysql' already exists

 Checking for the system groups and users necessary for admin server...
 Checking for the group 'psaadm'...
 Group 'psaadm' already exists

 Checking for the user 'psaadm'...
 User 'psaadm' already exists

 Checking for the system groups and users necessary for Apache...
 Checking for the group 'apache'...
 Group 'apache' already exists

 Checking for the user 'apache'...
 User 'apache' already exists

 Checking for the group 'psaftp'...
 Group 'psaftp' already exists

 Checking for the user 'psaftp'...
 User 'psaftp' already exists

 Checking for the group 'psaserv'...
 Group 'psaserv' already exists

 Checking for the group 'psaserv'...
 Trying to add supplementary group 'psaserv' for user 'apache'...  already there
 Checking for the group 'psaserv'...
 Trying to add supplementary group 'psaserv' for user 'psaftp'...  already there
 Checking for the group 'psaserv'...
 Trying to add supplementary group 'psaserv' for user 'psaadm'...  already there
 group psacln already exists
Standard build detected. Upgrading canceled, because only
5.0.x versions supported for upgrading from Standard to RPM
builds.

error: %pre(psa-7.5.4-rhel3.build75050824.12) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping psa-7.5.4-rhel3.build75050824.12

What does this mean? I can't upgrade? I know I rpm -e'ed a few psa-key rpm's... is this the problem? We recently purchased the SUS reinstatement so we could get these upgrades... I also built the psa database with a dump from Jan, before we purchased the SUS extension
 
tried this, more key problems:
Code:
[root@websrv base]# rpm -Uvh --justdb psa-7.1.7-rhel3.build71050228.12.i586.rpm
error: Failed dependencies:
        /usr/local/psa/tmp/psa.key is needed by psa-7.1.7-rhel3.build71050228.12
        psa-key = 7.1 is needed by psa-7.1.7-rhel3.build71050228.12

[root@websrv base]# locate psa.key
/etc/psa/psa.key
/etc/psa/psa.key.new-7.5.4
/etc/psa/psa.key.saved_by_psa
/etc/psa/psa.key.default
/etc/psa/psa.key.saved_by_psa.08.19;13:01
/etc/psa/psa.key.new-7.5.3
/etc/psa/psa.key~1~
/etc/psa/psa.key~2~
/etc/psa/psa.key~3~
/etc/psa/psa.key.~1~
/etc/psa/psa.key~4~
/etc/psa/psa.key~5~
/etc/psa/psa.key.saved_by_psa.04.10;03:35
/etc/psa/psa.key.new-8.0.0
I tried copying the psa.key to the usr/local/psa/tmp directory but it gave me the same error....
 
We restored our webserver to a time when it was functioning properly after Plesk updates to 7.5.4 and 8.0.0 went haywire...
But now we get these strange errors even though the system was restored:

Logging into Plesk serves no page, just javascript alert saying
quote:
"The Key You are Using Is Invalid for the product version you are running."
If I try to restart httpd service it fails to shut down httpd properly...

Code:
[root@websrv root]# service httpd stop
Stopping httpd:                                            [FAILED]
[root@websrv root]# service httpd status
httpd dead but subsys locked
[root@websrv root]# service httpd start
Starting httpd:                                            [  OK  ]
[root@websrv root]# service httpd status
httpd dead but subsys locked
cd /var/lock/subsys
[root@websrv subsys]# ls
atd cups local mysqld network psa rhdb sshd xinetd
courier-imap httpd mdmonitor named nfslock qmail rhnsd syslog
crond kudzu mdmpd netfs portmap random spamassassin xfs


[root@websrv subsys]# rm httpd
rm: remove regular empty file `httpd'? y
[root@websrv subsys]# service httpd stop
Stopping httpd: [FAILED]
Then I checked the psa.key location and found:
Code:
 service psa restart
===> Reading /etc/psa/psa.conf ...
/usr/local/psa/admin/bin/httpsdctl: line 227:  5468 Terminated              $HTTPD -t >/dev/null 2>&1
/usr/local/psa/admin/bin/httpsdctl restart: configuration broken, ignoring restart
/usr/local/psa/admin/bin/httpsdctl restart: (run 'apachectl configtest' for details)
[root@websrv psa]# ls
key.d             psa.key~3~         psa.key.new-7.5.4                 
logrotate.conf    psa.key             psa.key~4~         psa.key.saved_by_psa
psa.conf          psa.key~1~          psa.key~5~         psa.key.saved_by_psa.04.10;03:35
psa.key.~1~         psa.key.Mar-31     psa.key.saved_by_psa.04.13;04:19
psa.conf.default  psa.key~2~          psa.key.new-7.5.3  psa.key.saved_by_psa.08.19;13:01


Anyone have any ideas how to get the webserver serving up pages again (they give the error: Connection Was Refused When Trying to Connect To ...)
 
Back
Top