obsidian-git: Pushing not working
I’ve installed this plugin, but I’m unable to push or pull commits. Whenever I push, the plugin creates a commit, but fails on pushing with this error (from the console). I have access rights to the repository, and I can push from the command line, so I’m not sure what the problem is. I’m on Ubuntu 20.04, and ssh-askpass
is installed. I connect to my repository using SSH, not username/password.
The error and stack in question:
Uncaught (in promise) Error: Pushing to github.com:NicholasMamo/xyz.git
ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
at GitExecutorChain.onFatalException (eval at <anonymous> (app.js:1), <anonymous>:2536:85)
at GitExecutorChain.eval (eval at <anonymous> (app.js:1), <anonymous>:2527:28)
at Generator.throw (<anonymous>)
at rejected (eval at <anonymous> (app.js:1), <anonymous>:2482:65)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (3 by maintainers)
No, I use SSH to push changes. Pushing from the command prompt works flawlessly.
Hmm, could you try starting Obsidian from command line (using Obsidian AppImage) and see if the problem persists? If you’re using flatpak: