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]: Cant clone existing git repository #642

Open
mteixeira opened this issue Nov 12, 2023 · 4 comments
Open

[Bug]: Cant clone existing git repository #642

mteixeira opened this issue Nov 12, 2023 · 4 comments

Comments

@mteixeira
Copy link

Describe the bug

My Vault sync stopped working, and then when i tried to create another vault and repository, the same quiet behaviour occurs.

When triing to clone an existing repo, it starts to clone (tooltip notification), restart the vault, but nothing happen.
No files, no config, no branch, nothing.
On mobile version I cannot see my current branch, or other git configs
If repo with .obsidian file, then all configs are missing and git config are lost, and the repo substitution appears not to be replaced.

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

No error appears, only infinite history view refresh, 

no console could be oppened on mobile version.
Notification: No upstream branch is set, pleas select one
I select origin and nothing happens

Steps to reproduce

  • Git clone nan existing remote repo
  • infinite fetch
  • vault auto restart
  • nothing happens

Expected Behavior

  • Git clone nan existing remote repo
  • fetch files
  • vault restart
  • files appears on explorer

Addition context

All operations are strange. Pull, push, fetch

Operating system

Android

Installation Method

None

Plugin version

2.22.0

@mteixeira
Copy link
Author

On some additional test with few files on repository appeared work properly, so it can be related with large ammount of files or size, but i suspect on git internal files, because cleaning repo does not solve the problem

@BasedDrainer
Copy link

Same here

@theIroaia
Copy link

Same happened on my iOS device. After I request pull for a set up repo in a fresh vault, the pop-up notification goes like:
No upstream branch is set. Please select one -> (I selected origin) ->Fetching remote branches -> initializing fetch -> Fetching progress: Compressing objects: 227 of 227
Then Obsidian refreshed and nothing was pulled.

Moreover, if I keep trying to pull from the repo following the above process, it will eventually crash the whole Obsidian app, leaving it to be an unresponsive black screen. I have to kill Obsidian in iOS level.
The black screen problem would happen after 2~3 attempts to pull, as I tested for ~10 rounds.
The vault folder remains empty after these pulling attempts, as I checked in the iOS File app.

The git repo I was working with synced normally between my other macOS and Win devices. The vault is 34.3MB in size as I checked on my computer.

@lflage
Copy link

lflage commented Feb 13, 2024

I just had the same issue with the exact same behavior as @theIroaia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants