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

Cannot start KBFS (CentOS) #2202

Open jczimm opened 8 years ago

jczimm commented 8 years ago
[kbuser@myserver ~]$ keybase login
[kbuser@myserver ~]$ run_keybase
Shutting down keybase service...
Launching keybase service...
Mounting /keybase...
Launching Keybase GUI...
Success!
...
[kbuser@myserver ~]$ keybase status
Username:      jczimm
Logged in:     yes

Device:
    name:      UMB
    ID:        dc0d7a7eb36cec744be7a897f1121618
    status:    active

Session:       no session
    is valid:  yes
    keys:      locked

KBFS:
    status:    not running
    version:
    log:       /home/kbuser/.cache/keybase/keybase.kbfs.log

Service:
    status:    running
    version:   1.0.14-20160301170037+007cece
    log:       /home/kbuser/.cache/keybase/keybase.service.log

Platform Information:
    OS:        linux
    Runtime:   go1.5.3
    Arch:      amd64

Client:
    version:   1.0.14-20160301170037+007cece

Desktop app:
    status:    not running
    version:
    log:       /home/kbuser/.cache/keybase/Keybase.app.log

Config path:   /home/kbuser/.config/keybase/config.json
Default user:  jczimm
Other users:

command-line client:
    keybase status [pid: 5193, version: 1.0.14-20160301170037+007cece]
[kbuser@myserver ~]$ keybase log send
...

my log id: ef435fb1815e8057cef29d1c

cjb commented 8 years ago

Could you send:

 ls -la `which fusermount`
jczimm commented 8 years ago
ls -la `which fusermount`

gives me:

-rwsr-xr-x 1 root root 32584 Jun 10  2014 /usr/bin/fusermount
cjb commented 8 years ago

The error is 5 2016/03/02 21:38:35 mount helper error: fusermount: failed to access mountpoint /keybase: Permission denied, but I don't see why you're getting that error.

jczimm commented 8 years ago

Won't it have more to do with the permissions set for /keybase?

cjb commented 8 years ago

I think they should be 777. Can you confirm that?

jczimm commented 8 years ago
[kbuser@myserver ~]$ sudo ls -la / | grep keybase
drwxr-xr-x    1 root root     0 Mar  2 21:30 keybase

[kbuser@myserver ~]$ sudo chmod 777 /keybase

[kbuser@myserver ~]$ sudo ls -la / | grep keybase
drwxr-xr-x    1 root root     0 Mar  2 21:30 keybase
jczimm commented 8 years ago

Any update?

cjb commented 8 years ago

No, sorry. We don't use CentOS; if I hear of someone getting it working there I'll try to update this issue with how.

jczimm commented 8 years ago

Okay, thanks!

strib commented 8 years ago

@jczimm: you might need to do:

usermod -a -G fuse $USER

(mentioned on https://www.centos.org/forums/viewtopic.php?t=6316).

jczimm commented 8 years ago

@strib I'm not sure that this is directly related; there is no "fuse" group on my server.

strib commented 8 years ago

@jczimm: Ah, does yum install fuse fuse-dev do anything? Maybe fuse isn't installed by default in CentOS. (Though it'd be weird to get a permission denied error in that case.) Sorry, I don't have one handy for testing.

jczimm commented 8 years ago

@strib That seemed to update fuse, but no fuse-dev package was available.

cjb commented 8 years ago

fuse-devel maybe?

jczimm commented 8 years ago

I successfully installed fuse-devel. The error persists.

lsim commented 4 years ago

Any progress on this in the mean time?

<edit> I just realized I just needed to execute run_keybase on my headless centos server. The kbfs folders appeared with the expected contents! </edit>

Maybe this issue can be closed?