Project

General

Profile

Actions

Defect #25868

closed

Can't upload over 2GB file

Added by allen chen almost 7 years ago. Updated almost 5 years ago.

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 #1

Updated by Toshi MARUYAMA almost 7 years ago

  • Category changed from Files to Attachments
Actions #2

Updated by Toshi MARUYAMA almost 7 years ago

  • Status changed from New to Needs feedback

I think Bitnami provides 32 bits Ruby, not 64 bits.

Actions #3

Updated by allen chen almost 7 years ago

How to install Redmine with Ruby 64 bits on win7 64 bit?
If I download Ruby 64 bits can I just replace the Ruby folder directly?

Actions #4

Updated by Toshi MARUYAMA almost 7 years ago

Please ask bitnami team.

Actions #5

Updated by Go MAEDA almost 5 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid
Actions

Also available in: Atom PDF