• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

How can I upgrade the PSA database tables?

D

DanielVF

Guest
How do I go about upgrading just the psa database tables?

I had a server hardware failure.

The hosting company elected to give us a new box, with a newer version of plesk on it, and reattach the old hard drive as secondary drive. To get our customers up and running as fast as possible, I copied over /var/www/vhosts, /var/named, /var/qmail, /var/lib/mysql and few files in /etc. At this point the box is serving websites, dns, and email.

What we don't have is Plesk working. Since the old psa database was for plesk 8.6.0, and the new server is running plesk 9.2.3, the mysql psa tables need upgrading. How do I go about upgrading these tables?
 
Last edited by a moderator:
Not sure that it is possible manually. Do not understand why you did not perform normal Plesk upgrade procedure?
 
We didn't upgrade, because when we got the new server with the new version of plesk, the old server, with the old version of plesk was already dead.

Can I just run the upgrade process on the new server, even though it already contains the latest RPM's etc? In this case will it just bring the database up to date? What command would I run?
 
Look at output of following commands:

# rpm -ql psa | grep sql
# /usr/local/psa/bin/mysql41upgrade --help

Not sure but maybe it will help.
 
Thanks! Looks like the SQL statements that I need to run are here:

/usr/local/psa/etc/db/psa_db_upgrade_860.sql
/usr/local/psa/etc/db/psa_db_upgrade_900.sql
/usr/local/psa/etc/db/psa_db_upgrade_920.sql
 
Back
Top