Git - Unable to find remote helper for 'http'
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Wesley Render
  2. Sunday, 06 December 2015
  3.  Subscribe via email
Broken Git
Rate this post:
  1. 06.12.2015 16:12:45
  2. # 1
Wesley Render Accepted Answer
Posts: 49
Joined: 16.05.2011
0
Votes
Undo
Using the default version of Git (git version 1.8.3.1) that comes with CloudLinux, seems to have problems when using it with CageFS.  I get this error when I try to clone a repository from the internet:

fatal: Unable to find remote helper for 'http'

If I disable CageFS, and then try and run git again it works. 

Thanks,
  1. 07.12.2015 14:12:14
  2. # 2
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
Where did you got git version 1.8.3.1 ? The one that goes with CloudLinux repo is 1.7.1and git clone works with CageFS enabled. Just tried that on a test server.
  1. 07.12.2015 14:12:08
  2. # 3
Wesley Render Accepted Answer
Posts: 49
Joined: 16.05.2011
0
Votes
Undo
It appears to be coming from the CloudLinux repository:
yum whatprovides git
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
* cloudlinux-x86_64-server-7: xmlrpc.cln.cloudlinux.com
git-1.8.3.1-4.el7.x86_64 : Fast Version Control System
Repo : cloudlinux-x86_64-server-7



git-1.8.3.1-4.el7.x86_64 : Fast Version Control System
Repo : @cloudlinux-x86_64-server-7
  1. 07.12.2015 16:12:15
  2. # 4
Wesley Render Accepted Answer
Posts: 49
Joined: 16.05.2011
0
Votes
Undo
I was able to fix the issue by adding:

/usr/libexec/git-core

to the paths=, in /etc/cagefs/conf.d/git.cfg

Then cagefsctl --force-update
  1. 09.12.2015 13:12:25
  2. # 5
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
Ah, you was talking about CloudLinux 7. Thanks for solution.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.