Comments (16)
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.
No, I use SSH to push changes. Pushing from the command prompt works flawlessly.
from obsidian-git.
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.
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.
Got it. Let me know if I can help in any way! :)
from obsidian-git.
As a workaround, you could try adding AppImage to dash manually.
from obsidian-git.
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.
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.
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.
@NicholasMamo Can I close this now?
from obsidian-git.
@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.
When you push changes from the command prompt. Do you have to type in some password or similar?
from obsidian-git.
FYI, take a look at this.
#39 (comment)
from obsidian-git.
This is what worked for me: #39 (comment)
from obsidian-git.
I'm now trying to summarize auth methods here
from obsidian-git.
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)
- [Bug]: Git pull for Git submodules fail when no upstream remote repo defined HOT 2
- [Feature]: Force pull / reset --hard HEAD HOT 6
- [Feature]: Multiple Repository
- [Bug]: plugin is not installing HOT 1
- [Bug]: Android: "%%%%%" on left of each line in source mode HOT 2
- using another git lib on android HOT 3
- [Enhancement] Multiple remotes support HOT 1
- [Bug]: Obsidian freezing from having any setting enabled HOT 1
- Feature request: Support Git move HOT 1
- [Bug]: GPG doesn`t work when program is .sh file or with ~/
- [Feature]: Make Auto Backup commits amendable HOT 1
- [Bug]: Git init doesn't work properly when a custom git-dir value is set through the 'Custom Git directory path' setting HOT 1
- [Bug]: git obsidian error: TypeError [ERR_INVALID_ARG_VALUE]: The argument 'args[6]' must be a string without null bytes HOT 1
- [Proposal]: Rename the plugin to "Git Backup" HOT 1
- [Feature Request]: Push on Close HOT 1
- [Bug]: wrong order in git backup HOT 3
- [Bug]: Freshly installed plugin renders Obsidian unusable! HOT 4
- [Bug]: Persistent Authentication Requests HOT 2
- [Enhancement Suggestion]: Make .git folder outside of value folder by default HOT 2
- [Bug]: Plugin causes Micro lags
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-git.