Applicable to:
- Plesk for Windows
Symptoms
-
Deploying Git Repository task is stuck:
CONFIG_TEXT: Deploying files to example.com
-
Windows Task Manager does not show any activity for Git processes.
Cause
Git task hanged.
Resolution
-
Connect to the server via RDP.
-
C:\>plesk db dump psa > C:\psa.sql
-
C:\>plesk db
-
Find the ID of the stuck process:
MYSQL_WIN: mysql> SELECT id,type,status,finishTime FROM longtasks WHERE status <> 'done';
+----+-----------------------------+--------+---------------------+
| id | type | status | finishTime |
+----+-----------------------------+--------+---------------------+
| 56 | ext-git-task\create | started | 0000-00-00 00:00:00 |
+----+-----------------------------+--------+---------------------+ -
Delete the task from
longtasks
table using itsid
found during previous step:MYSQL_WIN: mysql> DELETE FROM longtasks WHERE id=56;
Query OK, 1 row affected (0.00 sec) -
Delete entries from
longtaskparams
table withtask_id
same as id from the previous step:MYSQL_WIN: mysql> DELETE FROM longtaskparams WHERE task_id=56;
Query OK, 6 rows affected (0.00 sec) -
Kill Git tasks using Windows Task Manager.
-
Add the Git Repository again in Plesk.
Comments
0 comments
Please sign in to leave a comment.