[Obsidian Git][Android] NotFoundError / Could not find

image

I can’t push to my repo, I just get “Initializing push”, a long pause, then "Could not find: " and then a long hex string. Can anyone help me:

  1. Figure out what file or line it’s referring to?
  2. Share a similar experience and what you did?

This on Android. My Windows and Linux PC’s are using the plug-in just fine.
My personal access token was expired, so I did have to generate a new one, but it has all the permissions. Also I can pull from the private repo, so some kind of authentication is working.

Update: I got into the source code and it looks like this couldn’t be authentication related, so there’s something else. Gonna see if there’s something essential that I added to the .gitignore.

I have now tried cloning my repo into a new vault, and still can’t push from that one.

Also tried deleting everything in the .gitignore, in case d80... was somewhere in there.

New vault throws the same NotFoundError when trying to push, and is missing something with the same same.

The hash seems like a git hash commit id. Which then would mean it doesn’t find this commit in your index…?
Are you sure this same error comes on a newly created repo freshly cloned?

You need to create a repo on GH, clone it into your PC, add your vault to that repo without the earlier repo’s .git folder of course, upload (add + commit + push) on PC (easier to do on GitHub Desktop), then clone on Android and try again.

1 Like

Not a newly created repo, just a fresh clone of the same repo. I’ll try a new GH repo when I can get back to one of my non-Android devices.

I don’t think it could be the commit ID, because it’s the same hash on the fresh clone as it was on the original, and it would have generated a different one for the new commit I tried with.

Also thank you for the response! I thought I was just going to struggle alone forever.

1 Like

No, it’s razzle-dazzle time, baby.

1 Like