Problem Description
- When attempting to access Plesk at the standard URL, a Plesk error page appears showing a 500 or 502 error
- The Plesk error page indicates a database error
Problem Resolution
The most common reason for this is that your VPS has run out of space. Either login via shell and remove some files, or take the far simpler route and upgrade your storage. You can upgrade your VPS storage by logging in to the Client Centre, selecting your VPS settings, and editing the configuration to add more space. Any changes in storage space will be applied within 30 seconds of completing the order process.
Note: much like a personal computer, for a VPS or dedicated server to operate smoothly it is recommended to always have at least 20% free storage. You may need more for any backup utilities (like Plesk backups) to create backups successfully, even if they are being uploaded to a cloud storage solution.
If the issue is not disk space, you will need to use shell to consult the Plesk server logs. Here's the ones you'll want to consult:
- Error log: /var/log/sw-cp-server/error_log and /var/log/sw-cp-server/sw-engine.log
- Access log: /var/log/plesk/httpsd_access_log
- Panel log: /var/log/plesk/panel.log
Full reference here.