• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Can not create a git repository

laoxi

New Pleskian
Hello,

I can not create a git respository on my fresh server. This is what I try to do:
I select a sub-domain > Add Git Repository > Local respository > "test.git" > Select No deployment (repository hosting) > Click on "Ok".

After that, I get the following error:
Error: Unable to create the repository: pdmng: Unable to open file /var/www/vhosts/system/sub.domain.com/pd/d..git@plesk-git: No such file or directory

System error 2: No such file or directory
pdmng: Unable to remove pd user sub.domain.com from DVH sub.domain.com
System error 2: No such file or directory

Do you know how to fix this problem? I am using Plesk Onyx 17.0.17.

Thank you!

Best regards
 
I removed the git extension and tried to install it again. After the installation, I get the following error:
Error: Failed to install the extension:

Execution of /opt/psa/admin/plib/modules/git/scripts/post-install.php failed with exit code 1 and the output:
[2016-12-03 13:00:11] ERR [extension/git] Execution installer has failed with exit code 1, stdout: , stderr: E: Unable to locate package plesk-git-http
ERROR:root:Command '['apt-get', '-qq', '--assume-yes', '-o', 'Dpkg::Options::=--force-confdef', '-o', 'Dpkg::Options::=--force-confold', '-o', 'APT::Install-Recommends=no', '--purge', 'install', 'git', 'plesk-git-http']' returned non-zero exit status 100
exit status 1

Best reagards

EDIT:

I resolved the problem:


Uninstall the extension, then run these commands and after that install the extension again:
# plesk installer list plesk 17.0.17 --skip-cleanup >/dev/null 2>&1 || echo failed to create repositories
# apt-get update
# apt-get install plesk-git-http
# plesk installer list plesk 17.0.17 >/dev/null 2>&1 || echo failed to clean up temporary repositories

 
Last edited:
Back
Top