Keybase git repos not working

Aperta
#28,373 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
git, go
Ambito
backend

Direzione di ricerca

Inizia riproducendo i comandi git clone e keybase git delete segnalati per i repository del team interessati, usando il log id fornito per analizzare il problema. Esamina i repository raw sotto /keybase/team/teamname/.kbfs_git/ e determina quale comportamento debba essere ripristinato; il lavoro è completato quando i repository possono essere gestiti senza gli errori segnalati block-not-found e di eliminazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Most of the git repos in one of my teams have not been working for several months.

I can't clone them ...

$ git clone keybase://team/teamname/obsidian-personal
Cloning into 'obsidian-personal'...
Initializing Keybase... done.
Syncing with Keybase... done.
git-remote-keybase error: (1) Server: block does not exist

$ git clone keybase://team/teamname/obsidian-work
Cloning into 'obsidian-work'...
Initializing Keybase... done.
Syncing with Keybase... done.
git-remote-keybase error: (1) Server: block does not exist

And I can't delete them ...

$ keybase git delete --team teamname obsidian-personal
Deletion is permanent. Are you sure you want to delete "obsidian-personal"? (type 'YES' to confirm): YES
▶ ERROR  (code 2704)
$ keybase git delete --team teamname obsidian-work
Deletion is permanent. Are you sure you want to delete "obsidian-work"? (type 'YES' to confirm): YES
▶ ERROR  (code 2704)

FWIW I was able to recover their contents by rsync'ing the raw files from the /keybase/team/teamname/.kbfs_git/ directory (I told one of the devs about this at the time), and I created the repos under a different team where they seem to be working okay, but it would be nice if these non-working repos could be deleted, especially where they can't be cloned anymore (I'm assuming "Server: block does not exist" means exactly what it sounds like, i.e. one or more of the S3 encrypted data storage blocks are just plain gone).

My log id: fc0e299da940ee6a52542f1c

And here's the number 345567, to make your bot happy.

Lingua principale
Go
Stelle
9.3k
Fork
1.3k
Merge medio
1g 1h
PR unite (30g)
97

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di keybase/client

Tutte le issue di keybase/client

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.