client: git-remote-keybase error: (1) keybase isn't running; try `run_keybase`

With a repo I had pushed to previously, now when I git push (or git pull), I’m seeing this error:

git-remote-keybase error: (1) keybase isn't running; try `run_keybase`

…which of course I attempted, and it restarted the gui, but did not fix this problem.

Running on Linux Mint 19.2.

my log id: 570427be80c80a2eddbc261c

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 20 (10 by maintainers)

Most upvoted comments

I wonder if somehow your $XDG variables are set manually in your shell environment, but they’re not exported so that subprocesses don’t inherit the settings?

No, I’m not setting $XDG variables manually, but the problem is indeed with my shell: If I’m running git pull in zsh (my regular shell) it does not work and I get the error in the title. But if I run git pull in bash then it does work.

zsh used to work just fine, and I don’t know yet what changed (there were no changes to my .zshrc AFAIK). If I delete my .zshrc the problem is fixed.

Found it:

I use a zsh plugin called github, which causes this problem. If I remove this plugin from the plugins=(...) line and then exec zsh and git pull then the problem is solved.

I have not investigated further why this plugin causes this to break (likely because it messes with the $XDG env vars, like you said), but I’m happy that it’s working again. Thanks again for your help!