GithubHelp home page GithubHelp logo

/keybase "resets" at random times about kbfs HOT 15 OPEN

kg4zow avatar kg4zow commented on September 28, 2024
/keybase "resets" at random times

from kbfs.

Comments (15)

strib avatar strib commented on September 28, 2024 1

@nwbt above I linked to a build you can try.

from kbfs.

strib avatar strib commented on September 28, 2024

Updating the software while you're cd'd into a directory (which causes a mount/unmount of the file system) is usually what causes this. Though it could be something else too, like a crash in our code.

If you don't think it corresponds to updates, please do a keybase log send and put the resulting log ID here, and we'll take a look.

from kbfs.

kg4zow avatar kg4zow commented on September 28, 2024

It just happened. This time I happened to catch the Keybase icon "blink" on the screen for a bit, and then the current directory in which I was working became invalid.

Log ID: 0e0e02372e0b80940b18141c

Also ran keybase --version after doing the keybase log send ... the version number did not change.

from kbfs.

strib avatar strib commented on September 28, 2024

Thanks. Looks like you are hitting keybase/client#12817. Can you please try the build referenced here and see if it helps?

from kbfs.

kg4zow avatar kg4zow commented on September 28, 2024

Installed keybase version 2.4.0-20180719225238+67ef6ce70a, will follow up here in a day or two.

from kbfs.

nwbt avatar nwbt commented on September 28, 2024

Seeing the same issue with version 2.3.0-20180710171051+64615d6258 on macOS 10.13.6 (17G65)

from kbfs.

nwbt avatar nwbt commented on September 28, 2024

@strib seems to be working so far. I'll follow up in a few days. Also I'm seeing a constant state of "UPLOADING CHANGES..." though it does not seem to impact functionality.

screen shot 2018-07-26 at 11 16 05

screen shot 2018-07-26 at 11 14 23

from kbfs.

strib avatar strib commented on September 28, 2024

@nwbt If you do a keybase log send, and post the resulting ID here, I can take a look at what might be stuck uploading, if anything. Though note that the previous bug would have prevented uploading anything you had written before, so it might just be draining that all now.

from kbfs.

nwbt avatar nwbt commented on September 28, 2024

@strib thanks! still hanging on UPLOADING CHANGES... log ID 30ed30080ca8e2146474db1c let me know how I can help

from kbfs.

strib avatar strib commented on September 28, 2024

Hmm, I don't see any actual uploads happening anymore.

Can you paste in the output of cat /keybase/.kbfs_status here? (It contains local paths that expose your local username, so if you prefer, you can copy it into a private folder with me instead: cp /keybase/.kbfs_status /keybase/private/strib,nwbt/kbfs_status.)

from kbfs.

nwbt avatar nwbt commented on September 28, 2024

The /keybase/.kbfs_status file does not exist anywhere on the file system

from kbfs.

strib avatar strib commented on September 28, 2024

It's created when you try to read it -- it's a special virtual file that we make when you ask for it. Just try to cat or cp it and see.

from kbfs.

nwbt avatar nwbt commented on September 28, 2024

very cool ... shared it with you privately

from kbfs.

strib avatar strib commented on September 28, 2024

@nwbt ah I see now, one of your folders (a private one shared with another user) is stuck, unable to flush its data to our servers. It's stuck in what we call a "conflict" state, where it's trying to reconcile your local data with the current server-based state of the folder. But due to what looks like a bug in our code, it can't reconcile them, and is failing with this error:

2018-07-26T09:32:31.631406-07:00 ▶ [DEBU kbfs(CR 154983ba) conflict_resolver.go:3254] e68 Finished conflict resolution: No chain found for BlockPointer{ID: 0165391bab109fdb9c7e43f8149a6ab488303b172b3cb3a88a3f77dd8596db6a6a, KeyGen: 3, DataVer: 3, Context: Context{Creator: 879f106a3c4cfcc1e8603ec6550a5b19}, DirectType: direct} [tags:CRID=WTUXf9VnuesSU9sR8KEMCw]

This might be the same underlying problem as keybase/client#11373, which we haven't fixed yet.

Unfortunately, due to the original error you were having, any logs that would have helped us figure out the issue are probably long gone from your machine.

But, you can work around this and fix the problem with the following steps I think:

  1. Save any data from that shared folder, that you can't recover from anywhere else, onto your local hard drive by copying it out of KBFS. (If you don't know which shared private folder I'm talking about, write me on Keybase -- I don't want to mention the other user publicly. You have about 150 MB of unsynced data in the folder. You can probably also figure out the name from the .kbfs_status file you shared with me by looking at the unflushed file list.)
  2. Completely quit out of the Keybase app, so that the mounted file system is no longer available.
  3. Run this command from the terminal:
mv "/Users/$USER/Library/Application Support/Keybase/kbfs_journal/v1/0120a83cf3fbe8bc669d07484d6c48f9e5dc-154983ba38adeea3" "/Users/$USER/Library/Application Support/Keybase/kbfs_journal/v1/154983ba38adeea3.bkp"
  1. Restart Keybase

Now you can copy all that data back into the shared folder and things should work again. Sorry for the inconvenience!

from kbfs.

kg4zow avatar kg4zow commented on September 28, 2024

It seems to have helped "more or less", i.e. I've only noticed it happen once since installing the debug build (which is a big improvement over 3-4 times per hour).

from kbfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.