Git - Unable to find remote helper for http

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wrender
    Member
    Forum ExplorerTechnical Associate
    • Mar 2021
    • 68

    #1

    Git - Unable to find remote helper for http

    Broken Git
  • wrender
    Member
    Forum ExplorerTechnical Associate
    • Mar 2021
    • 68

    #2
    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,

    Comment

    • bogdan.sh
      Administrator
      • Nov 2016
      • 1220

      #3
      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.

      Comment

      • wrender
        Member
        Forum ExplorerTechnical Associate
        • Mar 2021
        • 68

        #4
        It appears to be coming from the CloudLinux repository:

        Code:
        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

        Comment

        • wrender
          Member
          Forum ExplorerTechnical Associate
          • Mar 2021
          • 68

          #5
          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

          Comment

          • bogdan.sh
            Administrator
            • Nov 2016
            • 1220

            #6
            Ah, you was talking about CloudLinux 7. Thanks for solution.

            Comment

            Working...