Articles in this section

Deploying Git Repository task hangs in Plesk: Deploying files

Plesk for Windows kb: technical ABT: Group B

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

  1. Connect to the server via RDP.

  2. Create Plesk database backup:

    C:\>plesk db dump psa > C:\psa.sql

  3. Access Plesk database:

    C:\>plesk db

  4. 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 |
    +----+-----------------------------+--------+---------------------+

  5. Delete the task from longtasks table using its id found during previous step:

    MYSQL_WIN: mysql> DELETE FROM longtasks WHERE id=56;
    Query OK, 1 row affected (0.00 sec)

  6. Delete entries from longtaskparams table with task_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)

  7. Kill Git tasks using Windows Task Manager.

  8. Add the Git Repository again in Plesk.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.