PG::ConnectionBad: FATAL: the database system is in recovery mode
voodoorai2000 opened this issue · comments
View details in Rollbar: https://rollbar.com/consul/Agendas/items/676/
PG::Error: invalid encoding name: unicode
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/postgresql_adapter.rb", line 671, in set_client_encoding
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/postgresql_adapter.rb", line 671, in configure_connection
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/postgresql_adapter.rb", line 277, in reconnect!
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract_adapter.rb", line 340, in verify!
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 456, in block in checkout_and_verify
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 88, in __run_callbacks__
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 778, in _run_checkout_callbacks
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 455, in checkout_and_verify
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 351, in block in checkout
File "/aytomad/app/agendas/.rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/monitor.rb", line 214, in mon_synchronize
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 348, in checkout
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 263, in block in connection
File "/aytomad/app/agendas/.rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/monitor.rb", line 214, in mon_synchronize
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 262, in connection
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 571, in retrieve_connection
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_handling.rb", line 113, in retrieve_connection
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_handling.rb", line 87, in connection
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/query_cache.rb", line 31, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 653, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/callbacks.rb", line 29, in block in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 88, in __run_callbacks__
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 778, in _run_call_callbacks
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 81, in run_callbacks
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/callbacks.rb", line 27, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/remote_ip.rb", line 78, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/rollbar-2.15.5/lib/rollbar/middleware/rails/rollbar.rb", line 24, in block in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/rollbar-2.15.5/lib/rollbar.rb", line 145, in scoped
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/rollbar-2.15.5/lib/rollbar/middleware/rails/rollbar.rb", line 22, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/debug_exceptions.rb", line 17, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/rollbar-2.15.5/lib/rollbar/middleware/rails/show_exceptions.rb", line 22, in call_with_rollbar
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/wash_out-0.11.0/lib/wash_out/middleware.rb", line 8, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/show_exceptions.rb", line 30, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/railties-4.2.11.3/lib/rails/rack/logger.rb", line 38, in call_app
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/railties-4.2.11.3/lib/rails/rack/logger.rb", line 20, in block in call
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2