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

Sometimes sync fails #7

Open
DovieW opened this issue Dec 19, 2023 · 5 comments
Open

Sometimes sync fails #7

DovieW opened this issue Dec 19, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@DovieW
Copy link
Owner

DovieW commented Dec 19, 2023

Screenshot_20231218-234554.png

@DovieW DovieW added the bug Something isn't working label Dec 19, 2023
@DovieW
Copy link
Owner Author

DovieW commented Dec 24, 2023

Screenshot_20231223-192131.png

@DovieW
Copy link
Owner Author

DovieW commented Dec 24, 2023

When i get such issues, just going into the directory in Termux and running git sync -ns works

@DovieW
Copy link
Owner Author

DovieW commented Jan 21, 2024

Doesn't seem to actually be a network issue. if i run the Sync (all) Vaults script, it just keeps happening.

@DovieW
Copy link
Owner Author

DovieW commented Apr 10, 2024

the network error is from the git-sync script so that can be ignored.

I was able to fix the object file is empty with git fsck --full

If you need the changes from the remote, a safe bet is git fetch && git reset @{u}

@DovieW
Copy link
Owner Author

DovieW commented Apr 10, 2024

maybe the fix would be to auto git fsck --full if a sync fails. and that can be toggled with an env var and it defaults to true

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

1 participant