Hey railsers…anyone run into this problem?
I’m developing an app which I’m deploying with Capistrano. That being
said,
I’ve stuck all the file_column goodies in public/system/…
During my deployment script I chmod -R that directory and everything in
it
to make sure www-data (the apache user/group) has access to it.
In development mode on my Macbook I can upload images and see their
versions
just fine. If I do the same thing on the production server, the image
uploads, but the thumbnail versions (2 of them) don’t get created…I
can
reference the original image and see it just fine, but the versions that
are
supposedly created magically aren’t being created.
After investigation on the server I see they’re being created, but
they’re 0
bytes. There are no errors in the log, I can sudo to the apache user,
and
create files in the same directory - so I’m pretty sure it’s not a
permissions problem.
I’m becoming infected with rage here and about to throw my computer out
the
window…anyone have an idea what the hell is going on?