I am running 1.5.0.beta1 on Digital Ocean Instance.
Setting up file and image uploads to S3 - Is this howto still the accurate and up to date information? I followed it to the dot and still I am unable to set up image upload to s3 in my digital ocean instance of discourse.
I see that my images are getting uploaded to my bucket but in the older original/1X
us-west-2&bucket=thinnal&prefix=original/1X/
The log message
Processing by UploadsController#create as JSON
Parameters: {"type"=>"composer", "files"=>[#<ActionDispatch::Http::UploadedFile:0x007f9f083c4cc8 @tempfile=#<Tempfile:/tmp/RackMultipart20151002-29190-17rmzjw.jpg>, @original_filename="21210543263_f961218003_z.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"files[]\"; filename=\"21210543263_f961218003_z.jpg\"\r\nContent-Type: image/jpeg\r\n">], "client_id"=>"xxxxx", "authenticity_token"=>"XXXXAllaJDcrc9J9drnj4CA=="}
Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.6ms)
I donât have a clue if it makes any difference or even if it is proper, but might the extension being âjpgâ and the type being âjpegâ be the problem?
Thanks for the response. It was the file extension. I tried with .png and it still stalled at the same place. I opened Chrome Developer Tools to find whatâs happening and it looks like I have some setting where I have to end my hostname with /.
Solve it. It was improper customization. In body tag in customizations, I had a wrong tag. Surprised at the effect this caused. Thank you for the support. Letâs close this thread.