Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@nuex-if4man01 yum.repos.d]# foreman-rake db:migrate --trace
- ** Invoke db:migrate (first_time)
- ** Invoke environment (first_time)
- ** Execute environment
- ** Invoke db:load_config (first_time)
- ** Execute db:load_config
- ** Execute db:migrate
- == FixCounters: migrating ====================================================
- ** Invoke fix_cached_counters (first_time)
- ** Invoke environment
- ** Execute fix_cached_counters
- Correcting cached counters: (this may take a few minutes)
- Architecture corrected
- Environment corrected
- Operatingsystem corrected
- Domain corrected
- Realm corrected
- rake aborted!
- An error has occurred, this and all later migrations canceled:
- undefined method `counter_cache_column' for nil:NilClass
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/counter_cache.rb:32:in `block in reset_counters'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/counter_cache.rb:19:in `each'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/counter_cache.rb:19:in `reset_counters'
- /usr/share/foreman/lib/tasks/fix_cached_counters.rake:8:in `block (2 levels) in <top (required)>'
- /usr/share/foreman/lib/tasks/fix_cached_counters.rake:8:in `each'
- /usr/share/foreman/lib/tasks/fix_cached_counters.rake:8:in `block in <top (required)>'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:in `call'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:in `block in execute'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:in `each'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:in `execute'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:158:in `block in invoke_with_call_chain'
- /opt/rh/ruby193/root/usr/share/ruby/monitor.rb:211:in `mon_synchronize'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:151:in `invoke_with_call_chain'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:144:in `invoke'
- /usr/share/foreman/db/migrate/20140828111505_fix_counters.rb:4:in `up'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/migration.rb:410:in `block (2 levels) in migrate'
- /opt/rh/ruby193/root/usr/share/ruby/benchmark.rb:280:in `measure'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/migration.rb:410:in `block in migrate'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:123:in `with_connection'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/migration.rb:389:in `migrate'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/migration.rb:528:in `migrate'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/migration.rb:720:in `block (2 levels) in migrate'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/migration.rb:775:in `call'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/migration.rb:775:in `block in ddl_transaction'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/migration.rb:775:in `ddl_transaction'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/migration.rb:719:in `block in migrate'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/migration.rb:700:in `each'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/migration.rb:700:in `migrate'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/migration.rb:570:in `up'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/migration.rb:551:in `migrate'
- /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/databases.rake:153:in `block (2 levels) in <top (required)>'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:in `call'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:in `block in execute'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:in `each'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:in `execute'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:158:in `block in invoke_with_call_chain'
- /opt/rh/ruby193/root/usr/share/ruby/monitor.rb:211:in `mon_synchronize'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:151:in `invoke_with_call_chain'
- /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:144:in `invoke'
- /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:116:in `invoke_task'
- /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in `block (2 levels) in top_level'
- /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in `each'
- /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in `block in top_level'
- /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:in `standard_exception_handling'
- /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:88:in `top_level'
- /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:66:in `block in run'
- /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:in `standard_exception_handling'
- /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
- /opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
- Tasks: TOP => db:migrate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement