Plesk

A new task started in Plesk hangs after dist-upgrade from Debian 8

Symptoms

Cause

The systemd package has not been upgraded during the dist-upgrade from Debian 8. The installed package version is for Debian 8:

# apt-cache policy systemd | grep Installed
Installed: 215-17+deb8u13

Resolution

  1. Connect to the Plesk server via SSH.

  2. Update the systemd package:

    # apt-get install systemd -y

  3. Remove the information about hung tasks from the Plesk database:

    # plesk db "DELETE longtasks, longtaskparams FROM longtasks LEFT JOIN longtaskparams ON longtasks.id = longtaskparams.task_id WHERE longtasks.status = 'not_started';"