Questions tagged [carrierwave-direct]

11 questions
1
vote
0 answers

CarrierWave uploader with CarrierWaveDirect included not generating correct key on non-direct uploads

I am using rails, and have an image uploader that inherits from CarrierWave::Uploader::Base but includes CarrierWaveDirect::Uploader. We are using Fog as storage and AWS S3 as the provider. We use it for both direct and indirect uploads. I have just…
telou
  • 11
  • 4
1
vote
0 answers

Can't find "key" attribute in model with CarrierWaveDirect gem

I've been trying to implement direct upload with AWS and CarrierWave direct. I'm following the documentation. I have a model: AppNotice. It has a column called image. However, it seems like even though my model has the code mount_uploader :image,…
1
vote
0 answers

CarrierwaveDirect version filename porting from CarrierWave fog

So I've got 9000+ original images, each with 5-7 generated sizes, already stored on S3. Moving production to Heroku and one of the issues we have is timeout on large master images. Started trying Carrierwave Direct gem to go straight to the S3…
1
vote
0 answers

Regression Testing Heroku Request Timeout

My Rails app currently has a thumbnail upload endpoint which frequently times out on Heroku due to the 30 second request limit. I use Carrierwave and would like to switch to CarrierWaveDirect to solve the problem by doing direct to S3…
Maros
  • 1,825
  • 4
  • 25
  • 56
0
votes
1 answer

Rails + CarrierwaveDirect: Unable to download and process image after successful direct upload to S3

Using Rails 6 and CarrierWaveDirect, we're able to successfully POST a file to a presigned S3 URL, but then we encounter an error when trying to download the file from S3 to our server for processing. Our model and uploader look like this: #…
imderek
  • 1,306
  • 13
  • 22
0
votes
1 answer

Carrierwave direct gem installation error

I have an uploader for my rails project called BulkImagesUploader that takes in a zip file and uploads it to S3 using carrierwave. This had been working fine but I find myself having to upload the files directly from browser to S3 using…
Moiz Mansur
  • 180
  • 3
  • 13
0
votes
1 answer

Carrierwave Direct AWS4

I've followed the instructions to setup carrierwave direct but get the following error. InvalidRequest The authorization mechanism you have provided is not supported. Please use…
rmaspero
  • 573
  • 2
  • 11
  • 23
0
votes
1 answer

Can carrierwave direct upload to local storage?

Sometimes I am away from internet and still need to work on upload pages. Carrierwave Direct seems to force storage :fog; with no way of overriding in dev. Is it possible to tell Carrierwave Direct to use local storage (:file) and simply fallback…
hellion
  • 4,602
  • 6
  • 38
  • 77
0
votes
1 answer

Issue with Carrierwave_Direct + Rails

video_uploader.rb class VideoUploader < CarrierWave::Uploader::Base include CarrierWaveDirect::Uploader alias_method :extension_white_list, :extension_whitelist def will_include_content_type true end default_content_type 'video/mp4' …
0
votes
1 answer

Upload file to s3 on client side with rails, carrierwave-direct, and jquery file upload

I keep getting a 403 when trying to upload from the client side. Is this due to not having conditions on the bucket? If I just specify the key - with no accesskey, signature, or policy - it will upload fine. Bucket policy: { "Version":…
0
votes
1 answer

When are versions NOT processing using carrierwave_direct?

I have just switched from carrierwave_backgrounder to carrierwave_direct. I have carrierwave_direct set up and functioning. That is, the main file is being uploaded and can be displayed in the view. However, my uploader versions are not being…