[x]
):When trying to migrate a private Github repo, migration tool fails with following error:
Authentication failed: Clone: exit status 128 - fatal: could not read Username for 'https://github.com': No such device or address
I have tried following senarios:
As long as my repo is private the migrate tool fails. Finally if I make my repo public, migrate tool works as it should.
P.S. Gitea is awesome! Thank you :)
I have the very same issue with the version 1.10.0+dev-129-g6c0c5c531 of Gitea. As a workaround, I specified the following clone URL, and it worked like a charm: https://username:[email protected]/username/repo.git
.
could you confirm that #7917 fixed this issue?
Sorry, my installation is running in a container on ARM64. Currently, I cannot build and test it.
I cannot upgrade my own instance right now. but if the pull request is merged and deployed on try.gitea.io
which right now says 1.10.0+dev-190-g852876a98
, I just created an account and tried to migrate my private repo and it failed again with the error:
Authentication failed: Clone: exit status 128 - fatal: could not read Username for 'https://github.com': No such device or address
what I did was, I created a Personal Access Token with full permissions and provided that as my password in the migrate page and selected all the migration items : Wiki, Milestones, Labels, Issues, Pull Requests, Releases.
I'm running 1.9.2 which supposedly fixed this issue, yet I still have it.
Edit: I did some research and found out it wasn't in 1.9.2
If anyone running into this and needs a "solution" in some way:
https://gist.github.com/lrecknagel/cdb5f85f150f5f15d882651b6119157e
Most helpful comment
If anyone running into this and needs a "solution" in some way:
https://gist.github.com/lrecknagel/cdb5f85f150f5f15d882651b6119157e