{"action":"created","issue":{"url":"https://api.github.com/repos/lardawge/carrierwave_backgrounder/issues/219","labels_url":"https://api.github.com/repos/lardawge/carrierwave_backgrounder/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/lardawge/carrierwave_backgrounder/issues/219/comments","events_url":"https://api.github.com/repos/lardawge/carrierwave_backgrounder/issues/219/events","html_url":"https://github.com/lardawge/carrierwave_backgrounder/issues/219","id":98550386,"number":219,"title":"No longer uploading to amazon s3","user":{"login":"pwz2k","id":3035945,"avatar_url":"https://avatars.githubusercontent.com/u/3035945?v=3","gravatar_id":"","url":"https://api.github.com/users/pwz2k","html_url":"https://github.com/pwz2k","followers_url":"https://api.github.com/users/pwz2k/followers","following_url":"https://api.github.com/users/pwz2k/following{/other_user}","gists_url":"https://api.github.com/users/pwz2k/gists{/gist_id}","starred_url":"https://api.github.com/users/pwz2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwz2k/subscriptions","organizations_url":"https://api.github.com/users/pwz2k/orgs","repos_url":"https://api.github.com/users/pwz2k/repos","events_url":"https://api.github.com/users/pwz2k/events{/privacy}","received_events_url":"https://api.github.com/users/pwz2k/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-01T17:05:17Z","updated_at":"2015-08-13T01:05:56Z","closed_at":"2015-08-13T01:05:56Z","body":"I had carrierwave setup to upload to S3, which was working fine. Once I added this backgrounder gem the photos are no longer uploading. Perhaps I missed a step?\r\n\r\nI have redis to go on Heroku setup.\r\n\r\nPhotos Model:\r\n\r\n```\r\n  mount_uploader :image, ImageUploader\r\n  process_in_background :image\r\n  store_in_background :image\r\n```\r\n\r\nimage_uploader.rb:\r\n\r\n```\r\n include CarrierWave::ImageOptimizer\r\n  include CarrierWave::MiniMagick\r\n  include ::CarrierWave::Backgrounder::Delay\r\n```\r\n\r\ncarrierwave_backgrounder.rb:\r\n\r\n```\r\nCarrierWave::Backgrounder.configure do |c|\r\n\r\n  c.backend :sidekiq, queue: :carrierwave\r\nend\r\n```\r\n\r\nMigration:\r\n\r\n```\r\nclass AddTempToUser < ActiveRecord::Migration\r\n  def change\r\n    add_column :users, :avatar_tmp, :string\r\n  end\r\n```\r\n\r\nPhotos controller:\r\n```\r\n def create\r\n    @photo = Photo.create(photo_params)\r\n    @photo.user = current_user\r\n    if @photo.valid? and @photo.save!\r\n      flash[:notice] = \"Successfully created photos.\"\r\n      redirect_to :back\r\n    else\r\n      flash[:notice] = @photo.errors.messages[:base].first\r\n      render :action => 'new'\r\n    end\r\n  end\r\n```\r\n\r\nServer logs:\r\n```\r\nJul 31 19:18:29 domain heroku/router:  at=info method=POST path=\"/photos\" host=domain.com request_id=13f26eca-1a54-462b-974d-2b5533cc46ee fwd=\"73.54.214.248\" dyno=web.1 connect=0ms service=204ms status=302 bytes=1016 \r\nJul 31 19:18:29 domain app/web.1:  Started POST \"/photos\" for 56.23.784.847 at 2015-08-01 02:18:29 +0000 \r\nJul 31 19:18:29 domain app/web.1:  Processing by PhotosController#create as JS \r\nJul 31 19:18:29 domain app/web.1:    Parameters: {\"utf8\"=>\"✓\", \"authenticity_token\"=>\"xhE8IGs/FLF+cJvMWMJeC5sUFkGk76Xe6SoWzT8v1Pg=\", \"photo\"=>{\"image\"=>#<ActionDispatch::Http::UploadedFile:0x007f065c994e90 @tempfile=#<Tempfile:/tmp/RackMultipart20150801-3-1aluif7>, @original_filename=\"36.jpg\", @content_type=\"image/jpeg\", @headers=\"Content-Disposition: form-data; name=\\\"photo[image]\\\"; filename=\\\"36.jpg\\\"\\r\\nContent-Type: image/jpeg\\r\\n\">}} \r\nJul 31 19:18:29 domain app/web.1:    Parameters: {\"utf8\"=>\"✓\", \"authenticity_token\"=>\"xhE8IGs/FLF+cJvMWMJeC5sUFkGk76Xe6SoWzT8v1Pg=\", \"photo\"=>{\"image\"=>#<ActionDispatch::Http::UploadedFile:0x007f065c994e90 @tempfile=#<Tempfile:/tmp/RackMultipart20150801-3-1aluif7>, @original_filename=\"36.jpg\", @content_type=\"image/jpeg\", @headers=\"Content-Disposition: form-data; name=\\\"photo[image]\\\"; filename=\\\"36.jpg\\\"\\r\\nContent-Type: image/jpeg\\r\\n\">}} \r\nJul 31 19:18:29 domain app/web.1:  Redirected to http://domain.com/users/tom \r\n```"},"comment":{"url":"https://api.github.com/repos/lardawge/carrierwave_backgrounder/issues/comments/130494765","html_url":"https://github.com/lardawge/carrierwave_backgrounder/issues/219#issuecomment-130494765","issue_url":"https://api.github.com/repos/lardawge/carrierwave_backgrounder/issues/219","id":130494765,"user":{"login":"pwz2k","id":3035945,"avatar_url":"https://avatars.githubusercontent.com/u/3035945?v=3","gravatar_id":"","url":"https://api.github.com/users/pwz2k","html_url":"https://github.com/pwz2k","followers_url":"https://api.github.com/users/pwz2k/followers","following_url":"https://api.github.com/users/pwz2k/following{/other_user}","gists_url":"https://api.github.com/users/pwz2k/gists{/gist_id}","starred_url":"https://api.github.com/users/pwz2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwz2k/subscriptions","organizations_url":"https://api.github.com/users/pwz2k/orgs","repos_url":"https://api.github.com/users/pwz2k/repos","events_url":"https://api.github.com/users/pwz2k/events{/privacy}","received_events_url":"https://api.github.com/users/pwz2k/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T01:05:56Z","updated_at":"2015-08-13T01:05:56Z","body":"I fixed the issue. Thanks though!"}}