Comments (13)
The run_keybase
script is not very useful considering that it hardcodes the binary to start in /opt, whereas I package it in /usr/share and start it via /usr/bin/electron
. And it also tries to run a redirector which I don't install, which runs as setuid root.
I'd need to reimplement the script, which I have not done since the only thing it currently does not do (to my knowledge) is mkdir -p "$(keybase config get -d -b mountdir)"
-- hence my issue #1655 and corresponding PR.
If you create the directory by hand this works fine though. Even if you just start kbfs without the GUI. :p
from kbfs.
That fusermount
command shouldn't be fatal, it's just trying to unmount an existing mount if there is one, before it tries to mount the new one. The error code should be ignored (it's prefixed with a -
in the service definition).
If the FS really isn't working, there's probably something else going on later in the logs. You can try keybase log send
and we can see if it's obvious from there.
from kbfs.
I just sent my logs: 8006b217a7e06d16c361701c.
from kbfs.
The error is:
stat /run/user/1000/keybase/kbfs: no such file or directory
Looks like you might have the environment variable $XDG_RUNTIME_DIR
set to /run/user/1000
, but the OS didn't actually create that directory for you. Perhaps you are using su
or sudo
in an unusual way, and don't have a proper login session.
You can always change the mount directory with something like:
keybase config set mountdir /home/you/keybase
from kbfs.
/run/user/1000/keybase/kbfs is the location I've come to expect. The /run/user/1000/keybase folder got created just fine.
Is setting the keybase mountdir to /home/me/keybase the recommended approach? Before switching from keybase-bin to keybase-gui, the "official" package was still using /run/user/1000/keybase.
from kbfs.
@miztroh2 did you start it with run_keybase
? Or were you trying to start it purely via the service stuff? For now, run_keybase
is required.
from kbfs.
run_keybase doesn't seem to be included with the keybase-gui package (or its dependencies keybase and kbfs).
https://www.archlinux.org/packages/community/x86_64/keybase-gui/
from kbfs.
I'm not familiar with that package. @eli-schwartz ?
from kbfs.
The run_keybase
script has some annoying issues, including that kbfs.service does not even work on its own, plus it makes some fairly hard assumptions about how the electron app is packaged (note that the electron binaries provided by keybase are actually invalid machine code and don't run on glibc 2.28, while our electron binaries work fine).
So I've basically had to roll my own start script, and I've already reported the issue where kbfs depends on the GUI launch script in order to function.
from kbfs.
That's obviously not done yet. I thought the package included run_keybase
. Did you take it out?
from kbfs.
I stopped keybase.gui, keybase, and kbfs user services. I then manually created the kbfs folder inside of /run/user/1000/keybase and restarted said services. Everything checked out and I could access the kbfs mount through GNOME Files. However, once I restarted my computer, the kbfs directory was gone. Not sure what would cause that. Any ideas?
from kbfs.
/run
is a tmpfs and will be recreated from scratch at boot.
BTW my mountpoint is still set to ~/.local/share/keybase/fs
(you can use keybase config set mountdir /path/to/custom/mountdir
to relocate it at any time, and indeed it used to be there)
from kbfs.
OK, I've updated my mountdir to the one you specified and that seems to work, even after reboot. Thanks!
from kbfs.
Related Issues (20)
- Ability to Nuke Database HOT 1
- KBFS file size limit of 512 KiB breaks git-remote-keybase HOT 9
- /keybase "resets" at random times HOT 15
- kbfs team folder "split" HOT 4
- CreateFile not call when file name contains colon? HOT 5
- Removing "files before account reset" folder fails HOT 8
- android: git-remote-keybase stderr dup error HOT 12
- Keybase folder is empty HOT 2
- Question: How to use kbfs directly with snap applications? (Ubuntu 18.04.1 LTS) HOT 4
- Truncate file on Linux dosn't always work HOT 6
- Relative paths error on MacOS HOT 2
- keybase chat commands get slower and slower HOT 24
- Latest update of KBFS eating up a bunch of memory on macOS again. HOT 10
- dokan: path does not exist HOT 7
- Is there an obvious reason why I'm having trouble monitoring kbfs with incrond? HOT 8
- Oops. HOT 1
- Enormous KBFS memory usage when not doing anything (Arch Linux) HOT 10
- Extremely slow startup with VPN HOT 5
- incorrect quota state HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kbfs.