New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"fatal: Unable to find remote helper for 'keybase'" when installing keybase from source #8815

Closed
schollz opened this Issue Oct 4, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@schollz
Copy link

schollz commented Oct 4, 2017

After seeing the release today, I've been trying out the private git with keybase. It works great on Linux (installed with the deb) and Windows (installed with exe). I'm having trouble with using it on a armhf Chromebook.

On my chromebook I installed keybase with Go (go version go1.8.3 linux/arm) following these instructions and logged in just fine. However I get an error when I try to clone my private repo with git (git version 2.7.4):

$ git clone keybase://private/schollz/XX
Cloning into 'XX'...
fatal: Unable to find remote helper for 'keybase'

This command worked perfectly on Windows and Linux64 when using the production installers.

Any help is greatly appreciated!

@schollz schollz changed the title fatal: Unable to find remote helper for 'keybase' when installing keybase from source "fatal: Unable to find remote helper for 'keybase'" when installing keybase from source Oct 4, 2017

@strib

This comment has been minimized.

Copy link
Contributor

strib commented Oct 4, 2017

@schollz: git-remote-keybase is built from the KBFS repo here. You need to go install in there, and then make sure $GOPATH/bin is in your PATH (or move git-remote-keybase somewhere that's already in your path).

@strib

This comment has been minimized.

Copy link
Contributor

strib commented Oct 4, 2017

You'll also need to be running the kbfsfuse binary, as described here. Although it's not required that you actually mount KBFS to /keybase for git functionality, you can use -mount-type none to skip that part.

@schollz

This comment has been minimized.

Copy link
Author

schollz commented Oct 5, 2017

Great! Thanks. Works perfectly now. For future reference, here's what I did on my Chromebook after installing Go:

Pre-reqs

sudo apt-get install fuse

Install keybase

go get -u -v github.com/keybase/client/go/keybase
go install -v -tags production github.com/keybase/client/go/keybase
keybase

Install kbfsfuse

go get -v github.com/keybase/kbfs/...
cd $GOPATH/src/github.com/keybase/kbfs/kbfsfuse
go install
sudo mkdir -p /keybase
sudo chown $USER /keybase
KEYBASE_RUN_MODE=prod kbfsfuse /keybase & 

Install git-remote-keybase

cd $GOPATH/src/github.com/keybase/kbfs/kbfsgit/git-remote-keybase 
go install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment