Mirroring a large repo through the API causes the task to fail #13209

Closed
opened 2025-11-02 10:35:03 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @hi-noikiy on GitHub (Jun 26, 2024).

Description

When creating a mirror repository through the API, the corresponding task cannot be created. When encountering a relatively large repository, the creation always fails.

Gitea Version

1.21.11

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

None

Originally created by @hi-noikiy on GitHub (Jun 26, 2024). ### Description When creating a mirror repository through the API, the corresponding task cannot be created. When encountering a relatively large repository, the creation always fails. ### Gitea Version 1.21.11 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? docker ### Database None
GiteaMirror added the issue/needs-feedbacktype/bug labels 2025-11-02 10:35:03 -06:00
Author
Owner

@techknowlogick commented on GitHub (Jun 26, 2024):

Thank you for opening the issue report. A few questions:

  • Are you able to provide a public repo that you have been able to notice the error with?
  • Is the error only happening with the API, can you successfully create the mirror the repo using the web interface?
  • Can you upgrade to the latest stable version (currently it is 1.22.0), and test to see if you face the same error?
  • Can you provide any logs of errors happening with the mirroring process?
@techknowlogick commented on GitHub (Jun 26, 2024): Thank you for opening the issue report. A few questions: * Are you able to provide a public repo that you have been able to notice the error with? * Is the error only happening with the API, can you successfully create the mirror the repo using the web interface? * Can you upgrade to the latest stable version (currently it is 1.22.0), and test to see if you face the same error? * Can you provide any logs of errors happening with the mirroring process?
Author
Owner

@GiteaBot commented on GitHub (Jul 29, 2024):

We close issues that need feedback from the author if there were no new comments for a month. 🍵

@GiteaBot commented on GitHub (Jul 29, 2024): We close issues that need feedback from the author if there were no new comments for a month. :tea:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13209