-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Error during Gitea 1.21.x upgrade Add RemoteAddress to mirrors failed No such remote 'origin' #29132
Comments
I'm experiencing the same issue, however I beleive I have found a solution. By navigating to your Gitea's repositories folder and manually adding a remote origin with the name "origin" this resolves the issue. I believe the issue is caused by mirrors without a remote address. Steps to resolution
|
Yes, that's exactly what the error means. |
In my case I had to fix a broken Gitea instance by manually placing repository files and adopting them, among other things; all of which were done many months ago. This is likely the cause. |
@go-compile @delvh thank you for the response, everything is working properly after adding all the remotes. |
Automatically locked because of our CONTRIBUTING guidelines |
Description
I encountered an error while upgrading Gitea from version 1.20.x to 1.21.x. the upgrade process fails with an error message, whereas the previous version (1.20.x) was working fine.
Gitea Version
1.21.5
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: