graham....@gmail.com
unread,Sep 19, 2008, 6:46:06 AM9/19/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Phusion Passenger Discussions
I have recently changed my server so that some sites no use Passenger
whereas previously they were using a mongrel cluster configuration.
However some of the sites use minimagick to resize images, this no
longer works the following line:
MiniMagick::Image.from_file
Causes this error.
ActionView::TemplateError (ImageMagick command (identify "/tmp/
minimagick5601-1.jpg") failed: Error Given 32512) on line #44 of front/
article.html.erb:
Many of the posts i have found regarding the 32152 error mention
recompiling imagemagick as dependencies may not be satisfied, however
the fact that the exact same configuration works when the site is run
through mongrel_cluster, only when run through passenger does this
occur.
It looks to me like minimagick is not writing the file to the tmp
directory as it should.
Also to compound the problem the same site and setup works on a
different server i also use. So the error only occurs when running on
a particular server through passenger.
Any ideas on the cause of this problem, the only i can think of is
that passenger runs as a different user which is causing problems with
permissions however permissions to the tmp directory are correct.