Can't merge PR on an organization's repo #1575

Closed
opened 2025-11-02 04:05:26 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @feakuru on GitHub (Feb 28, 2018).

  • Gitea version (or commit ref):
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
    2017/11/15 20:09:56 [...io/gitea/cmd/serv.go:172 runServ()] [F] Repository does not exist: username/reponame

Description

When I try to merge a PR in a repository of an organization, I see a plain 500. Logs (see above) contain an error indicating that such a repository does not exist in my user, which is true.
Just now, after a few retries, I was able to merge the PR, but I didn't change anything.

Originally created by @feakuru on GitHub (Feb 28, 2018). - Gitea version (or commit ref): - Git version: - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: 2017/11/15 20:09:56 [...io/gitea/cmd/serv.go:172 runServ()] [F] Repository does not exist: username/reponame ## Description When I try to merge a PR in a repository of an organization, I see a plain 500. Logs (see above) contain an error indicating that such a repository does not exist **in my user**, which is true. Just now, after a few retries, I was able to merge the PR, but I didn't change anything.
GiteaMirror added the issue/stale label 2025-11-02 04:05:26 -06:00
Author
Owner

@appleboy commented on GitHub (Feb 28, 2018):

What is your gitea version?

@appleboy commented on GitHub (Feb 28, 2018): What is your gitea version?
Author
Owner

@feakuru commented on GitHub (Feb 28, 2018):

@appleboy sorry, forgot to mention it.

Gitea version f64c232 built with: bindata, sqlite
git version 2.11.0
Linux hostname 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux

@feakuru commented on GitHub (Feb 28, 2018): @appleboy sorry, forgot to mention it. > Gitea version f64c232 built with: bindata, sqlite > git version 2.11.0 > Linux hostname 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
Author
Owner

@thehowl commented on GitHub (Mar 3, 2018):

what was your git remote, locally?

@thehowl commented on GitHub (Mar 3, 2018): what was your git remote, locally?
Author
Owner

@stale[bot] commented on GitHub (Feb 7, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Feb 7, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@lunny commented on GitHub (Feb 8, 2019):

I will close this issue. Please feel free to reopen it.

@lunny commented on GitHub (Feb 8, 2019): I will close this issue. Please feel free to reopen it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1575