denolehov / obsidian-git

Backup your Obsidian.md vault with git
MIT License
6.15k stars 252 forks source link

[Bug]: Pushing broken on iphone obsidian git #609

Open AdityaKrishnaProjects opened 9 months ago

AdityaKrishnaProjects commented 9 months ago

Describe the bug

Pushing stops working on iphone obsidian git, but works briefly after recloning.

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)

No errors from console. Phone gets stuck on initializing push. 

https://media.discordapp.net/attachments/232554307755573248/1155686950875959326/image.png?width=459&height=993

Steps to reproduce

Clone a repo using alpine client (iphone app iSH).

Set author information and provide authentication key.

Use obsidian git, and eventually push will break. Pull and commit fully functional.

Expected Behavior

Should be able to push.

Addition context

This issue arises on the phone after 1-2 days of using obsidian git as my sync method. I am using iSH as the client through which I am initially cloning the repo, but then from there using obsidian git to manage my push, pull and commits. After a fresh clone the issue stops for a bit, but eventually return. My guess is that the request somehow times out. My confusion is that it somehow is fixed when I clone the repo fresh.

I have a suspicion that this may be related to iSH, but I do not know how to investigate this further as I get no error message.

Operating system

iOS

Installation Method

None

Plugin version

Newest

AdityaKrishnaProjects commented 9 months ago

Hasn't been an issue for a couple days with current clone of vault, which leads me to believe it's not an issue with vault size

idalsin commented 8 months ago

I've been seeing this as well on iOS, though unsure how to consistently reproduce. After editing a file I will commit all changes, then push - the "initializing push" banner message appears, hangs for approx 60-75 seconds, and then it looks like the plugin restarts. The push does not complete and there is no error message. This happens on both manual push and the scheduled backup push.

I am not using any other client like iSH or Working Copy, but handling everything through this plugin.

It appears that sometimes fully restarting the iPhone fixes the issue and allows a push to succeed.

TheUncannyObserver commented 5 months ago

I'm also having this issue now as well.