keybase / client

Keybase Go Library, Client, Service, OS X, iOS, Android, Electron
BSD 3-Clause "New" or "Revised" License
8.82k stars 1.22k forks source link

MacOS KBFS Error #10377

Open blairj09 opened 6 years ago

blairj09 commented 6 years ago

I installed Keybase and when I arrived at the point where I was setting up KBFS, I accidentally failed to unlock my Security & Privacy pane before I granted Keybase permission. This seemed to bork my KBFS implementation. I can see the /keybase directory but I'm not able to access it. When I try to access through the Keybase GUI, I'm continually presented with the red banner stating "Your Keybase folders are currently not showing up in your Finder." image Regardless of the number of times I click "Display in Finder", nothing happens. I've performed a complete uninstall of Keybase (keybase uninstall) and reinstalled from a fresh download, but I've never been presented again with the option to grant Keybase permission to my Mac.

I feel like the issue is rooted in my computer remembering prior permissions, and those permissions aren't sufficient to allow KBFS to function.

I've shuffled the permissions on my /keybase directory to try and get in that way, but so far, nothing has worked. When I install Keybase fresh, when I initially try to access my folders I'm presented with the following screen:

image

After I input my username and password, nothing else happens. I'm just continually informed that Finder cannot display my folders. If I run keybase fs ls /keybase I get an error saying ERROR Invalid remote path.

my log id: 81b2c2d54b0b0ec51f849f1c

strib commented 6 years ago

One thing you can try is complete uninstalling the privileged bits, and reinstalling them. Just dragging the app into the trash doesn't do that. Try:

keybase uninstall --components=helper,fuse,mountdir,kbfs

And then you can try clicking on "Display in Finder" again, or try:

keybase install --components=helper,fuse,mountdir,kbfs

Which might give you more interesting error messages.

If I run keybase fs ls /keybase I get an error saying ERROR Invalid remote path.

/keybase might not work with that command, you might want to try /keybase/private and friends instead.

blairj09 commented 6 years ago

Great! Thanks for the suggestion. I ran

keybase uninstall --components=helper,fuse,mountdir,kbfs
keybase install --components=helper,fuse,mountdir,kbfs

Which led to the following output:

▶ INFO Installing Helper
▶ INFO Installing KBFuse
▶ ERROR Error installing KBFuse: exit status 1
▶ INFO Creating mount directory
▶ INFO log directory "/Users/jamesblair/Library/Logs" is writable by current user
▶ INFO log path "/Users/jamesblair/Library/Logs/keybase.start.log" exists and is writable by current user
▶ INFO paths in plist look ok and have valid permissions
▶ INFO Saving /Users/jamesblair/Library/LaunchAgents/keybase.kbfs.plist
▶ INFO Starting keybase.kbfs
▶ INFO Waiting for keybase.kbfs to be loaded...
strib commented 6 years ago

Hrm, that error is frustratingly brief. Do you have VMware, Virtualbox, TunTap, or other programs like that installed? See https://github.com/keybase/client/wiki/Troubleshooting.

Usually the error is different in that case, but it's something to try at least.

RobertAKARobin commented 6 years ago

I'm running into an identical error on Version 1.0.45-20180305194145+3a1c65a05. Is there a fix?

RobertAKARobin commented 6 years ago

Never mind. Restarting the computer fixed it. Natch.