Project

General

Profile

Can not upload larger file suddenly!?

Added by ChunChang (Nagaharu) Lo over 13 years ago

Hello,

After upgrading to Redmine 1.0.3.devel.4425 via svn, I found that I can only upload small file to redmine. The error message when i tries to upload large file is:

Application error
Rails application failed to start properly

I have set the largest file size to 20480 in the settings page. But the largest file size that can be uploaded to redmine successfully is about 120KB.

I'm using fcgi to run redmine and nothing useful is logged in the log file. Where should I look now?

Thanks a lot.

shortie


Replies (3)

RE: Can not upload larger file suddenly!? - Added by ChunChang (Nagaharu) Lo over 13 years ago

Dears,

I've found the problem. Our system administrator update mod_fcgi to 2.3.6, the default value of FcgidMaxRequestLen is changed from 1GB to 128KB. After setting it to the valude I needed, the upload function is back to normal again.

References:
http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidmaxrequestinmem

RE: Can not upload larger file suddenly!? - Added by Richard Körber over 12 years ago

Thank you! You saved me a lot of time for the bug search.

RE: Can not upload larger file suddenly!? - Added by Axel dV over 10 years ago

@ChunChang: men, you just saved me too. That was a tricky one, I would've never figured this out !!
Thanks again !!

    (1-3/3)