Applicable to:
- Plesk for Linux
Symptoms
-
A new task started in Plesk hangs (e.g. subscription creation, scan in WP Toolkit, update of extensions, etc.).
-
The following error message appears in the Plesk Task Manager log
/var/log/plesk/task-manager.log
:CONFIG_TEXT: ERROR task=324 process=324 trace=7247:60da61c35a000 Start failed: Failed to start the process: exit status 1 (/usr/bin/systemd-run: unrecognized option '--quiet')
-
The server is running Debian OS which has been recently upgraded from Debian 8.
-
After some time, the following error can be found in
/var/log/plesk/panel.log
:CONFIG_TEXT: ERR [panel] Argument 3 passed to Plesk\CommonPanel\Domain\Task\Create::isDnsEnabled() must be of the type array, null given, called in /opt/psa/admin/plib/CommonPanel/Domain/Task/Create.php on line 265:
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
-
Connect to the Plesk server via SSH.
-
Update the
systemd
package:# apt-get install systemd -y
-
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';"
Comments
0 comments
Please sign in to leave a comment.