Automatic updates are often useful and necessary to keep systems up to date. For this purpose, software packages are automatically installed and updated on servers. This is also the case with the Imunify360 security package on Plesk Servers.
Since 19.11. there are updates of some packages to another version. This apparently causes the php processes on the server to be terminated after a short time.
How can I determine whether I am affected?
The problem is noticed by error messages in the error log, or at longer script runtimes when the calls are terminated with a 503 error message, or an internel server error.
The fastest way to see it is to use webmail, which uses Php version 7.3 for Plesk servers. Directly after logging in you will get an internal server error which you can skip by calling it several times.
When you login to webmail, the data is read from the imap mailbox, which takes a little longer. With normal website Calls are php calls in the millisecond range, so the problem is not immediately apparent.
But also when using WordPress e.g. if you import design templates from other servers or upload images, it can lead to crashes.
How to solve the problem?
Unfortunately it was not possible to solve the problem by e.g. restoring an older version. Even after uninstalling imunify360 the php errors are not removed.
But the solution is relatively simple.
Step 1: Uninstall Imunify360
With the following command the Imunify360 Deploy Script can be downloaded and imunify360 uninstalled.
wget https://repo.imunify360.cloudlinux.com/defence360/i360deploy.sh
bash i360deploy.sh -uninstall
The process takes a while because all domains are processed here. For 100 domains about 15 minutes.
Step 2: Install Imunify360
If imunify360 is completely disabled it can be easily reinstalled with the following command:
bash 360deploy.sh
Afterwards, the license key must be activated again in the Plesk menu. The php error messages will then disappear again.