• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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