-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Max File Size for LFS Files? #1536
Comments
After a hard searching, I figured out it's IIS who did the trick. All requests are filtered and rejected if its content length is over 30,000,000 bytes by default. |
@hillin please extend this https://github.com/gitbucket/gitbucket/wiki/Installation-on-IIS-and-Helicontech-Zoo wiki page with this info. |
@aadrian I've updated the wiki page. |
@hillin thanks. I suppose other webservers might also have default values that prevent "unlimited" upload/download :) . |
@aadrian yes, that's totally reasonable. But what surprised me is, although gitbucket is running as a standalone program on my server (started directly with java.exe), it is still under control of IIS. |
@hillin Thanks for updating Wiki 👍 |
Issue
Impacted version: 4.11
Deployment mode: standalone app on a Windows Server 2016 machine, intranet access via a 1Gbps wired network
Problem description:
LFS files over 30,000,000 bytes cannot be pushed.
I've created a dummy file (
1fb535...
) of size 30,000,001 bytes, runninggives a 404 error while PUTting (see the log attached at the end of this issue, too long). However, if this file is one byte shorter, it can be pushed successfully.
Is there a place I could config the max file size?
The log attached:
The text was updated successfully, but these errors were encountered: