Applicable to:
- Plesk for Linux
Symptoms
-
Execution of any Plesk-related commands via SSH fails with the following errors:
CONFIG_TEXT: /usr/bin/sw-engine: /usr/lib64/c++-plesk-10.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib64/libaps.so.1)
/usr/bin/sw-engine: /usr/lib64/c++-plesk-10.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/libboost-plesk-1.82/libboost_regex-plesk.so.1.82.0)
/usr/bin/sw-engine: /usr/lib64/c++-plesk-10.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/libboost-plesk-1.82/libboost_serialization-plesk.so.1.82.0) -
Attempt to perform a Plesk upgrade or update also lead to the same errors
Cause
A previous Plesk upgrade or update attempt was interrupted before finishing and as a result, the Plesk sw-engine has remained an old version that is incompatible with other packages that have been updated successfully.
Resolution
Note: Make sure to use only packages that correspond to the exact operating system and Plesk versions that are relevant to your exact scenario.
-
Connect to the server via SSH
-
Find which sw-engine version is installed on your server:
-
On Debian/Ubuntu:
# dpkg -l | grep sw-engine
ii sw-engine 4.51.0-debian.12.240312.1702 amd64 Plesk panel interpreter -
On RHEL/CentOS/AlmaLinux:
# rpm -qa | grep sw-engine
...
sw-engine-4.51.0-1centos.7.230222.0826.x86_64
-
-
Remove the old version of sw-engine:
-
On Debian/Ubuntu:
# dpkg -r --force-depends sw-engine
-
On RHEL/CentOS/AlmaLinux:
# rpm -e sw-engine-4.51.0-1centos.7.230222.0826.x86_64 --nodeps
-
-
Find the package of sw-engine that corresponds to the Plesk version you are updating to by looking through the Plesk repository in the engine folder of the corresponding operating system and Plesk version (for example, go to https://autoinstall.plesk.com/PSA_18.0.60/dist-rpm-CentOS-7-x86_64/engine/ via your browser)
-
Download the necessary package to your Plesk server using
wget:# wget https://autoinstall.plesk.com/PSA_18.0.60/dist-deb-Debian-12.0-x86_64/engine/sw-engine_5.60.1-debian.12.240318.0906_amd64.deb
-
Install the necessary package:
-
On Debian/Ubuntu:
# dpkg -i sw-engine_5.60.1-debian.12.240318.0906_amd64.deb
-
On RHEL/CentOS/AlmaLinux:
# rpm -Uvh sw-engine-5.60.1-1centos.7.230612.1943.x86_64.rpm
-
Additional information
Main Plesk update and upgrade repository
Plesk and its command-line utilities do not work due to missing Plesk packages – Plesk
Comments
Hi, this is super helpful.
But when I install the sw-engine package which is congruent with Plesk version, it looks like some libraries are still mismatched with old plesk version.
So, in my case the sw-engine version was older than the apparent Plesk version. I removed the sw-engine and installed the newer one - but with errors due to old libraries.
Trying to figure out what's next?
sudo dpkg -i sw-engine_7.72.1-debian.10.250807.1639_amd64.debSelecting previously unselected package sw-engine.(Reading database ... 103952 files and directories currently installed.)Preparing to unpack sw-engine_7.72.1-debian.10.250807.1639_amd64.deb ...Unpacking sw-engine (7.72.1-debian.10.250807.1639) ...dpkg: dependency problems prevent configuration of sw-engine:sw-engine depends on libaps (>= 1.0.17); however:Version of libaps on system is 1.0.16-debian.10.250709.0854.sw-engine depends on plesk-lmlib (>= 0.2.8); however:Version of plesk-lmlib on system is 0.2.7-debian.10.250709.0854.sw-engine depends on plesk-libboost-regex1.88; however:Package plesk-libboost-regex1.88 is not installed.sw-engine depends on plesk-libboost-serialization1.88; however:Package plesk-libboost-serialization1.88 is not installed.sw-engine depends on plesk-libboost-thread1.88; however:Package plesk-libboost-thread1.88 is not installed.dpkg: error processing package sw-engine (--install):dependency problems - leaving unconfiguredErrors were encountered while processing:sw-enginePlease sign in to leave a comment.