In this guide, I'll walk you through how to check your Plesk server for potential issues before performing an upgrade. Ensuring your server is ready can save you from unexpected problems. Let's get started!
Prerequisites
- Access to your server via SSH or RDP.
- Basic understanding of terminal commands.
For Plesk Obsidian 18.0.32 and Newer
Step 1: Connect to Your Server
First, connect to your server using SSH or RDP:
ssh username@$server-ip
Step 2: Use the Pre-Upgrade Checker
To list available upgrades, run the following command:
plesk listupgrade
To run the pre-upgrade checker and verify if your server can upgrade to the latest available version, use:
plesk checkupgrade
If you want to check for a specific version, for example, 18.0.33, run:
plesk checkupgrade 18.0.33
For Plesk Versions Before 18.0.32, Plesk Onyx 17.x, and Plesk 12.x
Step 1: Connect to Your Server
Just like before, connect to your server using SSH or RDP:
ssh username@$server-ip
Step 2: Download and Unpack the Pre-Upgrade Checker
Download the pre-upgrade checker archive and unpack it:
wget https://support.plesk.com/hc/en-us/article_attachments/12377929412759/preupgrade_checker_linux.tar.gz
tar -xzvf preupgrade_checker_linux.tar.gz
Step 3: Use the Pre-Upgrade Checker
Note: If you're on a 32-bit operating system, run preupgrade.386 instead of preupgrade.x64.
For Linux Users:
To list available upgrades, execute:
./preupgrade.x64 list
To run the pre-upgrade checker for the latest version:
./preupgrade.x64
To check for a specific version, like 18.0.33, run:
./preupgrade.x64 18.0.33
Troubleshooting Tips
If you encounter issues, check the following:
- Ensure you have the correct permissions to run commands.
- Review any error messages for guidance on resolving issues.
- Consult the Plesk documentation for additional support.
Disclaimer
Always test upgrade procedures in a safe environment before applying them to your production server. For the latest documentation, refer to the official Plesk site.