Skip to content
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

[Bug]: Obsidian closes during initial clone #694

Open
mannidung opened this issue Feb 20, 2024 · 4 comments
Open

[Bug]: Obsidian closes during initial clone #694

mannidung opened this issue Feb 20, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@mannidung
Copy link

Describe the bug

When I try to perform an initial clone on my Pixel 7 using Android 14, the initial clone causes Obsidian to crash. After the crash, obsidian-git has disappeared and needs to be installed again.

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

No response

Steps to reproduce

  1. Make sure to have a git repository available on e.g. github.
  2. Create an empty vault using Obsidian 1.4.16 on Android 14
  3. Install obsidian-git 2.23.2 plugin and enable it.
  4. Clone the remote repo:
    • choose to put it in the vault root
    • Select "YES" at "does your remote repo contain a .obisidan directory"
    • Select "DELETE ALL YOUR LOCAL CONFIG AND PLUGINS"
    • Leave "depth of clone" empty for full clone, press enter
    • Cloning starts, after about 5-10 seconds, obsidian closes
  5. Restart obsidian - clone did not succeed and obsidian-git is no longer available.

Expected Behavior

Obsidian should not crash and clone finishes successfully.

Addition context

This error did not happen with Android 13.

I have not been able to retrieve any errors from the console. Please provide instructions on how to extract log output on mobile, and I can provide them.

Operating system

Android

Installation Method

None

Plugin version

2.23.2

@mannidung mannidung added the bug Something isn't working label Feb 20, 2024
@benjaminv
Copy link

benjaminv commented Mar 5, 2024

I am having this too after making a relatively large number (64 commits, involving 200 files) of commits on PC. No longer able to do any git command on mobile devices now, including a Galaxy Tab 8 running Android 11 and iOS 17. Feeling this maybe related and useful however not sure how may I edit .git/config file on mobile.

Plugin version

2.24.0

Device OS

iOS 17, Android 11

@benjaminv
Copy link

since this in README, I guess there is very little can we do to fix this.

Mobile
The git implementation on mobile is very unstable!

Restrictions
I am using [isomorphic-git](https://isomorphic-git.org/), which is a re-implementation of Git in JavaScript, because you cannot use native Git on Android or iOS.

SSH authentication is not supported (https://github.com/isomorphic-git/isomorphic-git/issues/231)
Repo size is limited, because of memory restrictions
Rebase merge strategy is not supported
Submodules are not supported

@iostreamrain
Copy link

same issue

@vertoker
Copy link

I have same issue and Obsidian crashes with out of memory exception

Screenshot_2024-05-18-17-39-58-117_com.miui.bugreport-edit.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants