Open ethanimproving opened 1 year ago
I am having the same issue. The close starts and then disappears, no files ever being pulled.
Same problem for my iPad and Android - Obsidian crashes on first pull. On iPad it manages to show git message "Counting objects 150/150", but on Android just crushes
The workaround is to make initial pull from a terminal app. For Android I used Termux (got idea from https://gist.github.com/Makeshift/43c7ecb3f1c28a623ea4386552712114) to run git pull in /storage/emulated/0/Notes/Main directory. Then obsidian-git is woking fine: able to pull and push by itself. For iPad i used iSH (idea from https://github.com/denolehov/obsidian-git/issues/413#issuecomment-1373783604) and then obsidian-git can make pull, BUT on push the error happens, something like: "Promise.allSettled is not a function". Still looking for workaround
Same here. iPhone shows 'Initializing clone' for about a minute, and then Obsidian crashes.
Same here on android, clone starts, then app crashes after the last step "Over-write .obsidian folder" .I did initial clone via termux, then obsidian-git can pull okay, but can't push/commit. I can push from termux without issues,so I think its an obsidian-git issue. Is there a way to check the logs of this plugin ?
Has anyone found a workaround that allows push from the obsidian app?
Edit: I just found a solution, download an old version of Obsidian Git and install it manually (I chose one at random, so I don't know which version has caused the trouble). Then clone your repo and install the old verion of Obsidian Git inside it.
I am experiencing the same issue, @KubGames how did you downloaded and installed older obsidian git for mobile app?
I am experiencing the same issue, @KubGames how did you downloaded and installed older obsidian git for mobile app?
Go to releases and download the zip of an old version , It will be called "obsidian-git...zip" (I don't remember which I installed, so it's try and error until you find one that works). Extract it inside .obsidian/plugins and reload Obsidian.
Out of curiosity I tried another method that worked even better.
Same issue here. I've used the workaround proposed by @gBonvenuto and it worked. Thank You!
Could it be that the reason for this bug is the repo size? I know regular git can increase the buffer size, is there a way to do it for the js implementation?
4. Open the command pallet and type "edit remotes" and select the appropriate command
Edit remotes does not open on the latest version of Obsidian and Git plugin. Pull does not work either.
Describe the bug
When attempting to clone any existing repository, nothing happens. It waits about 3 seconds and then blinks as though it did something, but there are no files.
Relevant errors (if available)
Steps to reproduce
Expected Behavior
The repo should be cloned.
Addition context
This happens for both my Pixel 1 and my iPhone 14 Pro. Initially I had a somewhat large repo with images, and got a Buffer error, so I deleted the vault from mobile to clone it fresh, then I encountered this problem. After playing around, I decided to create a brand new repo with only 1 md file and no images, and still Obsidian Git is not able to clone it.
Operating system
iOS
Installation Method
Other
Plugin version
2.16.0