Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ ~ cd app/freelensia/current
- ➜ current bundle exec rake freelensia_db:delete_users_between_time "2021/6/19 10:00:00" "2021/6/19 10:10:00"
- rake aborted!
- NameError: uninitialized constant Annotate
- /home/ubuntu/app/freelensia/releases/20210620153440/lib/tasks/auto_annotate_models.rake:33:in `<top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:650:in `block in run_tasks_blocks'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:650:in `each'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:650:in `run_tasks_blocks'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application.rb:515:in `run_tasks_blocks'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:459:in `load_tasks'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/railtie.rb:190:in `public_send'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/railtie.rb:190:in `method_missing'
- /home/ubuntu/app/freelensia/releases/20210620153440/Rakefile:13:in `<top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `eval'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `<main>'
- (See full trace by running task with --trace)
- ➜ current RAILS_ENV=production bundle exec rake freelensia_db:delete_users_between_time "2021/6/19 10:00:00" "2021/6/19 10:01:00"
- ^Crake aborted!
- Interrupt:
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in `_query'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in `block in query'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in `handle_interrupt'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in `query'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rack-mini-profiler-1.0.2/lib/patches/db/mysql2.rb:22:in `query'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:187:in `block (2 levels) in execute'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:186:in `block in execute'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:581:in `block (2 levels) in log'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:580:in `block in log'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:571:in `log'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:185:in `execute'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/mysql/database_statements.rb:28:in `execute'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:196:in `execute_and_free'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/mysql/database_statements.rb:33:in `exec_query'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:478:in `select'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:70:in `select_all'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:106:in `select_all'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/mysql/database_statements.rb:12:in `select_all'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/querying.rb:41:in `find_by_sql'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation.rb:560:in `block in exec_queries'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation.rb:581:in `block in skip_query_cache_if_necessary'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:78:in `uncached'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/query_cache.rb:21:in `uncached'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation/delegation.rb:114:in `public_send'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation/delegation.rb:114:in `block in method_missing'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation.rb:281:in `scoping'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation/delegation.rb:114:in `method_missing'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation.rb:580:in `skip_query_cache_if_necessary'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation.rb:547:in `exec_queries'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation.rb:422:in `load'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation.rb:200:in `records'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation/batches.rb:224:in `block in in_batches'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation/batches.rb:222:in `loop'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation/batches.rb:222:in `in_batches'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation/batches.rb:135:in `find_in_batches'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation/batches.rb:69:in `find_each'
- /home/ubuntu/app/freelensia/releases/20210620153440/lib/tasks/freelensia_db.rake:48:in `block (2 levels) in <top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/airbrake-9.1.0/lib/airbrake/rake.rb:17:in `execute'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `eval'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `<main>'
- Tasks: TOP => freelensia_db:delete_users_between_time
- (See full trace by running task with --trace)
- ➜ current bundle exec RAILS_ENV=production rake freelensia_db:delete_users_between_time "2021/6/19 10:00:00" "2021/6/19 10:01:00"
- bundler: command not found: RAILS_ENV=production
- Install missing gem executables with `bundle install`
- ➜ current bundle exec rake freelensia_db:delete_users_between_time "2021/6/19 10:00:00" "2021/6/19 10:01:00" RAILS_ENV=production
- rake aborted!
- Don't know how to build task '2021/6/19 10:00:00' (See the list of available tasks with `rake --tasks`)
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `eval'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `<main>'
- (See full trace by running task with --trace)
- ➜ current bundle exec rake db:delete_users_between_time "2021/6/19 10:00:00" "2021/6/19 10:01:00" RAILS_ENV=production
- rake aborted!
- Don't know how to build task 'db:delete_users_between_time' (See the list of available tasks with `rake --tasks`)
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `eval'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `<main>'
- (See full trace by running task with --trace)
- ➜ current RAILS_ENV=production bundle exec rake freelensia_db:delete_users_between_time "2021/6/19 10:00:00" "2021/6/19 10:01:00"
- rake aborted!
- Don't know how to build task '2021/6/19 10:00:00' (See the list of available tasks with `rake --tasks`)
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `eval'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `<main>'
- (See full trace by running task with --trace)
- ➜ current RAILS_ENV=production bundle exec rake freelensia_db:delete_users_between_time "2021/6/19 10:00:00" "2021/6/19 10:01:00" --trace
- ** Invoke freelensia_db:delete_users_between_time (first_time)
- ** Invoke environment (first_time)
- ** Execute environment
- ** Execute freelensia_db:delete_users_between_time
- rake aborted!
- Don't know how to build task '2021/6/19 10:00:00' (See the list of available tasks with `rake --tasks`)
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/task_manager.rb:59:in `[]'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:159:in `invoke_task'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `block (2 levels) in top_level'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `each'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `block in top_level'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:125:in `run_with_threads'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:110:in `top_level'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:83:in `block in run'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:80:in `run'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/rake:23:in `load'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/rake:23:in `<main>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `eval'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `<main>'
- ➜ current RAILS_ENV=production bundle exec rake freelensia_db:delete_users_between_time '2021/6/19 10:00:00' '2021/6/19 10:01:00'
- rake aborted!
- Don't know how to build task '2021/6/19 10:00:00' (See the list of available tasks with `rake --tasks`)
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `eval'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `<main>'
- (See full trace by running task with --trace)
- ➜ current RAILS_ENV=production bundle exec rake freelensia_blog:update_slug
- ^Z
- [1] + 24513 suspended RAILS_ENV=production bundle exec rake freelensia_blog:update_slug
- ➜ current rake db:migrate
- rake aborted!
- Gem::LoadError: You have already activated rake 12.3.2, but your Gemfile requires rake 12.3.3. Prepending `bundle exec` to your command may solve this.
- /home/ubuntu/app/freelensia/releases/20210620174810/config/boot.rb:3:in `<top (required)>'
- /home/ubuntu/app/freelensia/releases/20210620174810/config/application.rb:3:in `require_relative'
- /home/ubuntu/app/freelensia/releases/20210620174810/config/application.rb:3:in `<top (required)>'
- /home/ubuntu/app/freelensia/releases/20210620174810/Rakefile:4:in `<top (required)>'
- (See full trace by running task with --trace)
- ➜ current bundle exec rake db:migrate
- rake aborted!
- NameError: uninitialized constant Annotate
- /home/ubuntu/app/freelensia/releases/20210620174810/lib/tasks/auto_annotate_models.rake:33:in `<top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:650:in `block in run_tasks_blocks'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:650:in `each'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:650:in `run_tasks_blocks'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application.rb:515:in `run_tasks_blocks'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:459:in `load_tasks'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/railtie.rb:190:in `public_send'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/railtie.rb:190:in `method_missing'
- /home/ubuntu/app/freelensia/releases/20210620174810/Rakefile:13:in `<top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `eval'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `<main>'
- (See full trace by running task with --trace)
- ➜ current RAILS_ENV=production bundle exec rake db:migrate
- ➜ current RAILS_ENV=production bundle exec rake freelensia_blog:update_slug
- ^Crake aborted!
- Interrupt:
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in `_query'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in `block in query'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in `handle_interrupt'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in `query'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rack-mini-profiler-1.0.2/lib/patches/db/mysql2.rb:22:in `query'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:187:in `block (2 levels) in execute'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:186:in `block in execute'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:581:in `block (2 levels) in log'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:580:in `block in log'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:571:in `log'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:185:in `execute'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/mysql/database_statements.rb:28:in `execute'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:200:in `begin_db_transaction'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:175:in `initialize'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:201:in `new'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:201:in `block in begin_transaction'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:197:in `begin_transaction'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:238:in `block in within_new_transaction'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/transactions.rb:212:in `transaction'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/transactions.rb:385:in `with_transaction_returning_status'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/persistence.rb:426:in `update'
- /home/ubuntu/app/freelensia/releases/20210620174810/app/models/article.rb:93:in `block in encode_slug'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation/delegation.rb:71:in `each'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation/delegation.rb:71:in `each'
- /home/ubuntu/app/freelensia/releases/20210620174810/app/models/article.rb:90:in `encode_slug'
- /home/ubuntu/app/freelensia/releases/20210620174810/lib/tasks/freelensia_blog.rake:14:in `block (3 levels) in <top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation/delegation.rb:71:in `each'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation/delegation.rb:71:in `each'
- /home/ubuntu/app/freelensia/releases/20210620174810/lib/tasks/freelensia_blog.rake:14:in `block (2 levels) in <top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/airbrake-9.1.0/lib/airbrake/rake.rb:17:in `execute'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `eval'
- /home/ubuntu/app/freelensia/shared/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `<main>'
- Tasks: TOP => freelensia_blog:update_slug
- (See full trace by running task with --trace)
- ➜ current RAILS_ENV=production bundle exec rake freelensia_blog:update_slug --trace
- ** Invoke freelensia_blog:update_slug (first_time)
- ** Invoke environment (first_time)
- ** Execute environment
- ** Execute freelensia_blog:update_slug
- ^Z
- [2] + 28619 suspended RAILS_ENV=production bundle exec rake freelensia_blog:update_slug --trace
- ➜ current RAILS_ENV=production bundle exec rake db:migrate --trace
- ** Invoke db:migrate (first_time)
- ** Invoke db:load_config (first_time)
- ** Invoke environment (first_time)
- ** Execute environment
- ** Execute db:load_config
- ** Execute db:migrate
- ** Invoke db:_dump (first_time)
- ** Execute db:_dump
- ➜ current
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement