Skip to content

Unable to view pipelines after upgrading to docker image 18.4.0-ee.0

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

After upgrading from 18.3.2-ee.0 to 18.4.0-ee.0, trying to view a pipeline immediately results in error 500.

The same issue was seen in two different GitLab deployments.

The likely relevant error log from gitlab-rails/production.log is:

ActionView::Template::Error (undefined method `validity_checks_enabled' for nil:NilClass):
    25:           = s_("Pipelines|Go to the pipeline editor")
    26:
    27: - else
    28:   #js-pipeline-tabs{ data: js_pipeline_tabs_data(@project, @pipeline, @current_user) }

ee/app/helpers/ee/projects/pipeline_helper.rb:25:in `js_pipeline_tabs_data'
app/views/projects/pipelines/show.html.haml:28
actionview (7.1.5.2) lib/action_view/base.rb:263:in `public_send'
actionview (7.1.5.2) lib/action_view/base.rb:263:in `_run'
actionview (7.1.5.2) lib/action_view/template.rb:261:in `block in render'
activesupport (7.1.5.2) lib/active_support/notifications.rb:208:in `instrument'
actionview (7.1.5.2) lib/action_view/template.rb:556:in `instrument_render_template'
actionview (7.1.5.2) lib/action_view/template.rb:249:in `render'
actionview (7.1.5.2) lib/action_view/renderer/template_renderer.rb:66:in `block (2 levels) in render_template'
[.. and more stacktrace ]
Edited by 🤖 GitLab Bot 🤖