Actions
Defect #25868
closedCan't upload over 2GB file
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Attachments
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
I use bitnami-redmine-3.3.3-0-windows-installer.exe to install Redmine.
My OS is win7 64 bit.
I set the upload file limit to 4GB.
But when I upload the large file that over 2 GB file it will show Internal Server error.
The Productions.log show below.
Processing by AttachmentsController#upload as JS
Parameters: {"attachment_id"=>"1", "filename"=>"release1.tgz", "content_type"=>"application/gzip"}
Current user: admin (id=1)
Completed 500 Internal Server Error in 140ms (ActiveRecord: 78.0ms)
RangeError (bignum too big to convert into `long'):
app/controllers/attachments_controller.rb:92:in `upload'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
Actions