keybase / client

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

Previously deleted repository blocks deleting other ones : ERROR Directory is not empty and can't be removed #12803

Open thatfrankdev opened 6 years ago

thatfrankdev commented 6 years ago

Hey there,

I deleted a personal repo named 'meeting-notes' and everything apparently worked fine. However now every time I try to delete any repo, there's this error:

ERROR Directory meeting-notes01207c4ca143bcf9526a89fce1ec8f18739cbb0bbb64e9a913aeba98bf2588845c1b0a-1531414536282801600 is not empty and can't be removed

image

strib commented 6 years ago

If you do a keybase log send, and post the resulting ID here, I can take a look.

strib commented 6 years ago

By the way, if this repo was originally created around October 2017, when we first announced our git product, it might have been affected by a bug that we had at the time, which left an unremovable . entry in the git directory. If that's the case, you should be able to fix it like this, if you have the Keybase Finder integration enabled:

mv /keybase/private/thatfrankdev/.kbfs_git/.kbfs_deleted_repos/meeting-notes01207c4ca143bcf9526a89fce1ec8f18739cbb0bbb64e9a913aeba98bf2588845c1b0a-1531414536282801600 /keybase/private/thatfrankdev/.kbfs_git/.kbfs_deleted_repos/meeting-notes.old
thatfrankdev commented 6 years ago

Hey there,

The move command did the trick, thanks!