Giter Club home page Giter Club logo

Comments (16)

denolehov avatar denolehov commented on May 26, 2024 1

Hmm, could you try starting Obsidian from command line (using Obsidian AppImage) and see if the problem persists?
If you're using flatpak:

/home/$USER/.local/share/flatpak/app/md.obsidian.Obsidian/current/active/files/obsidian 

from obsidian-git.

NicholasMamo avatar NicholasMamo commented on May 26, 2024 1

No, I use SSH to push changes. Pushing from the command prompt works flawlessly.

from obsidian-git.

NicholasMamo avatar NicholasMamo commented on May 26, 2024

Thanks for the quick reply. It worked when launching the app from the command-line, but it doesn't work when I launch it from dash. Any idea why that is?

from obsidian-git.

denolehov avatar denolehov commented on May 26, 2024

I am not entirely sure, but most likely it is related to the fact that Obsidian instance that you're launching from dash is sandboxed, and it doesn't "see" your $PATH. I didn't pinpoint the issue yet, but it seems like an emerging pattern given other, similar issues some people have.

from obsidian-git.

NicholasMamo avatar NicholasMamo commented on May 26, 2024

Got it. Let me know if I can help in any way! :)

from obsidian-git.

denolehov avatar denolehov commented on May 26, 2024

As a workaround, you could try adding AppImage to dash manually.

from obsidian-git.

jalberto avatar jalberto commented on May 26, 2024

same issue using flatpack.

The workaround is: flatpak run --socket=ssh-auth md.obsidian.Obsidian but this requires to confirm host authenticity each time

from obsidian-git.

NicholasMamo avatar NicholasMamo commented on May 26, 2024

An update from 2 days ago seems to have fixed this issue for me. I'm not sure what update it was because the Obsidian version hasn't changed (it's been at version 0.9.17 for a few days now). Maybe it was an update to this plugin.

from obsidian-git.

pew avatar pew commented on May 26, 2024

Automatic push doesn't seem to work for me either (I set it to 5 minutes intervals), I'm on macOS with Obsidian v0.10.1, any way I can debug this to fix it?

Seems to work after changing the timings a few times and restarting the app. Not sure if just a setting got messed up?

from obsidian-git.

Vinzent03 avatar Vinzent03 commented on May 26, 2024

@NicholasMamo Can I close this now?

from obsidian-git.

NicholasMamo avatar NicholasMamo commented on May 26, 2024

@NicholasMamo Can I close this now?

Not yet, I'm afraid. It hasn't worked for at least a month now. When I push, I get the error: "git: push failed to github.com:username/vault.git bad owner or permissions on vault.git".

from obsidian-git.

Vinzent03 avatar Vinzent03 commented on May 26, 2024

When you push changes from the command prompt. Do you have to type in some password or similar?

from obsidian-git.

ebouchut avatar ebouchut commented on May 26, 2024

FYI, take a look at this.
#39 (comment)

from obsidian-git.

JeremyKennedy avatar JeremyKennedy commented on May 26, 2024

This is what worked for me: #39 (comment)

from obsidian-git.

Vinzent03 avatar Vinzent03 commented on May 26, 2024

I'm now trying to summarize auth methods here

from obsidian-git.

luk14n avatar luk14n commented on May 26, 2024

One possible solution is to create a simple script


# Change to your project directory
cd /path/to/vault

# Add all changes
git add .

# Commit changes with a message
git commit -m "Automated commit"

# Push changes to the remote repository (change to master if needed)
git push origin main

then set a cron job to execute it for every 10 min let's say
*/10 * * * * /path/to/script
P.S. you should set your access token from your gh

from obsidian-git.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.