Bug #39304
openOrgs and Locs + Job Templates are broken in 3.18 (probably 3.17 as well)
Description
Problem:
The changes to Organizations and Locations has completely broken jobs.
We currently have around 160 Organizations and 1,800 Locations. We assign various Orgs and Locs to users by creating their own user role, limiting what they can do and see.
We have since found a major issue in 3.18 (likely also exists in 3.17)
We have been testing this for the last 2 days, and there are some major issues breaking jobs.For example, we have a user that has 1 Org and 1 Loc assigned to them. They are NOT an Admin. When this user navigates to run a job, the job categories and templates never load. When they navigate to the Host → Job Template page - it also never loads and times out.This makes no sense as the user themselves only has 1 Org and 1 Loc assigned to them.
We have tested both with job templates have all Orgs and Locs assigned to them, as well as with them all unassigned. Same outcome.
The error is below. You can see a timeout of 60 seconds against the PostGres database. But watching the database at the same time, there is little to no activity, and nothing showing any sort of high processing time.
If you make the user an Admin, by clicking the Administrator checkbox, the job templates page, job categories and job templates all load almost instantly.
According to Claude helping us with this, it stated:
Foreman Role Filter “Override” Checkbox — Removed in 3.17
What it did
The Override checkbox let you decouple a filter’s org/location scope from its parent role. With it enabled, you could grant or restrict orgs/locations on a per-filter basis instead of inheriting from the role.
Why it was removed
PR #10370 (https://github.com/theforeman/foreman/pull/10370) (merged Oct 2025, shipped in Foreman 3.17) removed it to fix Redmine #37987(https://projects.theforeman.org/issues/37987) — filters with override=false weren’t properly generating their taxonomy_search field, so org/location restrictions on the role weren’t being enforced correctly. Rather than fix the complex override machinery, the developers removed it entirely and made filters unconditionally inherit taxonomies from the role.
The change deleted ~656 lines across 28 files — the column, controller action, API params, and UI elements are all gone. No deprecation warning was issued beforehand.
This being said, we have a major issue on our hands now because we only have two possible routes.
Make all users admins, to allow them to run jobs. But now they can see and manipulate hosts that they shouldnt otherwise be able to.
Do not allow users to run jobs.
Neither of these options are viable.
Follow up question: Now that the Override checkbox has been removed, what happens if no Organizations or Locations are explicitly assigned to a role - does it default to all orgs and locs, or none?
$ foreman-rake errors:fetch_log request_id=a6e0c865
Foreman version: 3.18.1
Plugins:
foreman-tasks 11.1.1
foreman_kubevirt 0.6.0
foreman_ovirt 2.0.3
foreman_puppet 9.1.0
foreman_remote_execution 16.5.3
foreman_salt 17.0.2
foreman_statistics 2.1.0
foreman_templates 11.0.1
foreman_vault 3.0.0
foreman_webhooks 5.0.2
2026-05-08T14:50:14 [I|app|a6e0c865] Started GET “/job_templates” for 10.222.218.3 at 2026-05-08 14:50:14 +0000
2026-05-08T14:50:14 [I|app|a6e0c865] Processing by JobTemplatesController#index as HTML
2026-05-08T14:51:14 [I|app|a6e0c865] Rendered /usr/share/gems/gems/foreman_remote_execution-16.5.3/app/views/job_templates/index.html.erb within layouts/application (Duration: 60008.3ms | Allocations: 3681)
2026-05-08T14:51:14 [I|app|a6e0c865] Rendered layout layouts/application.html.erb (Duration: 60008.6ms | Allocations: 3739)
2026-05-08T14:51:14 [W|app|a6e0c865] PG::QueryCanceled: ERROR: canceling statement due to statement timeout
a6e0c865 |
2026-05-08T14:51:14 [I|app|a6e0c865] Backtrace for ‘PG::QueryCanceled: ERROR: canceling statement due to statement timeout
a6e0c865 | ’ error (ActionView::Template::Error): PG::QueryCanceled: ERROR: canceling statement due to statement timeout
a6e0c865 |
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in exec_params' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in block (2 levels) in exec_no_cache’
a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/concurrency/share_lock.rb:187:in yield_shares' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/dependencies/interlock.rb:41:in permit_concurrent_loads’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in block in exec_no_cache' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in handle_interrupt’
a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in handle_interrupt’
a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/abstract_adapter.rb:752:in block in log’
a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications/instrumenter.rb:24:in instrument' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/abstract_adapter.rb:743:in log’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in exec_no_cache' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in execute_and_clear’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/postgresql/database_statements.rb:54:in exec_query' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/abstract/database_statements.rb:560:in select’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in select_all' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/abstract/query_cache.rb:107:in block in select_all’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/abstract/query_cache.rb:137:in block in cache_sql' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in handle_interrupt’
a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in handle_interrupt’
a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/abstract/query_cache.rb:128:in cache_sql’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/abstract/query_cache.rb:107:in select_all' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/abstract/database_statements.rb:91:in select_rows’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/connection_adapters/abstract/schema_statements.rb:1298:in distinct_relation_for_primary_key' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/relation/finder_methods.rb:427:in block in apply_join_dependency’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/relation.rb:962:in skip_query_cache_if_necessary' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/relation/finder_methods.rb:426:in apply_join_dependency’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/relation.rb:932:in block in exec_main_query' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/relation.rb:962:in skip_query_cache_if_necessary’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/relation.rb:928:in exec_main_query' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/relation.rb:914:in block in exec_queries’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/relation.rb:962:in skip_query_cache_if_necessary' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/relation.rb:908:in exec_queries’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/relation.rb:695:in load' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/relation.rb:250:in records’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/relation/delegation.rb:88:in each' a6e0c865 | /usr/share/gems/gems/foreman_remote_execution-16.5.3/app/views/job_templates/index.html.erb:19:in __usr_share_gems_gems_foreman_remote_execution________app_views_job_templates_index_html_erb___2837764437716347345_28909880’
a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/base.rb:244:in public_send' a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/base.rb:244:in _run’
a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/template.rb:157:in block in render' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications.rb:208:in instrument’
a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/template.rb:361:in instrument_render_template' a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/template.rb:155:in render’
a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/renderer/template_renderer.rb:65:in block (2 levels) in render_template' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications.rb:206:in block in instrument’
a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications/instrumenter.rb:24:in instrument' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications.rb:206:in instrument’
a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/renderer/template_renderer.rb:60:in block in render_template' a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/renderer/template_renderer.rb:75:in block in render_with_layout’
a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications.rb:206:in block in instrument' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications/instrumenter.rb:24:in instrument’
a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications.rb:206:in instrument' a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/renderer/template_renderer.rb:74:in render_with_layout’
a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/renderer/template_renderer.rb:59:in render_template' a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/renderer/template_renderer.rb:11:in render’
a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/renderer/renderer.rb:61:in render_template_to_object' a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/renderer/renderer.rb:29:in render_to_object’
a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/rendering.rb:117:in block in _render_template' a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/base.rb:270:in in_rendering_context’
a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/rendering.rb:116:in _render_template' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/streaming.rb:216:in _render_template’
a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/rendering.rb:103:in render_to_body' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/rendering.rb:158:in render_to_body’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/renderers.rb:141:in render_to_body' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/abstract_controller/rendering.rb:27:in render’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/rendering.rb:139:in render' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/instrumentation.rb:22:in block (2 levels) in render’
a6e0c865 | /usr/share/ruby/benchmark.rb:308:in realtime' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/core_ext/benchmark.rb:14:in ms’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/instrumentation.rb:22:in block in render' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/instrumentation.rb:91:in cleanup_view_runtime’
a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/railties/controller_runtime.rb:34:in cleanup_view_runtime' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/instrumentation.rb:21:in render’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/implicit_render.rb:35:in default_render' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/basic_implicit_render.rb:7:in send_action’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/abstract_controller/base.rb:215:in process_action' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/rendering.rb:165:in process_action’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/abstract_controller/callbacks.rb:234:in block in process_action' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:118:in block in run_callbacks’
a6e0c865 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in set_timezone' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:127:in block in run_callbacks’
a6e0c865 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in clear_thread' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:127:in block in run_callbacks’
a6e0c865 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in set_topbar_sweeper_controller' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:127:in block in run_callbacks’
a6e0c865 | /usr/share/gems/gems/audited-5.8.0/lib/audited/sweeper.rb:16:in around' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:127:in block in run_callbacks’
a6e0c865 | /usr/share/gems/gems/audited-5.8.0/lib/audited/sweeper.rb:16:in around' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:127:in block in run_callbacks’
a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:138:in run_callbacks' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/abstract_controller/callbacks.rb:233:in process_action’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/rescue.rb:23:in process_action' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/instrumentation.rb:67:in block in process_action’
a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications.rb:206:in block in instrument' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications/instrumenter.rb:24:in instrument’
a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/notifications.rb:206:in instrument' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/instrumentation.rb:66:in process_action’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal/params_wrapper.rb:259:in process_action' a6e0c865 | /usr/share/gems/gems/activerecord-7.0.10/lib/active_record/railties/controller_runtime.rb:27:in process_action’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/abstract_controller/base.rb:151:in process' a6e0c865 | /usr/share/gems/gems/actionview-7.0.10/lib/action_view/rendering.rb:39:in process’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal.rb:188:in dispatch' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_controller/metal.rb:251:in dispatch’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/routing/route_set.rb:49:in dispatch' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/routing/route_set.rb:32:in serve’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/journey/router.rb:50:in block in serve' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/journey/router.rb:32:in each’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/journey/router.rb:32:in serve' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/routing/route_set.rb:852:in call’
a6e0c865 | /usr/share/gems/gems/apipie-dsl-2.6.2/lib/apipie_dsl/static_dispatcher.rb:67:in call' a6e0c865 | /usr/share/gems/gems/apipie-rails-1.5.0/lib/apipie/static_dispatcher.rb:72:in call’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in call' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in call’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in call' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in call’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in call' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in call’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in call' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in call’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/static.rb:23:in call' a6e0c865 | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in call’
a6e0c865 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in call' a6e0c865 | /usr/share/gems/gems/apipie-rails-1.5.0/lib/apipie/middleware/checksum_in_headers.rb:27:in call’
a6e0c865 | /usr/share/gems/gems/rack-2.2.4/lib/rack/tempfile_reaper.rb:15:in call' a6e0c865 | /usr/share/gems/gems/rack-2.2.4/lib/rack/etag.rb:27:in call’
a6e0c865 | /usr/share/gems/gems/rack-2.2.4/lib/rack/conditional_get.rb:27:in call' a6e0c865 | /usr/share/gems/gems/rack-2.2.4/lib/rack/head.rb:12:in call’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/http/permissions_policy.rb:38:in call' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/http/content_security_policy.rb:39:in call’
a6e0c865 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in call' a6e0c865 | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:266:in context’
a6e0c865 | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:260:in call' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/cookies.rb:704:in call’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/callbacks.rb:27:in block in call' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/callbacks.rb:99:in run_callbacks’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/callbacks.rb:26:in call' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/debug_exceptions.rb:28:in call’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/show_exceptions.rb:29:in call' a6e0c865 | /usr/share/gems/gems/railties-7.0.10/lib/rails/rack/logger.rb:40:in call_app’
a6e0c865 | /usr/share/gems/gems/railties-7.0.10/lib/rails/rack/logger.rb:27:in call' a6e0c865 | /usr/share/gems/gems/sprockets-rails-3.5.2/lib/sprockets/rails/quiet_assets.rb:17:in call’
a6e0c865 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in call' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/remote_ip.rb:93:in call’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/request_id.rb:26:in call' a6e0c865 | /usr/share/gems/gems/rack-2.2.4/lib/rack/method_override.rb:24:in call’
a6e0c865 | /usr/share/gems/gems/rack-2.2.4/lib/rack/runtime.rb:22:in call' a6e0c865 | /usr/share/gems/gems/activesupport-7.0.10/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in call’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/executor.rb:14:in call' a6e0c865 | /usr/share/gems/gems/rack-2.2.4/lib/rack/sendfile.rb:110:in call’
a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/ssl.rb:77:in call' a6e0c865 | /usr/share/gems/gems/actionpack-7.0.10/lib/action_dispatch/middleware/host_authorization.rb:131:in call’
a6e0c865 | /usr/share/gems/gems/secure_headers-7.1.0/lib/secure_headers/middleware.rb:11:in call' a6e0c865 | /usr/share/gems/gems/railties-7.0.10/lib/rails/engine.rb:531:in call’
a6e0c865 | /usr/share/gems/gems/railties-7.0.10/lib/rails/railtie.rb:226:in public_send' a6e0c865 | /usr/share/gems/gems/railties-7.0.10/lib/rails/railtie.rb:226:in method_missing’
a6e0c865 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:74:in block in call' a6e0c865 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in each’
a6e0c865 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in call' a6e0c865 | /usr/share/gems/gems/puma-6.6.1/lib/puma/configuration.rb:279:in call’
a6e0c865 | /usr/share/gems/gems/puma-6.6.1/lib/puma/request.rb:99:in block in handle_request' a6e0c865 | /usr/share/gems/gems/puma-6.6.1/lib/puma/thread_pool.rb:390:in with_force_shutdown’
a6e0c865 | /usr/share/gems/gems/puma-6.6.1/lib/puma/request.rb:98:in handle_request' a6e0c865 | /usr/share/gems/gems/puma-6.6.1/lib/puma/server.rb:472:in process_client’
a6e0c865 | /usr/share/gems/gems/puma-6.6.1/lib/puma/server.rb:254:in block in run' a6e0c865 | /usr/share/gems/gems/puma-6.6.1/lib/puma/thread_pool.rb:167:in block in spawn_thread’
a6e0c865 | /usr/share/gems/gems/logging-2.4.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context’
2026-05-08T14:51:14 [I|app|a6e0c865] Rendered common/500.html.erb within layouts/application (Duration: 0.9ms | Allocations: 521)
2026-05-08T14:51:14 [I|app|a6e0c865] Rendered layouts/base.html.erb (Duration: 3.9ms | Allocations: 2200)
2026-05-08T14:51:14 [I|app|a6e0c865] Rendered layout layouts/application.html.erb (Duration: 5.3ms | Allocations: 2983)
2026-05-08T14:51:14 [I|app|a6e0c865] Completed 500 Internal Server Error in 60083ms (Views: 6.0ms | ActiveRecord: 60033.3ms | Allocations: 27207)