Articles in this section

Plesk update fails during the database schema upgrade stage: error while loading shared libraries: file too short

Plesk for Linux

Applicable to:

  • Plesk for Linux

Symptoms

  • Plesk update process fails with an error like the following example:

    ===> Plesk database scheme upgrade has been started.
    /usr/lib64/sw-engine-cli-5.60: error while loading shared libraries: /usr/lib64/libboost-plesk-1.82/libboost_date_time-plesk.so.1.82.0: file too short
    ===> Plesk database scheme was not upgraded completely. /usr/lib64/sw-engine-cli-5.60: error while loading shared libraries: /usr/lib64/libboost-plesk-1.82/libboost_date_time-plesk.so.1.82.0: file too short
    ***** problem report *****
    ===> Plesk database scheme was not upgraded completely.

  • A previous Plesk update was interrupted manually.

Cause

A Plesk update was interrupted and caused the corruption of important Plesk package(s).

Resolution

  1. Log into the server via SSH

  2. Download the package from the error for the proper Plesk and operating system versions, e.g. sw-engine-cli for Plesk 18.0.60 and CentOS7:

    # wget http://autoinstall.plesk.com/pool/PSA_18.0.60_14384/dist-rpm-CentOS-7-x86_64/bootstrapper/sw-engine-cli-5.60-5.60.1-1centos.7.240318.0906.x86_64.rpm

  3. Install the downloaded package on top of the current corrupted package:

    # rpm -ivh sw-engine-cli-5.60-5.60.1-1centos.7.240318.0906.x86_64.rpm --force

  4. Perform the Plesk update:

    # plesk installer update

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.