Backups not uploading to S3


(Manthan Mallikarjun) #1

Hey!

I have noticed my backups are not being uploaded to S3! Im pretty sure my credentials are correct, because I have setup images to be uploaded to S3, and it works perfectly.

Im not sure what info I can give regarding this. When I checked my S3 account, there is NO bucket for backups. Am I supposed to create one, or will it automatically create it for me?

In the logs im am seeing this:

Job exception: Wrapped Errno::EACCES: Permission denied - /root/.netrc Job exception: Permission denied - /root/.netrc

Not sure if that is related to anything though.


#2

I am not sure about that error but out of curiosity, did you create a separate bucket for just your backups on S3?

All is well with your images being stored on S3, correct?


(Manthan Mallikarjun) #3

Sorry for the late reply.

No, I have not actually created the bucket. I assumed that it would create one itself, like it did for the images.

And yes, the images work perfectly.


(Manthan Mallikarjun) #4

Just another bump…


(Jeff Atwood) #5

Do you have a period in your bucket name?


(Manthan Mallikarjun) #6

I was supposed to create the bucket? I thought Discourse would do it for me, like the images one.

I just created one, and no it does not have a period.


(Manthan Mallikarjun) #7

I created the bucket a few days ago, and just checked now. Its still empty.


#8

Ok I have been meaning to reply but kind of overwhelmed…

So you have two buckets.

  • images (works)
  • backups (no work)

I am assuming you followed these basic instructions (below):

Now is your bucket region and the region you are targeting the same? This can be tricky because on S3 (if I recall) they don’t call it us-west-2 they call it Oregon (so you need to deduce where that bucket is).

When you are logged into S3 you can go to your buckets properties (rights/permissions). There are a few extra things you have to do here.

You need to add a grantee: (username)

You need to add permissions:

  • List
  • Upload/Delete
  • View Permissions
  • Edit Permissions

You may want to start from scratch. I got this right on the first try (sometimes it works that way). I also moved away from the discourse instructions above to learn how to set up an S3 bucket properly (here): Create a Bucket - Amazon Simple Storage Service

And I am willing to bet your problem is not on the discourse side but the S3 side (configuration stuff).


S3 region vs. Discourse region
(Manthan Mallikarjun) #9

Thanks for replying!

I believe that my bucket has the correct permissions, because it looks identical to the image bucket.

The bucket is located in Northern California and in the settings, I set the s3 region to us-west-1.

Thanks!


(probus) #10

I just noticed the same problem. My backups haven’t been uploaded to S3 since I updated on 1st of september. The last file on s3 is the manual backup I did right before that update.

I haven’t touched any s3 related settings. The backup job seems to be running fine since every day a new backup is created. What changed? And why are the backup logs always empty?


(Manthan Mallikarjun) #11

Bump

Still not uploading for me. :frowning:


(probus) #12

Yep, no change here either. I wonder how many others have the same problem but haven’t just noticed it yet.


(Jeff Atwood) #13

Hmm, I just checked and S3 backups look fine for me:


(probus) #14

I just went trough my setup and found the problem. For some reason I had the wrong region selected in the settings. I can see from the logs that I hadn’t changed it, so it seems that either the wrong region worked until something changed a few weeks ago or something changed the region in Discourse without leaving a trace in the logs. Weird anyway.


(Manthan Mallikarjun) #15

My region is Northern California and I selected us-west-1 in discourse. Am I doing it wrong?


#16

I am going to install Discourse tonight (from scratch) (bleeding edge). I need to get up to speed on changes anyways so I can be of relavant help to people (and see if I can beat my prior install time of 16 minutes). I will get you more answers in about 6 to 12 hours if you can hang on for a bit longer.

:smile:


(Manthan Mallikarjun) #17

Thanks. Im not sure why its not working for me.


#18

Ok. I re-installed my discourse forum from scratch. It is not all the way configured. I just focused on the settings to set images to S3 and then the backup section for S3. Then generated a back up.

  • I configured my setting to be west coast 2 (as I had setup previously).
  • I had to generate a new api access key and a secret key.
  • My buckets were still there.
  • I created a post to test the images were setting correctly.

http://hijnks.com/t/this-is-a-test-of-the-emergency-broadcast-service/34

Next:

I configured my second bucket for my backups. Which was also still existing (and required less steps). I set it to daily backups. but needed a test so I generated a backup on the fly.

Here were the results:

The last one on the list is my test and it set to my bucket as expected.

So everything worked on a fresh install (with my old buckets and a newly generated set of keys) which this could suggest that your bucket could be improperly configured (somehow…even though it worked and then suddenly stopped).

The only way to test is to create a third bucket. and set that as your new backup target. Set it up to be unique and private as described here:

Try this new bucket and tell me the results…


(Manthan Mallikarjun) #19

Thanks for the update. I discovered something new.

I followed the tutorial and went to make a manual backup. When I pressed backup, I got an error:

[2014-09-23 20:32:27] EXCEPTION: Expected(200) <=> Actual(403 Forbidden)
  response => #<Excon::Response:0x007f98bd847b48 @data={:body=>"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>03DF3A2411BC82B1</RequestId><HostId>abTr0DFsgKWF8nZNSidYrlaDH0CB5wou7/oI4E6e3aMVeCLSZVuGEjC+AN/0STiD</HostId></Error>", :headers=>{"x-amz-request-id"=>"03DF3A2411BC82B1", "x-amz-id-2"=>"abTr0DFsgKWF8nZNSidYrlaDH0CB5wou7/oI4E6e3aMVeCLSZVuGEjC+AN/0STiD", "Content-Type"=>"application/xml", "Transfer-Encoding"=>"", "Date"=>"Wed, 24 Sep 2014 03:32:27 GMT", "Server"=>"AmazonS3", "Connection"=>"close"}, :status=>403, :remote_ip=>"54.231.232.208", :local_port=>45286, :local_address=>"172.17.0.13"}, @body="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>03DF3A2411BC82B1</RequestId><HostId>abTr0DFsgKWF8nZNSidYrlaDH0CB5wou7/oI4E6e3aMVeCLSZVuGEjC+AN/0STiD</HostId></Error>", @headers={"x-amz-request-id"=>"03DF3A2411BC82B1", "x-amz-id-2"=>"abTr0DFsgKWF8nZNSidYrlaDH0CB5wou7/oI4E6e3aMVeCLSZVuGEjC+AN/0STiD", "Content-Type"=>"application/xml", "Transfer-Encoding"=>"", "Date"=>"Wed, 24 Sep 2014 03:32:27 GMT", "Server"=>"AmazonS3", "Connection"=>"close"}, @status=403, @remote_ip="54.231.232.208", @local_port=45286, @local_address="172.17.0.13">
[2014-09-23 20:32:27] /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/middlewares/expects.rb:6:in `response_call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/middlewares/response_parser.rb:26:in `response_call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/connection.rb:402:in `response'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/connection.rb:272:in `request'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/middlewares/idempotent.rb:12:in `error_call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/middlewares/base.rb:10:in `error_call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/middlewares/base.rb:10:in `error_call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/connection.rb:292:in `rescue in request'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/connection.rb:229:in `request'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/middlewares/idempotent.rb:12:in `error_call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/middlewares/base.rb:10:in `error_call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/middlewares/base.rb:10:in `error_call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/connection.rb:292:in `rescue in request'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/connection.rb:229:in `request'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/middlewares/idempotent.rb:12:in `error_call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/middlewares/base.rb:10:in `error_call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/middlewares/base.rb:10:in `error_call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/connection.rb:292:in `rescue in request'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.37.0/lib/excon/connection.rb:229:in `request'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/fog-1.22.1/lib/fog/xml/sax_parser_connection.rb:35:in `request'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/fog-1.22.1/lib/fog/xml.rb:21:in `request'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/fog-1.22.1/lib/fog/aws/storage.rb:535:in `request'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/fog-1.22.1/lib/fog/aws/requests/storage/get_bucket.rb:43:in `get_bucket'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/fog-1.22.1/lib/fog/aws/models/storage/directories.rb:22:in `get'
/var/www/discourse/app/models/backup.rb:103:in `fog_directory'
/var/www/discourse/app/models/backup.rb:42:in `upload_to_s3'
/var/www/discourse/app/models/backup.rb:34:in `after_create_hook'
/var/www/discourse/lib/export/exporter.rb:267:in `after_create_hook'
/var/www/discourse/lib/export/exporter.rb:48:in `run'
/var/www/discourse/lib/backup_restore.rb:161:in `block in start!'
/var/www/discourse/lib/backup_restore.rb:158:in `fork'
/var/www/discourse/lib/backup_restore.rb:158:in `start!'
/var/www/discourse/lib/backup_restore.rb:13:in `backup!'
/var/www/discourse/app/controllers/admin/backups_controller.rb:30:in `create'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/abstract_controller/base.rb:189:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_controller/metal/rendering.rb:10:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:113:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:113:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:229:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:229:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:86:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:86:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/abstract_controller/callbacks.rb:19:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_controller/metal/rescue.rb:29:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/notifications.rb:159:in `block in instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/notifications.rb:159:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/abstract_controller/base.rb:136:in `process'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionview-4.1.5/lib/action_view/rendering.rb:30:in `process'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.1/lib/mini_profiler/profiling_methods.rb:108:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_controller/metal.rb:196:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_controller/metal.rb:232:in `block in action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/routing/route_set.rb:82:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/routing/route_set.rb:50:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/routing/mapper.rb:45:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/journey/router.rb:71:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/journey/router.rb:59:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/journey/router.rb:59:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/routing/route_set.rb:678:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/frame_options.rb:31:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/builder.rb:59:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/rack/error_collector.rb:50:in `traced_call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:55:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/rack/error_collector.rb:50:in `traced_call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:55:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/rack/agent_hooks.rb:26:in `traced_call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:55:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/rack/browser_monitoring.rb:19:in `traced_call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:55:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/lib/middleware/anonymous_cache.rb:119:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/middleware/flash.rb:254:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/message_bus-0.9.5/lib/message_bus/rack/middleware.rb:55:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.5/lib/active_record/query_cache.rb:36:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:82:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/logster-0.1.6/lib/logster/middleware/reporter.rb:23:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/rack/logger.rb:22:in `call'
/var/www/discourse/config/initializers/quiet_logger.rb:10:in `call_with_quiet_assets'
/var/www/discourse/config/initializers/silence_logger.rb:26:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.1/lib/mini_profiler/profiler.rb:300:in `call'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/engine.rb:514:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/application.rb:144:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/railtie.rb:194:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/railtie.rb:194:in `method_missing'
/var/www/discourse/plugins/discourse_new-relic/gems/2.0.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:138:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/urlmap.rb:65:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
/var/www/discourse/lib/middleware/unicorn_oobgc.rb:95:in `process_client'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'

It looks like its an error with newrelic. It might be stopping discourse from uploading the backups.

Error is at the end of the file.


#20

So then it may not be your settings or your bucket. I am not familiar with new relic, but I have had my third party additions create anomalies in my discourse instance namely my stock ticker bar.