• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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