Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard exception: Solid Queue::job is missing a status method #123

Closed
luigi7up opened this issue May 22, 2024 · 10 comments
Closed

Dashboard exception: Solid Queue::job is missing a status method #123

luigi7up opened this issue May 22, 2024 · 10 comments

Comments

@luigi7up
Copy link

When I open Queues and click on a job that did not run because of an exception or because I pass wrong args I get the following error and the dashboard fails with a fatal exception

When I analyse the logs this is the error I see that the Solid Queue::job is missing a status method

I'm using Rails 7.1 with mission_control-jobs (~> 0.2.1) and everything is running in a Puma 6.0

[hiphiphouse] [2024-05-22 17:55:33] I, [2024-05-22T17:55:33.515147 #15]  INFO -- : [24d6be8a-e014-4e7a-a987-6214618d79e0] Processing by MissionControl::Jobs::QueuesController#show as HTML
[hiphiphouse] [2024-05-22 17:55:33] I, [2024-05-22T17:55:33.515211 #15]  INFO -- : [24d6be8a-e014-4e7a-a987-6214618d79e0]   Parameters: {"server_id"=>"solid_queue", "application_id"=>"realestatescraperrails", "id"=>"default"}
[hiphiphouse] [2024-05-22 17:55:33] I, [2024-05-22T17:55:33.572069 #15]  INFO -- : [24d6be8a-e014-4e7a-a987-6214618d79e0]   Rendered layout /layers/heroku_ruby/gems/vendor/bundle/ruby/3.1.0/gems/mission_control-jobs-0.2.1/app/views/layouts/mission_control/jobs/application.html.erb (Duration: 45.1ms | Allocations: 7221)
[hiphiphouse] [2024-05-22 17:55:33] I, [2024-05-22T17:55:33.572507 #15]  INFO -- : [24d6be8a-e014-4e7a-a987-6214618d79e0] Completed 200 OK in 57ms (Views: 25.7ms | ActiveRecord: 25.1ms | Allocations: 8192)
[hiphiphouse] [2024-05-22 17:55:34] I, [2024-05-22T17:55:34.895968 #15]  INFO -- : [779eac64-9fb1-4161-bda7-a8c088579963] Started GET "/jobs/applications/realestatescraperrails/failed/jobs?server_id=solid_queue" for 172.68.134.38 at 2024-05-22 17:55:34 +0000
[hiphiphouse] [2024-05-22 17:55:34] I, [2024-05-22T17:55:34.897793 #15]  INFO -- : [779eac64-9fb1-4161-bda7-a8c088579963] Processing by MissionControl::Jobs::JobsController#index as HTML
[hiphiphouse] [2024-05-22 17:55:34] I, [2024-05-22T17:55:34.897892 #15]  INFO -- : [779eac64-9fb1-4161-bda7-a8c088579963]   Parameters: {"server_id"=>"solid_queue", "application_id"=>"realestatescraperrails", "status"=>"failed"}
[hiphiphouse] [2024-05-22 17:55:34] I, [2024-05-22T17:55:34.926022 #15]  INFO -- : [779eac64-9fb1-4161-bda7-a8c088579963]   Rendered layout /layers/heroku_ruby/gems/vendor/bundle/ruby/3.1.0/gems/mission_control-jobs-0.2.1/app/views/layouts/mission_control/jobs/application.html.erb (Duration: 13.4ms | Allocations: 4188)
[hiphiphouse] [2024-05-22 17:55:34] I, [2024-05-22T17:55:34.926398 #15]  INFO -- : [779eac64-9fb1-4161-bda7-a8c088579963] Completed 200 OK in 28ms (Views: 8.2ms | ActiveRecord: 11.5ms | Allocations: 5820)
[hiphiphouse] [2024-05-22 17:55:38] I, [2024-05-22T17:55:38.642000 #15]  INFO -- : [6cacec07-49ce-4790-b9f8-c2168298ce10] Started GET "/jobs/applications/realestatescraperrails/jobs/476c448c-2c9a-4b50-9d38-4c346a8c6ff9?filter%5Bqueue_name%5D=default&server_id=solid_queue" for 172.64.238.152 at 2024-05-22 17:55:38 +0000
[hiphiphouse] [2024-05-22 17:55:38] I, [2024-05-22T17:55:38.643418 #15]  INFO -- : [6cacec07-49ce-4790-b9f8-c2168298ce10] Processing by MissionControl::Jobs::JobsController#show as HTML
[hiphiphouse] [2024-05-22 17:55:38] I, [2024-05-22T17:55:38.643480 #15]  INFO -- : [6cacec07-49ce-4790-b9f8-c2168298ce10]   Parameters: {"filter"=>{"queue_name"=>"default"}, "server_id"=>"solid_queue", "application_id"=>"realestatescraperrails", "id"=>"476c448c-2c9a-4b50-9d38-4c346a8c6ff9"}
[hiphiphouse] [2024-05-22 17:55:38] I, [2024-05-22T17:55:38.655808 #15]  INFO -- : [6cacec07-49ce-4790-b9f8-c2168298ce10] Completed 500 Internal Server Error in 12ms (ActiveRecord: 1.4ms | Allocations: 6172)
[hiphiphouse] [2024-05-22 17:55:38] F, [2024-05-22T17:55:38.659066 #15] FATAL -- : [6cacec07-49ce-4790-b9f8-c2168298ce10]   
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] NoMethodError (undefined method `status' for #<SolidQueue::Job id: 1, queue_name: "default", class_name: "NjuskaloScraperJob", arguments: {"job_class"=>"NjuskaloScraperJob", "job_id"=>"476c448c-2c9a-4b50-9d38-4c346a8c6ff9", "provider_job_id"=>nil, "queue_name"=>"default", "priority"=>nil, "arguments"=>["www.njuskalo.hr", nil, 2, false], "executions"=>0, "exception_executions"=>{}, "locale"=>"en", "timezone"=>"UTC", "enqueued_at"=>"2024-05-22T17:44:59.815855130Z", "scheduled_at"=>nil}, priority: 0, active_job_id: "476c448c-2c9a-4b50-9d38-4c346a8c6ff9", scheduled_at: "2024-05-22 17:44:59.815697000 +0000", finished_at: nil, concurrency_key: nil, created_at: "2024-05-22 17:44:59.952260000 +0000", updated_at: "2024-05-22 17:44:59.952260000 +0000">):
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10]   
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activemodel (7.1.3.3) lib/active_model/attribute_methods.rb:489:in `method_missing'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] mission_control-jobs (0.2.1) lib/active_job/queue_adapters/solid_queue_ext.rb:113:in `status_from_solid_queue_job'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] mission_control-jobs (0.2.1) lib/active_job/queue_adapters/solid_queue_ext.rb:96:in `deserialize_and_proxy_solid_queue_job'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] mission_control-jobs (0.2.1) lib/active_job/queue_adapters/solid_queue_ext.rb:78:in `find_job'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] mission_control-jobs (0.2.1) lib/active_job/jobs_relation.rb:172:in `find_by_id!'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] mission_control-jobs (0.2.1) app/controllers/concerns/mission_control/jobs/job_scoped.rb:10:in `set_job'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:403:in `block in make_lambda'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:183:in `block (2 levels) in halting_and_conditional'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:184:in `block in halting_and_conditional'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:598:in `block in invoke_before'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:598:in `each'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:598:in `invoke_before'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:119:in `block in run_callbacks'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] mission_control-jobs (0.2.1) lib/mission_control/jobs/adapter.rb:3:in `activating'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] mission_control-jobs (0.2.1) lib/mission_control/jobs/server.rb:18:in `activating'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] mission_control-jobs (0.2.1) app/controllers/concerns/mission_control/jobs/application_scoped.rb:28:in `activating_job_server'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:130:in `block in run_callbacks'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] turbo-rails (2.0.5) lib/turbo-rails.rb:24:in `with_request_id'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] turbo-rails (2.0.5) app/controllers/concerns/turbo/request_id_tracking.rb:10:in `turbo_tracking_request_id'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:130:in `block in run_callbacks'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] audited (5.6.0) lib/audited/sweeper.rb:16:in `around'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:130:in `block in run_callbacks'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] audited (5.6.0) lib/audited/sweeper.rb:16:in `around'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:130:in `block in run_callbacks'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actiontext (7.1.3.3) lib/action_text/rendering.rb:23:in `with_renderer'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actiontext (7.1.3.3) lib/action_text/engine.rb:69:in `block (4 levels) in <class:Engine>'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:130:in `instance_exec'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:130:in `block in run_callbacks'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:141:in `run_callbacks'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/abstract_controller/callbacks.rb:258:in `process_action'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_controller/metal/rescue.rb:25:in `process_action'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_controller/metal/instrumentation.rb:74:in `block in process_action'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/notifications.rb:206:in `block in instrument'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/notifications/instrumenter.rb:58:in `instrument'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/notifications.rb:206:in `instrument'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_controller/metal/instrumentation.rb:73:in `process_action'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_controller/metal/params_wrapper.rb:261:in `process_action'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activerecord (7.1.3.3) lib/active_record/railties/controller_runtime.rb:32:in `process_action'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/abstract_controller/base.rb:160:in `process'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionview (7.1.3.3) lib/action_view/rendering.rb:40:in `process'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_controller/metal.rb:227:in `dispatch'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_controller/metal.rb:309:in `dispatch'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/routing/route_set.rb:32:in `serve'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/journey/router.rb:51:in `block in serve'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/journey/router.rb:131:in `block in find_routes'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/journey/router.rb:124:in `each'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/journey/router.rb:124:in `find_routes'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/journey/router.rb:32:in `serve'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/routing/route_set.rb:882:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] railties (7.1.3.3) lib/rails/engine.rb:536:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] railties (7.1.3.3) lib/rails/railtie.rb:226:in `public_send'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] railties (7.1.3.3) lib/rails/railtie.rb:226:in `method_missing'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/routing/mapper.rb:22:in `block in <class:Constraints>'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/routing/mapper.rb:51:in `serve'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/journey/router.rb:51:in `block in serve'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/journey/router.rb:131:in `block in find_routes'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/journey/router.rb:124:in `each'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/journey/router.rb:124:in `find_routes'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/journey/router.rb:32:in `serve'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/routing/route_set.rb:882:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] warden (1.2.9) lib/warden/manager.rb:36:in `block in call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] warden (1.2.9) lib/warden/manager.rb:34:in `catch'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] warden (1.2.9) lib/warden/manager.rb:34:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] rack (3.0.11) lib/rack/tempfile_reaper.rb:20:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] rack (3.0.11) lib/rack/etag.rb:29:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] rack (3.0.11) lib/rack/conditional_get.rb:31:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] rack (3.0.11) lib/rack/head.rb:15:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/http/permissions_policy.rb:36:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/http/content_security_policy.rb:33:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] rack-session (2.0.0) lib/rack/session/abstract/id.rb:272:in `context'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] rack-session (2.0.0) lib/rack/session/abstract/id.rb:266:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/middleware/cookies.rb:689:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/callbacks.rb:101:in `run_callbacks'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] railties (7.1.3.3) lib/rails/rack/logger.rb:37:in `call_app'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] railties (7.1.3.3) lib/rails/rack/logger.rb:24:in `block in call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/tagged_logging.rb:135:in `block in tagged'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/tagged_logging.rb:39:in `tagged'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/tagged_logging.rb:135:in `tagged'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] activesupport (7.1.3.3) lib/active_support/broadcast_logger.rb:240:in `method_missing'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] railties (7.1.3.3) lib/rails/rack/logger.rb:24:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/middleware/remote_ip.rb:92:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/middleware/request_id.rb:28:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] rack (3.0.11) lib/rack/method_override.rb:28:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] rack (3.0.11) lib/rack/runtime.rb:24:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] actionpack (7.1.3.3) lib/action_dispatch/middleware/static.rb:25:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] rack (3.0.11) lib/rack/sendfile.rb:114:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] railties (7.1.3.3) lib/rails/engine.rb:536:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] puma (6.4.2) lib/puma/configuration.rb:272:in `call'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] puma (6.4.2) lib/puma/request.rb:100:in `block in handle_request'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] puma (6.4.2) lib/puma/thread_pool.rb:378:in `with_force_shutdown'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] puma (6.4.2) lib/puma/request.rb:99:in `handle_request'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] puma (6.4.2) lib/puma/server.rb:464:in `process_client'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2168298ce10] puma (6.4.2) lib/puma/server.rb:245:in `block in run'
[hiphiphouse] [2024-05-22 17:55:38] [6cacec07-49ce-4790-b9f8-c2
@rosa
Copy link
Member

rosa commented May 22, 2024

Hey @luigi7up, thanks for the report! What version of Solid Queue are you running?

@luigi7up
Copy link
Author

luigi7up commented May 22, 2024 via email

@luigi7up
Copy link
Author

Hi @rosa I just checked and the version is solid_queue (0.1.2)

@rosa
Copy link
Member

rosa commented May 23, 2024

Ahhh! Could you try upgrading to the last version? 0.3.1 as of now.

@luigi7up
Copy link
Author

luigi7up commented May 23, 2024 via email

@luigi7up
Copy link
Author

@rosa Hi, I found another bug / exception that happens when I go to Failed Jobs and decide to discard a failed job. It fails to remove it with the following exception:

ActiveRecord::StatementInvalid at /applications/realestatescraperrails/jobs/50e65d2a-5a98-4293-b940-2b489fb93800/discard
PG::UndefinedTable: ERROR:  relation "solid_queue_recurring_executions" does not exist
LINE 10:  WHERE a.attrelid = '"solid_queue_recurring_executions"'::re...
                             ^
                             

Do you prefer if I opened another issue for it?

@rosa
Copy link
Member

rosa commented May 23, 2024

Oh! You need to copy and run the pending migration for Solid Queue, to create the solid_queue_recurring_executions table. In your app run:

bin/rails solid_queue:install:migrations

And then run the migrations.

@luigi7up
Copy link
Author

luigi7up commented May 23, 2024 via email

@rosa
Copy link
Member

rosa commented Jun 7, 2024

@luigi7up, was this one solved for you after running the migrations?

@luigi7up
Copy link
Author

luigi7up commented Jun 8, 2024 via email

@rosa rosa closed this as completed Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants