meskyanichi/backup — Issue #248: dropbox storage fails with oauth 401
Author: ajardan
Created: 2011-12-27 15:09:01+00:00
State: open

[2011/12/27 07:07:19][message] Performing backup for Description for database!
[2011/12/27 07:07:19][message] Backup::Database::MySQL started dumping and archiving 'db'.
[2011/12/27 07:07:20][message] Backup::Packager started packaging the backup files.
[2011/12/27 07:07:21][message] Backup::Compressor::Gzip started compressing the archive.
[2011/12/27 07:07:21][message] Backup::Encryptor::GPG started encrypting the archive.
[2011/12/27 07:07:21][message] Storage::Dropbox started transferring '2011.12.27.07.07.19.database.tar.gz.gpg'.
[2011/12/27 07:07:21][message] Creating a new session!
[2011/12/27 07:07:21][error] ModelError: Backup for Description for database (database) Failed!
[2011/12/27 07:07:21][error] An Error occured which has caused this Backup to abort before completion.
[2011/12/27 07:07:21][error] Please review the Log for this Backup to determine if steps need to be taken
[2011/12/27 07:07:21][error] to clean up, based on the point at which the failure occured.
[2011/12/27 07:07:21][error] Reason: OAuth::Unauthorized
[2011/12/27 07:07:21][error] 401 Unauthorized
[2011/12/27 07:07:21][error]
[2011/12/27 07:07:21][error] Backtrace:
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/oauth-0.4.5/lib/oauth/consumer.rb:219:in `token_request'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/oauth-0.4.5/lib/oauth/consumer.rb:139:in `get_request_token'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/dropbox-1.3.0/lib/dropbox/session.rb:70:in `initialize'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/dropbox.rb:142:in `new'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/dropbox.rb:142:in `create_write_and_return_new_session!'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/dropbox.rb:85:in `connection'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/dropbox.rb:93:in `transfer!'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/base.rb:97:in `files_to_transfer'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/dropbox.rb:91:in `transfer!'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/dropbox.rb:37:in `perform!'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/model.rb:301:in `to_proc'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/model.rb:245:in `each'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/model.rb:245:in `perform!'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/model.rb:243:in `each'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/model.rb:243:in `perform!'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/cli/utility.rb:72:in `perform'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/cli/utility.rb:51:in `each'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/cli/utility.rb:51:in `perform'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/bin/backup:11
[2011/12/27 07:07:21][error] /usr/bin/backup:19:in `load'
[2011/12/27 07:07:21][error] /usr/bin/backup:19
[2011/12/27 07:07:21][message] ModelError: If you have other Backup jobs (triggers) configured to run,
[2011/12/27 07:07:21][message] Backup will now attempt to continue...
[2011/12/27 07:07:21][message] Backup::Notifier::Mail started notifying about the process.
[2011/12/27 07:07:22][message] Backup::Cleaner started cleaning up the temporary files.

I checked a lot of times - the dropbox API credentials are ok.