I have an application that uploads images to an S3 bucket using Paperclip. It has been working fine for several months, but all of a sudden my files do not load into the S3 bucket. Unfortunately, I did refactoring in a number of unrelated areas, and it is possible that something I changed broke my load.
I am using paperclip 2.3.1.
However, there are a number of confusing aspects of this and, frankly, I'm at a loss. Firstly, there are no errors in the log indicating the impossibility of downloading. Paperclip binding attributes are populated in the database. The application believes that the download was successful. But when I look in S3, the file is not there.
Secondly, I have an almost identical attachment on another model that successfully loads into the same S3 bucket - the code is almost identical, and obviously there can be no problems with permissions.
I found links in several places that suggested deleting the right_aws game and instead get only the aws_s3 gem ... which I made ... but to no avail. Moreover, I have never seen an error (5 for 4) in my journal.
Does anyone have any suggestions on how I can further diagnose this? Are there any options in the clip to increase the size of the journal?
Thank!
source
share