You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do a migration of type "git", from another gitea instance, where the repo is private. Don't provide credentials.
Starting the migration, the task hangs indefinitely. It can't be killed in the admin dashboard either..
As I can't repro on try.gitea.io, this might be an sqlite race?
Screenshots
The text was updated successfully, but these errors were encountered:
I have/had the same issue while implementing the push mirror in #15157. The reason is the git client which tries to read the credentials from the command line. So it waits until it gets killed. I prevent this situation with the environment variable GIT_TERMINAL_PROMPT=0. Then it just fails with Authentication failed: Clone: exit status 128 - fatal: could not read Username for '...': terminal prompts disabled. The problem is GIT_TERMINAL_PROMPT was introduced with Git 2.3 (released 2015). If there is no other solution we need to set the minimum supported version to Git 2.3 for Gitea.
[x]
):Description
Do a migration of type "git", from another gitea instance, where the repo is private. Don't provide credentials.
Starting the migration, the task hangs indefinitely. It can't be killed in the admin dashboard either..
As I can't repro on try.gitea.io, this might be an sqlite race?
Screenshots
The text was updated successfully, but these errors were encountered: