How to Cancel a stuck task in Plesk Panel

February 03, 2021

Connect ke Plesk via SSH.

plesk db dump > /root/psa_dump.sql
plesk db "SELECT id,type,status,finishTime FROM longtasks WHERE status <> 'done'"
 ~]# plesk db "SELECT id,type,status,finishTime FROM longtasks WHERE status <> 'done'"
+----+---------------------+---------+---------------------+
| id | type                | status  | finishTime          |
+----+---------------------+---------+---------------------+
| 13 | ext-catalog-install | started | 0000-00-00 00:00:00 |
+----+---------------------+---------+---------------------+

Catat id yang didapat.

plesk db "DELETE FROM longtasks WHERE id=13"
plesk db "DELETE FROM longtaskparams WHERE task_id=13"
pkill task-async-executor
service sw-engine stop
service sw-engine start

Semoga bermanfaat.

Sc: archive kuro.zone