Hi,
I'm feeling pretty silly with a canvas upgrade - I'm sure I've done something stupid with the config/setup but I can't work out what.At various times I've had permission problems with /tmp/attachment_fu and I think it worked once, but now I'm completely confuddled.
After successfully uploading a PDF (at least in terms of the UI), the preview (via Google docs) doesn't work. When I try to download the PDF, the result is a text version of the PDF I uploaded.
Looking at the logs during the preview/download, it's serving out a file:
[- b8a23c3c-aae5-4ede-a400-dcda19f720c8] Sent file /var/canvas/tmp/files/0000/0049/1435009513_971__04-Contracting%252BExcercises%252BI.pdf (1.3ms)
That file is on the filesystem and has the text from the original PDF. Something has magically turned it into text.
During upload (log here:
http://pastebin.com/M2Y4YNjP) it gives a:
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound).
Help?