keybase / client

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

Problems with Keybase git - folders dissapearing, and git clone failing #8914

Open ericjarvies opened 7 years ago

ericjarvies commented 7 years ago
git clone keybase://private/ericjarvies/passwords
Cloning into 'passwords'...
Initializing Keybase... done.
Syncing with Keybase... BServer: block does not exist
git-remote-keybase error: (1) BServer: block does not exist

And in Finder, folders in Keybase user home folder disappear (reappear after restart)

my log id: 176e695cf4ae9c4d6c20741c

8903

strib commented 7 years ago

I'm sorry about this. The cause seems to be slightly different from #8903, I'm still investigating.

In the meantime, do you have any data yet in a personal, private Keybase repo that you want to save? If you are ok blowing away your personal private repos, you can try rmdir /keybase/private/ericjarvies/.kbfs_git, that might recover things for you.

If you have git data you want to save, I can find a way to rollback your private folder to before it broke.

strib commented 7 years ago

Actually it looks like there's a second issue, probably causing the Finder issues you're seeing. You can try rm /keybase/private/ericjarvies/._.DS_Store for that one.

strib commented 7 years ago

Also, it would really help me debug if you could run this command to share the history of your private folder with me (it contains only metadata needed for debugging, it doesn't contain any actual file data):

cp /keybase/private/ericjarvies/.kbfs_update_history /keybase/private/strib@github,ericjarvies/client_8914_update_history.json

(Note that .kbfs_update_history is a virtual file that doesn't show up in ls, but you can read/copy it like a normal file.)

Thanks!

strib commented 7 years ago

I found the underlying cause for this bug (it was very obscure, see keybase/kbfs#1247 for an explanation) and merged a fix to master. It should be fixed in future releases.

@ericjarvies if you still need help restoring your folder to a working state, please let me know.