Articles in this section

Unable to update Plesk: The installation of the package 'git' failed

Plesk for Windows kb: technical

Applicable to:

  • Plesk for Windows

Symptoms

  • Plesk update fails and an email like below is sent to Plesk Administrator:

    This message was sent automatically by Plesk Installer."
    ...
    Details: ERROR: The installation of the package 'git' failed with code 1. (upgrade: Upgrading Git for Windows...)
    Not all packages were installed.
    Visit https://support.plesk.com/ to search for a solution."

  • The error messages like below can be found in C:\ProgramData\Plesk\Installer\autoinstaller3.log file:

    Upgrading Git for Windows...
    Unable to install exe package C:\ProgramData\Plesk\Installer\cache\pool\release\PLESK-WIN_18.0.23_2227\thirdparty-windows-x86_64\Git-2.24.1.2-64-bit.exe' with error 1(0x00000001). Output:
    Sub-action 'InstallExe' failed with error code: 1(0x00000001)

Cause

There are many "Git for Windows" tasks in Windows Task Manager that prevent Git and as consequence Plesk from being updated:
Many Git for Windows tasks

Resolution

  1. Connect to the server via RDP.

  2. Open Task Manager (Open Windows Start > type "Task Manager") and navigate to Details tab.

  3. Right-click on each existing "Git for Windows" task and click End Task.

  4. Re-run the Plesk update.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.