# Passenger error on Acts\_as\_attachment\_fu

**URL:** <https://www.ruby-forum.com/t/passenger-error-on-acts-as-attachment-fu/173807>\
**Category:** Rails\
**Created:** [August 15, 2009, 12:02pm UTC](https://www.ruby-forum.com/t/passenger-error-on-acts-as-attachment-fu/173807 "2009-08-15T12:02:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trausti\_Thor\_J](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/5daacb/32.png) [@Trausti\_Thor\_J](https://www.ruby-forum.com/u/Trausti_Thor_J)\
**Post date:** [August 15, 2009, 12:02pm UTC](https://www.ruby-forum.com/t/passenger-error-on-acts-as-attachment-fu/173807/1 "2009-08-15T12:02:38Z")

</div>

Hi All,

I just installed acts\_as\_attachemnt\_fu and it works on Mongrel and  
Webrick,  
but not on phusion passenger.  
I am totally stumped, and there is no log anywhere to say what is wrong,  
just this error :

The server encountered an internal error and was unable to complete your  
request. Either the server is overloaded or there was an error in a CGI  
script.

Why is this failing on phusion ? Anything specific I need to do ?

Trausti

---

<div class="post-metadata">

**Author:** ![Trausti\_Thor\_J](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/5daacb/32.png) [@Trausti\_Thor\_J](https://www.ruby-forum.com/u/Trausti_Thor_J)\
**Post date:** [August 15, 2009, 12:32pm UTC](https://www.ruby-forum.com/t/passenger-error-on-acts-as-attachment-fu/173807/2 "2009-08-15T12:32:29Z")

</div>

I ust found out why. For some reason it refused to write larger  
files, but when I put this in the virtual host file :

PassengerUploadBufferDir /tmp

Everything works as planned now.

Trausti

On Sat, Aug 15, 2009 at 12:01 PM, Trausti Thor
