500 error on issues list access
Summary
After upgrading the gitlab-ce APT package to 15.0, accessing the issues list page results in a 500 error
Steps to reproduce
Upgrade existing instance from latest v14 to v15 and access existing issues in an existing project
What is the current bug behavior?
Just an 500 error page is shown with
Whoops, something went wrong on our end.
What is the expected correct behavior?
The default issues list should bw shown with no error
Relevant logs
Relevant logs
==> /var/log/gitlab/gitlab-rails/production.log <== Started GET "/proclima/einfachpacken/-/issues" for 89.247.103.130 at 2022-05-25 13:13:06 +0200 Processing by Projects::IssuesController#index as HTML Parameters: {"namespace_id"=>"proclima", "project_id"=>"einfachpacken"} Rendered layout layouts/project.html.haml (Duration: 34.5ms | Allocations: 26511) Completed 500 Internal Server Error in 93ms (ActiveRecord: 12.0ms | Elasticsearch: 0.0ms | Allocations: 52562)ActionView::Template::Error (undefined method `include?' for nil:NilClass): 14: project_path: @project.full_path } } 15: 16: - if Feature.enabled?(:vue_issues_list, @project&.group) 17: .js-issues-list{ data: project_issues_list_data(@project, current_user) } 18: - if @can_bulk_update 19: = render 'shared/issuable/bulk_update_sidebar', type: :issues 20: - elsif project_issues(@project).exists?
app/helpers/issues_helper.rb:208:in
common_issues_list_data' app/helpers/issues_helper.rb:217:in
project_issues_list_data' app/views/projects/issues/index.html.haml:17 app/controllers/application_controller.rb:142:inrender' app/controllers/application_controller.rb:527:in
set_current_admin' lib/gitlab/session.rb:11:inwith_session' app/controllers/application_controller.rb:518:in
set_session_storage' lib/gitlab/i18n.rb:105:inwith_locale' lib/gitlab/i18n.rb:111:in
with_user_locale' app/controllers/application_controller.rb:512:inset_locale' app/controllers/application_controller.rb:506:in
set_current_context' lib/gitlab/middleware/memory_report.rb:13:incall' lib/gitlab/middleware/speedscope.rb:13:in
call' lib/gitlab/database/load_balancing/rack_middleware.rb:23:incall' lib/gitlab/jira/middleware.rb:19:in
call' lib/gitlab/middleware/go.rb:20:incall' lib/gitlab/etag_caching/middleware.rb:21:in
call' lib/gitlab/middleware/query_analyzer.rb:11:inblock in call' lib/gitlab/database/query_analyzer.rb:37:in
within' lib/gitlab/middleware/query_analyzer.rb:11:incall' lib/gitlab/middleware/multipart.rb:173:in
call' lib/gitlab/middleware/read_only/controller.rb:50:incall' lib/gitlab/middleware/read_only.rb:18:in
call' lib/gitlab/middleware/same_site_cookies.rb:27:incall' lib/gitlab/middleware/handle_malformed_strings.rb:21:in
call' lib/gitlab/middleware/basic_health_check.rb:25:incall' lib/gitlab/middleware/handle_ip_spoof_attack_error.rb:25:in
call' lib/gitlab/middleware/request_context.rb:21:incall' lib/gitlab/middleware/webhook_recursion_detection.rb:15:in
call' config/initializers/fix_local_cache_middleware.rb:11:incall' lib/gitlab/middleware/compressed_json.rb:26:in
call' lib/gitlab/middleware/rack_multipart_tempfile_factory.rb:19:incall' lib/gitlab/middleware/sidekiq_web_static.rb:20:in
call' lib/gitlab/metrics/requests_rack_middleware.rb:77:incall' lib/gitlab/middleware/release_env.rb:13:in
call'
Details of package version
Provide the package version installation details
Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-================================-=====================-=====================-====================================================================== ii gitlab-ce 15.0.0-ce.0 amd64 GitLab Community Edition (including NGINX, Postgres, Redis) un gitlab-ci-multi-runner (no description available) un gitlab-ci-multi-runner-beta (no description available) un gitlab-ee (no description available) ii gitlab-runner 15.0.0 amd64 GitLab Runner un gitlab-runner-beta (no description available) un gitlab-runner-fips (no description available)
Environment details
- Operating System:
Debian GNU/Linux 9
- Installation Target:
- Other:
ZEN Cluster
- Other:
- Installation Type:
- Upgrade from version
14.10.3
- Upgrade from version
- Is there any other software running on the machine:
no
- Is this a single or multiple node installation?
single
- Resources
- CPU:
8 cores
- Memory total:
8G
- CPU: