-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Unable to Download ZIP/TAR.GZ Files from Web UI #33862
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
Comments
What does the Gitea's log say? Is there any error? |
One more thing, does the queue system work? Check it from admin panel -> monitor -> queue |
No there were absolutely no errors in the logs. But your second hint seems to be the solution. under So i think the problem was, that gitea already had so much queues because of our Repo-syncs and the out of Memory situation, that this download requests initiaded a new jop (Status 200) but this then again had a timeout or something like this. Maybe there should be in this situation a error if, you could implement something try-catch-like i think this could be helpful for other people like me in this situation. But thank you very much for your fast answer. |
The real problem is that Gitea's levelqueue sometimes could become corrupted. At the moment there is no way to recover besides manually delete the items in the corrupted queue. More information: Help to recover from corrupted levelqueue #24912 |
Ok yes that seems to be the one.. thanks for the link. |
Uh oh!
There was an error while loading. Please reload this page.
Description
We are experiencing an issue where downloading
.zip
or.tar.gz
files from the Gitea web UI does not work. The problem occurs for all repositories and organizations. When attempting to download, the browser continuously shows the loading indicator on the download-button (spinning circle), and the network requests to download files (e.g.,main.zip
) return status200
every second, with the following response:This happens infinitely, even for very small repositories (~50KB in size).
Steps to Reproduce
main.zip
(or main.tar.gz) appear in the network tab with{ complete: false }
.Expected Behavior
The ZIP or TAR.GZ archive should be generated and downloaded without issues.
Actual Behavior
The request to download never completes. The server continuously responds with
{ complete: false }
, and the browser keeps retrying.Environment Details
Diagnostic Findings
We tested with
inotifywait
to monitor file access when attempting to download a ZIP file.On the affected production server, there is no indication that a ZIP file is being created. The logs only show access to
.gitconfig
, repositoryconfig
, andrefs/heads/main
, but nothing related to ZIP creation.On a freshly installed test system, we observe that the ZIP file is created when clicking "Download ZIP."
Example from the affected server:
No
.zip
or.tar.gz
file creation attempt is seen.Example from the working-test system:
We also tried to performed all possible maintenance operations that we can start over the webUI. - Nothing worked, to fix this issue.
Gitea Version
1.23.5
Can you reproduce the bug on the Gitea demo site?
No
Operating System
Rocky Linux 9
How are you running Gitea?
The service is started as Systemd Service with the following ExecStart command:
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: