Donmai

Danbooru 2 Issues Topic

Posted under General

This topic has been locked.

I get the same error log as tapnek:

Show

ActiveRecord::RecordNotFound exception raised

Couldn't find Post with 'id'=2191033
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/core.rb:155:in `find'
/var/www/danbooru2/releases/20151125011944/app/controllers/posts_controller.rb:30:in `show'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/abstract_controller/base.rb:198:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:553:in `block (2 levels) in compile'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:88:in `run_callbacks'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/abstract_controller/callbacks.rb:19:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/rescue.rb:29:in `process_action'
...

Regarding parent post #1469396 (NSFW), it seems the parent-child ordering of posts are based from the uploaded date of posts, not from the last post edit. It makes the ordering a bit messy.
Can someone fix the ordering? The first child supposed to be placed on last.

Sacriven said:

Regarding parent post #1469396 (NSFW), it seems the parent-child ordering of posts are based from the uploaded date of posts, not from the last post edit. It makes the ordering a bit messy.
Can someone fix the ordering? The first child supposed to be placed on last.

I've replaced the parent/child links with pool #10689 instead.

I got this error while tagging on this post #942199

Show

PG::QueryCanceled exception raised

ERROR: canceling statement due to statement timeout
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:606:in `exec_prepared'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:606:in `block in exec_cache'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:605:in `exec_cache'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:589:in `execute_and_clear'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:173:in `exec_delete'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:114:in `update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:88:in `_update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/persistence.rb:515:in `_update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/locking/optimistic.rb:79:in `_update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/attribute_methods/dirty.rb:128:in `_update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/callbacks.rb:310:in `block in _update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:553:in `block (2 levels) in compile'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:88:in `run_callbacks'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/callbacks.rb:310:in `_update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/timestamp.rb:70:in `_update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/persistence.rb:504:in `create_or_update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/callbacks.rb:302:in `block in create_or_update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:553:in `block (2 levels) in compile'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:88:in `run_callbacks'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/callbacks.rb:302:in `create_or_update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/persistence.rb:120:in `save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/validations.rb:37:in `save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/attribute_methods/dirty.rb:21:in `save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:286:in `block (2 levels) in save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:286:in `block in save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:301:in `rollback_active_record_state!'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:285:in `save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/active_record_helper.rb:21:in `block in save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/transaction.rb:807:in `with_database_metric_name'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent.rb:572:in `with_database_metric_name'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/active_record_helper.rb:20:in `save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/persistence.rb:65:in `block in update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/persistence.rb:63:in `update'
/var/www/danbooru2/releases/20151130222604/app/controllers/posts_controller.rb:53:in `update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/abstract_controller/base.rb:198:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:553:in `block (2 levels) in compile'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:88:in `run_callbacks'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/abstract_controller/callbacks.rb:19:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/rescue.rb:29:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164:in `block in instrument'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164:in `instrument'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/abstract_controller/base.rb:137:in `process'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionview-4.2.3/lib/action_view/rendering.rb:30:in `process'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal.rb:196:in `dispatch'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal.rb:237:in `block in action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:76:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:45:in `serve'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:43:in `block in serve'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30:in `each'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30:in `serve'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:821:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/rack/browser_monitoring.rb:32:in `traced_call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/flash.rb:260:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/query_cache.rb:36:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:84:in `run_callbacks'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.3/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.3/lib/rails/rack/logger.rb:20:in `block in call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:68:in `block in tagged'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:26:in `tagged'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:68:in `tagged'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.3/lib/rails/rack/logger.rb:20:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.3/lib/rails/engine.rb:518:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.3/lib/rails/application.rb:165:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/tempfile_reaper.rb:15:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/chunked.rb:54:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:580:in `process_client'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/gctools-0.2.3/lib/gctools/oobgc/unicorn_middleware.rb:13:in `process_client'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:674:in `worker_loop'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:529:in `spawn_missing_workers'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:540:in `maintain_worker_count'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:294:in `join'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/bin/unicorn:126:in `<top (required)>'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'

BlindSargent said:

I got this error while tagging on this post #942199

Show

PG::QueryCanceled exception raised

ERROR: canceling statement due to statement timeout
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:606:in `exec_prepared'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:606:in `block in exec_cache'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:605:in `exec_cache'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:589:in `execute_and_clear'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:173:in `exec_delete'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:114:in `update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:88:in `_update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/persistence.rb:515:in `_update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/locking/optimistic.rb:79:in `_update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/attribute_methods/dirty.rb:128:in `_update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/callbacks.rb:310:in `block in _update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:553:in `block (2 levels) in compile'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:88:in `run_callbacks'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/callbacks.rb:310:in `_update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/timestamp.rb:70:in `_update_record'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/persistence.rb:504:in `create_or_update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/callbacks.rb:302:in `block in create_or_update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:553:in `block (2 levels) in compile'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:88:in `run_callbacks'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/callbacks.rb:302:in `create_or_update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/persistence.rb:120:in `save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/validations.rb:37:in `save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/attribute_methods/dirty.rb:21:in `save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:286:in `block (2 levels) in save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:286:in `block in save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:301:in `rollback_active_record_state!'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:285:in `save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/active_record_helper.rb:21:in `block in save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/transaction.rb:807:in `with_database_metric_name'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent.rb:572:in `with_database_metric_name'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/active_record_helper.rb:20:in `save'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/persistence.rb:65:in `block in update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/persistence.rb:63:in `update'
/var/www/danbooru2/releases/20151130222604/app/controllers/posts_controller.rb:53:in `update'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/abstract_controller/base.rb:198:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:553:in `block (2 levels) in compile'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:88:in `run_callbacks'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/abstract_controller/callbacks.rb:19:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/rescue.rb:29:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164:in `block in instrument'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164:in `instrument'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/abstract_controller/base.rb:137:in `process'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionview-4.2.3/lib/action_view/rendering.rb:30:in `process'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal.rb:196:in `dispatch'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_controller/metal.rb:237:in `block in action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:76:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:45:in `serve'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:43:in `block in serve'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30:in `each'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30:in `serve'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:821:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/rack/browser_monitoring.rb:32:in `traced_call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/flash.rb:260:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/query_cache.rb:36:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:84:in `run_callbacks'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.3/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.3/lib/rails/rack/logger.rb:20:in `block in call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:68:in `block in tagged'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:26:in `tagged'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:68:in `tagged'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.3/lib/rails/rack/logger.rb:20:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.3/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.3/lib/rails/engine.rb:518:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.3/lib/rails/application.rb:165:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/tempfile_reaper.rb:15:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/chunked.rb:54:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:580:in `process_client'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/gctools-0.2.3/lib/gctools/oobgc/unicorn_middleware.rb:13:in `process_client'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:674:in `worker_loop'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:529:in `spawn_missing_workers'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:540:in `maintain_worker_count'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:294:in `join'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/bin/unicorn:126:in `<top (required)>'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'

Uploading and commenting is broken at the moment and so is tagging, it seems. Just wait it out, it'll be fixed soon enough.