obsidian-git icon indicating copy to clipboard operation
obsidian-git copied to clipboard

[Bug]: Fatal : could not read from remote repository.Plese make sure you have the correct access rights

Open prexhu opened this issue 2 years ago • 7 comments

Describe the bug

use command obsidian git push orobsidian git pull show :

image

Relevant errors (if available)

No response

Steps to reproduce

I clone a repo to my machine( ubuntu 22.04). Everything about git is OK on terminal ,when i use obsidian to push or pull repo ,something gonna wrong!

and I try the commands

$ flatpak update md.obsidian.Obsidian
$ flatpak override --reset md.obsidian.Obsidian
$ flatpak run md.obsidian.Obsidian

but it do not work,and i also try

ssh-add ~/.ssh/id_rsa.pub

also useless.

All settings are default ,except commit author

Expected Behavior

No response

Addition context

Buy the way, I used obsidian git on windows ,and it perform perfectly ! Thanks author!

Operating system

Linux

Installation Method

Flatpak

Plugin version

2.16.0

prexhu avatar Feb 25 '23 18:02 prexhu

You may try the answers here.

Vinzent03 avatar Feb 25 '23 19:02 Vinzent03

Thanks you . I read the link that you mentioned , and i try the method . But it still not work for my situation. i even change the mode 777 to .ssh and .ssh/*

prexhu avatar Feb 25 '23 19:02 prexhu

Then you may try a different install method for Obsidian. E.g. AppImage.

Vinzent03 avatar Feb 25 '23 20:02 Vinzent03

Thank you for you suggestion😃, I wandered if any precedents fixed this issue before? I also want to reinstall git on my machine to solve this issue,but I don't know can it work.🤯 Besides,I wanna see "obsidian logo " instead of a "gear"on my desktop, Please forgive me for being a Linux beginner.😭> Then you may try a different install method for Obsidian. E.g. AppImage.

prexhu avatar Feb 25 '23 20:02 prexhu

Reinstalling Git won't change anything, as it's an issue with Obsidian not being able to read your ssh config file. I don't know for sure if you get an icon when using AppImage, but think so.

Vinzent03 avatar Feb 25 '23 20:02 Vinzent03

Reinstalling Git won't change anything, as it's an issue with Obsidian not being able to read your ssh config file. I don't know for sure if you get an icon when using AppImage, but think so.

OK , I will try ApppImage later. Thank you for your suggestion .

prexhu avatar Feb 26 '23 05:02 prexhu

how do you even able to clone your private repo in the first place?

elvisisvan avatar Aug 17 '23 06:08 elvisisvan