Applicable to:
- Plesk for Linux
Symptoms
-
Plesk is not accessible with one of the following error messages:
PLESK_INFO: Error: Class 'Plesk\EmailActivation\EventListener' not found
PLESK_INFO: ERROR: Zend_Exception: File "Zend/Db/Statement/Pdo.php" does not exist or class "Zend_Db_Statement_Pdo" was not found in the file
PLESK_INFO: ERROR: Class 'Composer\\Autoload\\ClassLoader' not found (autoload_real.php:23)
PLESK_INFO: ERROR: require_once(): Failed opening required 'vendor/autoload.php' (include_path='/usr/local/sb/include:/opt/psa/admin/plib:/opt/psa/admin/externals') (init.php:4)
PLESK_INFO: PHP Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
PHP Fatal error: Unknown: Failed opening required 'auth.php' (include_path='/opt/psa/admin/plib:/opt/psa/admin/externals') in Unknown on line 0 -
When accessing the Domains menu, the following error message is shown in Plesk:
PLESK_ERROR: Call to undefined method Plesk\Session\Context::getUser
-
Unable to add a new subscription at Subscriptions > Add Subscription or a new database at Domains > example.com > Databases > Add Database, the error below occurs:
PLESK_ERROR: Zend_Form::isValid expects an array
Cause
The plesk-core
package is corrupted.
Resolution
-
Connect to the Plesk server via SSH.
-
Download the
plesk-core
package from http://autoinstall.plesk.com/pool/ using the wget utility. In this example, we're using Plesk Obsidian 18.0.32([PSA_18.0.32_4798])
and CentOS 7(dist-rpm-CentOS-7-x86_64)
. So the full path for theplesk-core
package looks like the following:# wget http://autoinstall.plesk.com/pool/PSA_18.0.32_4798/dist-rpm-CentOS-7-x86_64/base/plesk-core-18.0-2.centos.7+p18.0.32.0+t201204.2205.x86_64.rpm
Note: Make sure to download and install
plesk-core
equivalent to the Plesk version([PSA_18.0.xx_xxx])
and OS (dist-rpm-[OS_VERSION]
) being used. How to find Plesk version? -
Reinstall
plesk-core
package:-
on CentOS/RHEL-based distributions
# rpm -Uvh --force --nodeps plesk-core-18.0-2.centos.7+p18.0.32.0+t201204.2205.x86_64.rpm
-
on Debian/Ubuntu-based distributions
# dpkg -i plesk-core_18.0-v.debian.9+p18.0.32.0+t201204.2205_amd64.deb
-
-
Run Plesk Update:
# plesk installer update
-
Restart psa service:
# service psa restart
Comments
0 comments
Please sign in to leave a comment.