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]: Mobile stuck on "This takes longer: Getting Status" #562

Open
MeydanOzeri opened this issue Jul 21, 2023 · 6 comments
Open

[Bug]: Mobile stuck on "This takes longer: Getting Status" #562

MeydanOzeri opened this issue Jul 21, 2023 · 6 comments

Comments

@MeydanOzeri
Copy link

Describe the bug

When trying to push into git from the mobile after changes it doesn't work and only status message you get is: "This takes longer: Getting Status" which after that nothing happens.

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

status message: "This takes longer: Getting Status"

Steps to reproduce

  1. Clone repository of remote vault.
  2. Do any change to files.
  3. Run command: Git commit all stages
  4. Run command: Git push

Expected Behavior

Should push changes remotely

Addition context

It used to work before, but i guess stopped working when the repository became bigger ?

Operating system

iOS

Installation Method

Other

Plugin version

Latest

@Madjister
Copy link

I have the same problem too, however for me whenever I commit and push, no message appears and when I try to pull I get the
"This takes longer: Getting Status" message

@MeydanOzeri
Copy link
Author

Ok i played with isomorphic git and understood the issue, they added a change in the library in v1.24.0 that broke status.
reverting the package to 1.23.0 solves the issue.

@ricardonevesmusic
Copy link

ricardonevesmusic commented Sep 20, 2023

I'm having exactly the same issue on Android.

Plugin version:
2.22.0

Obsidian version:
v1.4.13 on Windows 10 Home x64/PC (latest version available on PC/Android on September 20, 2023)

Android version:
8.1.0

Device:
VDF 820 (latest firmware)

RAM:
3GB

I think it does "push to remote" eventually, but it really takes forever (when compared to the desktop version which happens instantly).

It does repeat the message "This takes longer: getting status" several times (surely more than 2 or 3 times, before it moves any further).

This behaviour looks like almost that the plugin got stuck or that it doesn't have enough memory access to work fast enough and at normal/expected speed.

It's very slow on mobile at the moment (at least for me).

We'll see what happens and if anyone can fix this.

Thank you in advance.

I hope this is helpful (in order to solve the issue/bug).

(anything else that you might need to solve the issue, please just let me know)

@ricardonevesmusic
Copy link

ricardonevesmusic commented Sep 24, 2023

Things seem to be working nicely now.

Just found a way to sync to/from the repo without problems and fast (on mobile).

For now I'm only using a test vault/repo on mobile before trying to do this on my real vaults that I use every day.

Just had to follow the instructions presented in:

https://github.com/denolehov/obsidian-git/wiki/Installation#mobile

For the mobile/phone, you have to follow their specific instructions and clone the repo, otherwise you'll run into problems like "This takes longer: Getting status" on Android/iOS.

You'll have several other errors/problems/issues, if you don't follow their specific instructions for mobile/phone.

The only downside to this, right now, is that the original creation/modification timestamps aren't preserved when you clone the repo or push the files to the repo on GitHub.

Maybe it will be hard to preserve the original timestamps on every device.

The only thing that can work, eventually, is trying to generate a text file or any other document that can store the original timestamps for every folder/file created, maybe through a 3rd-party app/software.

Other than that, it seems to work without any problems now.

I'll keep investigating to see if I can come up with a better solution to store/preserve the original timestamps.

I'll do some extra testing in the meantime.

But yeah, at some point, I'll just have to decide if I want to keep Syncthing or get rid of it (otherwise I'll run into conflicts).

Yeah, that's it.

I'll keep you posted/updated (if I find better solutions for the timestamps).

Thanks 🙏👍

@elvisisvan
Copy link

how exactly do you use isomorphic-git with obsidian-git? the readme has no instructions about it, can you show me how?

@elvisisvan
Copy link

Things seem to be working nicely now.

Just found a way to sync to/from the repo without problems and fast (on mobile).

For now I'm only using a test vault/repo on mobile before trying to do this on my real vaults that I use every day.

Just had to follow the instructions presented in:

https://github.com/denolehov/obsidian-git/wiki/Installation#mobile

For the mobile/phone, you have to follow their specific instructions and clone the repo, otherwise you'll run into problems like "This takes longer: Getting status" on Android/iOS.

You'll have several other errors/problems/issues, if you don't follow their specific instructions for mobile/phone.

The only downside to this, right now, is that the original creation/modification timestamps aren't preserved when you clone the repo or push the files to the repo on GitHub.

Maybe it will be hard to preserve the original timestamps on every device.

The only thing that can work, eventually, is trying to generate a text file or any other document that can store the original timestamps for every folder/file created, maybe through a 3rd-party app/software.

Other than that, it seems to work without any problems now.

I'll keep investigating to see if I can come up with a better solution to store/preserve the original timestamps.

I'll do some extra testing in the meantime.

But yeah, at some point, I'll just have to decide if I want to keep Syncthing or get rid of it (otherwise I'll run into conflicts).

Yeah, that's it.

I'll keep you posted/updated (if I find better solutions for the timestamps).

Thanks 🙏👍

how have you been? any new solutions?

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