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

Desktop client gets into a state where it cannot sync chat messages any more #21727

Open octogonz opened 4 years ago

octogonz commented 4 years ago

Repro steps:

  1. Install Windows desktop client
  2. Chat with some people
  3. Close my laptop screen, which disconnects WiFi and puts Windows into "sleep" or "hibernation" mode
  4. Restart Windows and connect to WiFi again

Expected: Chat resyncs properly Actual: Keybase shows "Digging ancient messages" screen, and is permanently stuck, unable to sync any new messages.

This did NOT fix the problem:

  1. Exit the Keybase client
  2. Run "KeyBase.exe db nuke"
  3. Restart the Keybase client

Result: All the chat history is cleared, but syncing is still broken.

This DOES fix the problem:

  1. Exit the Keybase client
  2. Run "KeyBase.exe db nuke"
  3. Uninstall the KeyBase client
  4. Run the installer again to reinstall Keybase
  5. Restart the Keybase client

Lately I've been getting into this broken state at least once per week.

QUESTION: What does uninstalling do, that keybase db nuke does NOT do?

corincole commented 4 years ago

I also just had this same issue, for second time - last time it seemed to fix itself (or maybe a laptop reboot did it) - this time had the issue and fixed it immediately with the 5 steps @octogonz used.