We migrated a repository from a Gitea server to BitBucket. When we try to clone via HTTPS we get the following error:
Error downloading object: : Smudge error: Error downloading : Object does not exist on the server: [404] Object does not exist on the server.
I followed this SO answer and I can clone, but when I do the git lfs pull
I get a bunch of
[404] Object does not exist
I then tried setting the lfs.url value as in this answer and then a git lfs pull
results in
Repository or object not found: /objects/batch, Check that it exists and that you have proper access to it.
After that, I saw some posts about issues with LFS and HTTPS so I tried cloning with SSH. (created new SSH key, added it to BitBucket, etc) This resulted in
error: external filter 'git-lfs filter-process' failed, fatal: : smudge filter lfs failed, warning: Clone succeeded , but checkout failed.
I then tried running git lfs install --skip-smudge
and cloning again via SSH. This worked, again, but the files are not accessible and when I run git lfs pull
now I get the following message multiple times:
batch request: git@bitbucket.org: Permission denied (publickey).: exit status 255
How do I fix this?