Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on initial db migration #10

Open
nroach opened this issue Feb 14, 2012 · 1 comment
Open

Errors on initial db migration #10

nroach opened this issue Feb 14, 2012 · 1 comment

Comments

@nroach
Copy link

nroach commented Feb 14, 2012

The following occurs on Heroku Bamboo when I run the initial db migration. The same error does not occur on Amazon AWS with a Bitnami stack.

** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!

/app/vendor/plugins/redmine_s3/lib/aws/core/client.rb:257:in return_or_raise' /app/vendor/plugins/redmine_s3/lib/aws/core/client.rb:316:inclient_request'
(eval):3:in get_bucket_versioning' /app/vendor/plugins/redmine_s3/lib/aws/s3/bucket.rb:100:inversioning_state'
/app/vendor/plugins/redmine_s3/lib/aws/s3/bucket.rb:88:in versioning_enabled?' /app/vendor/plugins/redmine_s3/lib/aws/s3/bucket.rb:145:inexists?'
/app/vendor/plugins/redmine_s3/lib/redmine_s3/connection.rb:43:in create_bucket' /app/vendor/plugins/redmine_s3/init.rb:17:inblock in <top (required)>'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:182:in call' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:182:inevaluate_method'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:166:in call' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:90:inblock in run'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:90:in each' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:90:inrun'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:276:in run_callbacks' /app/.bundle/gems/ruby/1.9.1/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:51:inrun_prepare_callbacks'
/app/.bundle/gems/ruby/1.9.1/gems/rails-2.3.14/lib/initializer.rb:631:in prepare_dispatcher' /app/.bundle/gems/ruby/1.9.1/gems/rails-2.3.14/lib/initializer.rb:185:inprocess'
/app/.bundle/gems/ruby/1.9.1/gems/rails-2.3.14/lib/initializer.rb:113:in run' /app/config/environment.rb:42:in<top (required)>'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in require' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:inblock in require'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in new_constants_in' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:inrequire'
/app/.bundle/gems/ruby/1.9.1/gems/rails-2.3.14/lib/tasks/misc.rake:4:in block in <top (required)>' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:incall'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in block in execute' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:ineach'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in execute' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:inblock in invoke_with_call_chain'
/usr/ruby1.9.2/lib/ruby/1.9.1/monitor.rb:201:in mon_synchronize' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:ininvoke_with_call_chain'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:176:in block in invoke_prerequisites' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:174:ineach'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:174:in invoke_prerequisites' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:157:inblock in invoke_with_call_chain'
/usr/ruby1.9.2/lib/ruby/1.9.1/monitor.rb:201:in mon_synchronize' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:ininvoke_with_call_chain'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in invoke' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:116:ininvoke_task'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in block (2 levels) in top_level' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:ineach'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in block in top_level' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:instandard_exception_handling'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in top_level' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:inblock in run'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in standard_exception_handling' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:inrun'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in <top (required)>' /app/.bundle/gems/ruby/1.9.1/bin/rake:19:inload'
/app/.bundle/gems/ruby/1.9.1/bin/rake:19:in `

'
Tasks: TOP => db:migrate => environment

@nroach
Copy link
Author

nroach commented Mar 30, 2012

It turns out this is related to running on Chiliproject 3.0.0. The plugin is compatible with 2.7.0, but fails on v3. I suspect this is related to the attachment handling changes made in chiliproject.

nlehuen referenced this issue in nlehuen/redmine_s3 Jan 9, 2013
Fix message in case of error during file upload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant