-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git plugin not working #5
Comments
@jalberto I've updated the flatpak to use
Does the latest update address this issue, or is there more that needs to be done? |
thanks @joshua-stone Looks like is not yet published in flathub |
@jalberto Has the permission not been updated yet when checking info?
|
The issue is the package has not been updated yet, still in the previous version
|
@jalberto I've republished the build. Does it update now? |
yes! thanks :) now the issue is:
so if Obsidian is not run in the console it's impossible to answer that question as it seems unavailable to find |
Can you describe how it's supposed to behave normally, or how it behaves in the AppImage and/or snap? If the git plugin is verifying with a brand new host, then I'd hope the git plugin maintainer has provided a built-in mechanism like a confirmation dialog to confirm so Obsidian itself doesn't need to be run from a console. If the git plugin in the flatpak is asking to verify with a previously-verified host yet the AppImage and/or snap don't, then that sounds like a bug unique to the flatpak. |
what I can see from the logs is that is trying to run I just tried the appimage version and it works out of the box (I have not snap in my system) |
@jalberto does Additionally if you do |
@jalberto Is there an example repo I can experiment with to test fixes to this bug? I haven't had the time to set up the git plugin. |
@joshua-stone without the git-plugin there is not issues, to replicate this you need to install the plugin (using obsidian settings) and initialize a git repo in your obsidian directory. As soon there is a using @Erick555 As it seems to work as expected in Appimage I wonder if this is related to isolation and the correct combination or permission is required |
@jalberto Can you specify more information about the distribution version you're using when running the flatpak and appimage, and whether you're using password authentication and/or key authentication? I'm running this on Fedora 33, and am having trouble reproducing this behavior. Here's how the git config for my test vault looks:
I can confirm that it does ask for verifying a fingerprint the first time when doing a push. Subsequent runs don't have this issue though, even if launching from the app menu instead of command line afterward:
And to confirm that ssh-auth creates the known_hosts file needed for subsequent pushes. Before:
After:
|
@joshua-stone really appreciate the time you are taking to reproduce this :) I am on Fedora 33 too, and my git config is mostly the same as yours, but using GitLab here (private repository). I am using key authentication protected with a password. I only have this issue with obsidian repo using the flatpack package.
this happens when run twice in a row (last 2 lines if after clicking "close" button in obsidian) |
I made it work by using |
@jalberto could you show
Also does |
|
@jalberto Are you still experiencing this bug with the latest Obsidian builds? |
Sorry for the huge delay, I thought I replied long ago. Still hitting this, but now in Fedora 34, I need to add |
@jalberto Does it work with the latest flatpak build after resetting permissions? |
Similar to other flatpack pkg like flathub/com.visualstudio.code#23
upstream issue: Vinzent03/obsidian-git#22
The text was updated successfully, but these errors were encountered: