fog Questions
1
Using carrierwave for our uploaders, we get a couple of Excon errors each week from our production app. For example:
Excon::Errors::BadRequest: Expected(200) <=> Actual(400 Bad Request) exco...
Supererogate asked 21/1, 2015 at 22:58
0
I'm trying to get carrierwave to work with Amazon S3 (in my Rails 4 app), I use fog gem to upload the images to s3.
I'm currently successfully able to upload the files to my bucket. But I cannot ...
Quadrate asked 13/11, 2014 at 13:40
2
Solved
Here is the Fog walkthrough of creating a file (an S3 object) in a directory (an S3 bucket):
connection = Fog::Storage.new({
:provider => 'AWS',
:aws_access_key_id => YOUR_AWS_ACCESS_KEY_I...
3
Solved
Every action in a rails console (rails server, rails console, db:migrate, etc.) raises a warning since my last bundle update:
[fog][WARNING] Unable to load the 'unf' gem. Your AWS strings may not ...
Segmental asked 29/10, 2013 at 18:22
2
Solved
I am using the Fog gem to generate presigned urls. I can do this successfully to get read access to the file. Here's what I do:
fog_s3 = Fog::Storage.new({
:provider => 'AWS',
:aws_access_ke...
Blinkers asked 30/1, 2014 at 15:52
1
Solved
CarrierWave has amazing documentation, until you need to do it without a model!
I have my uploader and fog settings set up, and they all work fine when using the mounted uploader on a model, but n...
Superhuman asked 19/11, 2013 at 10:10
1
Solved
I am using Carrierwave with 3 separate models to upload photos to S3. I kept the default settings for the uploader, which was to store photos in a root S3 bucket. I then decided to store them in su...
Sayyid asked 26/9, 2013 at 21:8
2
Solved
I'm currently getting the following error: Excon::Errors::SocketError - Broken pipe (Errno::EPIPE) when uploading images bigger than about 150kb. Images under 150kb work correctly. Research indicat...
Oscillogram asked 30/12, 2012 at 11:10
2
Solved
I'm using CarrierWave (0.9.0), Fog (1.14.0) and S3 to store user avatars. It seems to be taking a long time to determine the avatar URL for a given user. Subsequent calls have a greatly reduced tim...
Oshea asked 30/7, 2013 at 15:7
2
Solved
I have a rails 3.2 app. Using fog to store files in S3.
I would like to write a script to rename all of the files that have been uploaded. I can't seem to find any fog documentation in this area.
...
Garnetgarnett asked 20/12, 2012 at 21:48
1
Solved
I get the following warning while querying Amazon S3 via the Fog gem:
[WARNING] fog: followed redirect to my-bucket.s3-external-3.amazonaws.com, connecting to the matching region will be more perf...
2
I got a problem with my application based on RefineryCMS 1.0.8
deployed on heroku.
Heroku have a request timeout of 30 seconds. When uploading a file >
4MO through the RefineryCMS admin, it wil...
Rotor asked 21/10, 2011 at 19:17
2
I am creating a rails app that lets an administrator upload photos that are optionally publicly displayed. For the upload / storage process I am using the Carrierwave gem along with the Fog gem and...
Usurp asked 18/7, 2011 at 15:6
1
Solved
How do I list all the files in a specific S3 "directory" using Fog?
I know that S3 doesn't store files in folders but I need a way to limit the returned files to specific "folder" instead of retri...
1
How to append text in an existing or newly created file in S3. I am using fog and I have following code
require 'fog'
file = "abc.csv"
bucket = 'my_bucket'
storage = Fog::Storage.new(:provider =&g...
1
Solved
I have installed carrierwave and fog, have successfully uploaded the images and viewed them the first time, but now it does not show the images anymore.
Here is my config file app/config/initializ...
Discernment asked 7/12, 2012 at 5:54
1
I'm trying to upload to amazon s3 an existing image on facebook or twitter from an user that has just signed up in my application, but some validation don't let me save the user object, throws: Ima...
Foetation asked 5/12, 2012 at 19:32
2
Solved
Im trying to upload images to S3 on Ruby on Rails using carrierwave and fog gems, images are uploaded correctly but when I try tu save the model containing information about the image that was just...
Benevolent asked 3/12, 2012 at 21:18
2
Solved
been trying to search the reason for this error for a long time and can't seem to find any...
So I have a rails app, and I utilize carrierwave for pictures uploading. I also want to utilize Amazon...
Leatherleaf asked 26/2, 2012 at 10:13
1
Solved
When i'm trying to run my application, i'm getting the following error:
config/initializers/carrierwave.rb:4: undefined method `fog_host=' for
CarrierWave::Uploader::Base:Class (NoMethodError)
...
Journalese asked 24/10, 2012 at 0:51
1
I've never had problems deploying this app but I've just pushed and now I'm getting this weird error, which is deep enough in the stack that it's not even getting sent to Airbrake. I have a f...
2
Solved
I'm trying to figure out how to setup CarrierWave to work with Fog and Amazon S3. On S3, I have a bucket, "bucket1" with folder "images". Uploads work fine. For example, an image might get uploaded...
Dravidian asked 3/3, 2012 at 18:2
2
Solved
I'm using CarrierWave and Fog to store attachments to an ActiveRecord model on S3. I can use them to generate the URL, but I can't seem to locate any method to actually read a file.
Is this someth...
Chloroform asked 27/8, 2012 at 15:52
1
Solved
I'm having this problem trying to use S3 services with fog and the Jquery File Upload (https://github.com/blueimp/jQuery-File-Upload)
The error
Excon::Errors::SocketError (getaddrinfo: nodename ...
Chigetai asked 23/8, 2012 at 22:29
1
Solved
I know I'm missing something really easy here...
CarrierWave::Storage::Fog::File has a method exists?
How do I use it? I'm just trying to check whether a previously uploaded file exists on the re...
Gasiform asked 7/7, 2012 at 20:46
© 2022 - 2024 — McMap. All rights reserved.