• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Installing git in chroot

DougCurtis

Basic Pleskian
I have customers that want the git program to be able to pull/push their github repos. I've copied all of the files in the git rpm into the site's chroot but whenever they try to pull down their repo via ssl they get this message:

error: while accessing https://github.com/USERNAME/PROJECT.git/info/refs

fatal: HTTP request failed

We have gotten ssh to work with git but the ssl issue still isn't working.

Thanks,

Doug
 
Has anybody run into this issue? This is a major headache for me since users are clamoring for version control via git but can't use it completely.
 
With RHEL6, I ended up having to install a LOT of dependencies. In the end, it usually ended up being one library that was missing. I was working on statically compiling git for people to use but it's way down on the list of things to get done.
 
had the same problem on almalinux 8
the directory git-core was missing in the chroot
solved with
rsync -avz /usr/libexec/git-core/. /var/www/vhosts/domain.com/usr/libexec/git-core/.
 
Back
Top