On edit: Internal Server Error due to plugin


(Geoff Bowers) #1

Since the last update I appear to be getting the following error in a small dialogue for editing posts:

Internal Server Error

Steps to reproduce in my system at least:

  1. create a new post and save; all is well
  2. reply to the post and save; all is well
  3. edit any post and hit save; boom :boom:

Here is a screen shot of the exact dialogue.

I’ve done a complete ./launcher rebuild app with the latest update.

There is nothing in the error logs that appears to be related. I’m not sure where to start.


(Sam Saffron) #2

Something is going on in logs, have a look.


(Geoff Bowers) #3

Thanks for that – interesting read.


Found the following which looks like a DiscoursePoll error generated by the discourse-elections plugin.

NameError (uninitialized constant DiscoursePoll::POLLS_CUSTOM_FIELD Did you mean? PostCustomField) /var/www/discourse/plugins/discourse-elections/lib/poll_edits.rb:6:in `update'

Full stack trace:

select to see 608 more
Uncaught Error: Could not find module `preload-store` imported from `discourse/models/topic` Url: https://dev.lucee.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf
4 Nov 7:08 pm
3		
Uncaught Error: Could not find module discourse-common/lib/raw-handlebars Url: https://dev.lucee.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js Line: 19 Co
6 Nov 12:31 am
Uncaught Error: Could not find module discourse-common/lib/raw-handlebars Url: https://dev.lucee.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js Line: 19 Co
7 Nov 6:27 pm
Job exception: ERROR: duplicate key value violates unique constraint "idx_unique_post_uploads" DETAIL: Key (post_id, upload_id)=(19693, 1666) already exists.		11 Nov 11:26 am
2		
Job exception: end of file reached		14 Nov 1:49 am
TypeError: window.open(...) is null Url: https://dev.lucee.org/assets/application-dcfe4ed0c801d10e17a8aa374b5b5b4c2ecef91657730df592d8acb4f424f3d1.js Line: 11 Column: 26347 Window Location: https://de
14 Nov 4:30 am
Uncaught TypeError: Cannot read property 'find' of null Url: https://dev.lucee.org/assets/application-dcfe4ed0c801d10e17a8aa374b5b5b4c2ecef91657730df592d8acb4f424f3d1.js Line: 10 Column: 3042 Window L
14 Nov 9:14 am
9		
Uncaught Error: Could not find module `preload-store` imported from `discourse/models/topic` Url: https://dev.lucee.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf
14 Nov 9:15 am
Uncaught Error: Could not find module discourse-common/lib/raw-handlebars Url: https://dev.lucee.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js Line: 19 Co
16 Nov 12:24 am
Error: Could not find module discourse-common/lib/raw-handlebars Url: https://dev.lucee.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js Line: 19 Column: 118
18 Nov 8:10 am
Error: Could not find module discourse-common/lib/raw-handlebars Url: https://dev.lucee.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js Line: 19 Column: 118
19 Nov 2:36 pm
Uncaught Error: Could not find module discourse-common/lib/raw-handlebars Url: https://dev.lucee.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js Line: 19 Co
21 Nov 10:46 pm
5		
Job exception: execution expired		26 Nov 12:17 am
TypeError: window.open(...) is null Url: https://dev.lucee.org/assets/application-dcfe4ed0c801d10e17a8aa374b5b5b4c2ecef91657730df592d8acb4f424f3d1.js Line: 11 Column: 26287 Window Location: https://de
26 Nov 2:20 pm
Uncaught TypeError: document.getElementsByClassName.ToString is not a function Url: Line: 1 Column: 33 Window Location: https://dev.lucee.org/t/set-server-and-web-password-on-the-console-for-automati
28 Nov 4:03 am
2		
Uncaught TypeError: document.getElementsByClassName.ToString is not a function Url: Line: 1 Column: 33 Window Location: https://dev.lucee.org/t/change-password-without-old-password-in-l5/4331
28 Nov 4:27 am
8		
Error: Could not find module discourse-common/lib/raw-handlebars Url: https://dev.lucee.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js Line: 19 Column: 229
28 Nov 5:58 pm
Uncaught TypeError: document.getElementsByClassName.ToString is not a function Url: Line: 1 Column: 33 Window Location: https://dev.lucee.org/t/force-all-to-https/1373
29 Nov 4:19 am
Uncaught TypeError: document.getElementsByClassName.ToString is not a function Url: Line: 1 Column: 33 Window Location: https://dev.lucee.org/t/ssl-certificates/1925
29 Nov 4:23 am
ActiveRecord::StatementInvalid (PG::SyntaxError: ERROR: syntax error in tsquery: "'/?':* | '':* | 'apitest.trafficvance.com':* | 'apitest.trafficvance.com/?':* | '':* | 'campaignservice':* | 'createo
29 Nov 5:38 am
Failed to handle exception in exception app middleware : PG::SyntaxError: ERROR: syntax error in tsquery: "'/?':* | '':* | 'apitest.trafficvance.com':* | 'apitest.trafficvance.com/?':* | '':* | 'camp
29 Nov 5:38 am
ActiveRecord::StatementInvalid (PG::SyntaxError: ERROR: syntax error in tsquery: "'/?':* | '':* | 'apitest.trafficvance.com':* | 'apitest.trafficvance.com/?':* | '':* | 'campaignservice':* | 'createo
29 Nov 5:38 am
Failed to handle exception in exception app middleware : PG::SyntaxError: ERROR: syntax error in tsquery: "'/?':* | '':* | 'apitest.trafficvance.com':* | 'apitest.trafficvance.com/?':* | '':* | 'camp
29 Nov 5:38 am
ActiveRecord::StatementInvalid (PG::SyntaxError: ERROR: syntax error in tsquery: "'/?':* | '':* | 'apitest.trafficvance.com':* | 'apitest.trafficvance.com/?':* | '':* | 'campaignservice':* | 'createo
29 Nov 5:38 am
Failed to handle exception in exception app middleware : PG::SyntaxError: ERROR: syntax error in tsquery: "'/?':* | '':* | 'apitest.trafficvance.com':* | 'apitest.trafficvance.com/?':* | '':* | 'camp
29 Nov 5:38 am
ActiveRecord::StatementInvalid (PG::SyntaxError: ERROR: syntax error in tsquery: "'/?':* | '':* | 'apitest.trafficvance.com':* | '':* | 'campaignservice':* | 'createobject':* | 'myarguments':* | 'myw
29 Nov 5:39 am
Failed to handle exception in exception app middleware : PG::SyntaxError: ERROR: syntax error in tsquery: "'/?':* | '':* | 'apitest.trafficvance.com':* | '':* | 'campaignservice':* | 'createobject':*
29 Nov 5:39 am
ActiveRecord::StatementInvalid (PG::SyntaxError: ERROR: syntax error in tsquery: "'':* | 'ab':* | 'apitest.trafficvance.com':* | '':* | 'campaignservice':* | 'createobject':* | 'mywebservice':* | 'th
29 Nov 5:39 am
Failed to handle exception in exception app middleware : PG::SyntaxError: ERROR: syntax error in tsquery: "'':* | 'ab':* | 'apitest.trafficvance.com':* | '':* | 'campaignservice':* | 'createobject':*
29 Nov 5:39 am
Creating scope :open. Overwriting existing method Poll.open.
29 Nov 11:23 am
Creating scope :open. Overwriting existing method Poll.open.
29 Nov 11:23 am
Error: Could not find module discourse-common/lib/raw-handlebars Url: https://dev.lucee.org/assets/ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js Line: 19 Column: 118
30 Nov 12:19 am
TypeError: window.handlerProc is undefined Url: https://dev.lucee.org/t/duplicate-scheduled-tasks/4086 Line: 1 Column: 1 Window Location: https://dev.lucee.org/t/duplicate-scheduled-tasks/4086
30 Nov 3:30 am
NameError (uninitialized constant DiscoursePoll::POLLS_CUSTOM_FIELD Did you mean? PostCustomField) /var/www/discourse/plugins/discourse-elections/lib/poll_edits.rb:6:in `update'
30 Nov 3:19 pm
Uncaught Error: Could not find module `preload-store` imported from `discourse/models/topic` Url: https://dev.lucee.org/assets/ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f0499
1 Dec 8:23 am
13		
NameError (uninitialized constant DiscoursePoll::POLLS_CUSTOM_FIELD Did you mean? PostCustomField) /var/www/discourse/plugins/discourse-elections/lib/poll_edits.rb:6:in `update'
Mo 10:29 am
3		
NameError (uninitialized constant DiscoursePoll::POLLS_CUSTOM_FIELD Did you mean? PostCustomField) /var/www/discourse/plugins/discourse-elections/lib/poll_edits.rb:6:in `update'
Mo 12:42 pm
2		
Creating scope :open. Overwriting existing method Poll.open.
Mo 12:47 pm
2		
Creating scope :open. Overwriting existing method Poll.open.
Mo 12:53 pm
3		
NameError (uninitialized constant DiscoursePoll::POLLS_CUSTOM_FIELD) /var/www/discourse/plugins/discourse-elections/lib/poll_edits.rb:6:in `update'
Mo 1:11 pm
Creating scope :open. Overwriting existing method Poll.open.
Mo 1:13 pm
2		
Creating scope :open. Overwriting existing method Poll.open.
Mo 1:14 pm
2		
Creating scope :open. Overwriting existing method Poll.open.
Mo 1:19 pm
7		
NameError (uninitialized constant DiscoursePoll::POLLS_CUSTOM_FIELD Did you mean? PostCustomField) /var/www/discourse/plugins/discourse-elections/lib/poll_edits.rb:6:in `update'
Mo 1:47 pm
2		
Job exception: uninitialized constant DiscoursePoll::POLLS_CUSTOM_FIELD Did you mean? PostCustomField		Mo 10:20 pm
3		
NameError (uninitialized constant DiscoursePoll::POLLS_CUSTOM_FIELD Did you mean? PostCustomField) /var/www/discourse/plugins/discourse-elections/lib/poll_edits.rb:6:in `update'
Tu 3:29 am
3		
TypeError: 'undefined' is not a function Url: undefined Line: 0 Window Location: https://dev.lucee.org/
Tu 4:11 pm
Error: Could not find module discourse-common/lib/raw-handlebars Url: https://dev.lucee.org/assets/ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js Line: 19 Column: 118
Tu 6:46 pm
4		
NameError (uninitialized constant DiscoursePoll::POLLS_CUSTOM_FIELD Did you mean? PostCustomField) /var/www/discourse/plugins/discourse-elections/lib/poll_edits.rb:6:in `update'
1:57 am
NameError (uninitialized constant DiscoursePoll::POLLS_CUSTOM_FIELD Did you mean? PostCustomField) /var/www/discourse/plugins/discourse-elections/lib/poll_edits.rb:6:in `update'
2:14 pm
/var/www/discourse/plugins/discourse-elections/lib/poll_edits.rb:6:in `update'
/var/www/discourse/plugins/poll/plugin.rb:381:in `block (2 levels) in activate!'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:426:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:179:in `block (2 levels) in halting_and_conditional'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:606:in `block (2 levels) in default_terminator'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:605:in `catch'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:605:in `block in default_terminator'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:180:in `block in halting_and_conditional'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:513:in `block in invoke_before'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:513:in `each'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:513:in `invoke_before'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:131:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in `_run_validate_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.0/lib/active_model/validations.rb:409:in `run_validations!'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.0/lib/active_model/validations/callbacks.rb:118:in `block in run_validations!'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in `_run_validation_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.0/lib/active_model/validations/callbacks.rb:118:in `run_validations!'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.0/lib/active_model/validations.rb:339:in `valid?'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/validations.rb:67:in `valid?'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/validations.rb:84:in `perform_validations'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/validations.rb:46:in `save'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in `block (2 levels) in save'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in `block in with_transaction_returning_status'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:252:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in `with_transaction_returning_status'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in `block in save'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:325:in `rollback_active_record_state!'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:309:in `save'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/suppressor.rb:44:in `save'
/var/www/discourse/lib/post_revisor.rb:367:in `update_post'
/var/www/discourse/lib/post_revisor.rb:328:in `revise'
/var/www/discourse/lib/post_revisor.rb:322:in `revise_and_create_new_version'
/var/www/discourse/lib/post_revisor.rb:230:in `revise_post'
/var/www/discourse/lib/post_revisor.rb:158:in `block in revise!'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:230:in `block in within_new_transaction'
/usr/local/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:227:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in `transaction'
/var/www/discourse/lib/post_revisor.rb:157:in `revise!'
/var/www/discourse/app/controllers/posts_controller.rb:243:in `update'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:194:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_controller/metal/rendering.rb:30:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:41:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_controller/metal/rescue.rb:22:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in `block in instrument'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/railties/controller_runtime.rb:24:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:134:in `process'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.0/lib/action_view/rendering.rb:32:in `process'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-mini-profiler-1.0.0/lib/mini_profiler/profiling_methods.rb:104:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:191:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:252:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:34:in `serve'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:52:in `block in serve'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in `each'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in `serve'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:840:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-protection-2.0.3/lib/rack/protection/frame_options.rb:31:in `call'
/var/www/discourse/lib/middleware/omniauth_bypass_middleware.rb:26:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/tempfile_reaper.rb:15:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/conditional_get.rb:38:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/head.rb:12:in `call'
/var/www/discourse/lib/content_security_policy/middleware.rb:12:in `call'
/var/www/discourse/lib/middleware/anonymous_cache.rb:216:in `call'
/var/www/discourse/config/initializers/008-rack-cors.rb:25:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:232:in `context'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:226:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/cookies.rb:670:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/logster-1.3.1/lib/logster/middleware/reporter.rb:31:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:28:in `call'
/var/www/discourse/config/initializers/100-quiet_logger.rb:16:in `call'
/var/www/discourse/config/initializers/100-silence_logger.rb:29:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/request_id.rb:27:in `call'
/var/www/discourse/lib/middleware/enforce_hostname.rb:17:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/method_override.rb:22:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/sendfile.rb:111:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-mini-profiler-1.0.0/lib/mini_profiler/profiler.rb:285:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/message_bus-2.2.0.pre.1/lib/message_bus/rack/middleware.rb:57:in `call'
/var/www/discourse/lib/middleware/request_tracker.rb:180:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/engine.rb:524:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/railtie.rb:190:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/railtie.rb:190:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/urlmap.rb:68:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `each'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `call'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:606:in `process_client'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:701:in `worker_loop'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:549:in `spawn_missing_workers'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:142:in `start'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/bin/unicorn:126:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.5.0/bin/unicorn:23:in `load'
/var/www/discourse/vendor/bundle/ruby/2.5.0/bin/unicorn:23:in `<main>'
info backtrace env Solve Delete  Protect Share  Debug   Info    Warning    Error    Fatal  
Search
 Clear logs

Fix for me was to rip out the discourse-elections plugin entirely.


Elections Plugin
(system) closed #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.