Strange problem with file upload in documents
Just installed remine.
All works fine, but I can't upload file more than 6Kb or near that. If I try to upload larger file, I gain "500 Internal Server Error". How to fix than, or to enable debug mode to find out the reasons of error?
Could you post the exception trace you'll find in your
log/production.log file, please ?
There is nothing there.
No exceptions or errors. I've attached file
Maybe I should enable deeper loglevel somewhere?
production.log (7.57 KB)
What's your Redmine version ?
What's your http / ruby server ?
Did you really mean 6kb, not 6mb ?
http://redmine.sidewinder.su is unavailable with a HTTP 500, is it normal ?
- ruby --version
ruby 1.8.7 (2010-08-16 patchlevel 302) [amd64-freebsd8]
Apache/2.2.17 (FreeBSD) mod_ssl/2.2.17 OpenSSL/0.9.8n DAV/2 PHP/5.2.17 with Suhosin-Patch Phusion_Passenger/3.0.2
Yes. 6Kb or near that. I can upload file 7275 bytes, but 8852 bytes cause 500 error
I was adding some changes to httpd.conf. It could be unavailabe fore some time.
Is your Redmine version 1.1.1 ?
Redmine 1.1.1.stable (MySQL)
What are your upload limits (Redmine and Passenger) ?
For Redmine - default 5Mb
As about Passenger.. I couldn't find where I can see this
Sorry, I meant Apache.
there is no any limitations in httpd.conf
but this string in php.ini and doesn't have any influence on ruby applications
I've traced with httpFox that if I upload big file, apache accepts only 256Kb, then brakes the connection. In error log appears a string "Child closed with signal 10".
If there any limitations in fastCgi mode for passenger?
I'm don't know much about Apache / Passenger / fastCgi :(
Don't you have some more information in
/var/log/myapp_fcgi_crash.log (see source:trunk/public/dispatch.fcgi.example) ?
Found one more thing
If I start WEBrick web server
ruby script/server -e production
and try to work directly with it at port 3000, all works fine
Though there is a problem in interface between apache and ruby
will try no run redmine with nginx
It was in permissions to passenger dir for buffered uploads
solved by adding PassengerUploadBufferDir with path to writeable directory in httpd.conf