"500 something went wrong on our end" when accessing builds page of a commit
Hi, I'm running a Gitlab CE instance in a docker container with the following volumes:
/mnt/data/gitlab/config:/etc/gitlab
/mnt/data/gitlab/logs:/var/log/gitlab
/mnt/data/gitlab/data:/var/opt/gitlab
I just pulled gitlab/gitlab-ce v8.4 and restarted my container to run the latest Gitlab 8.4 image.
Now when I click on the build status icon of a commit (for instance, /mygroup/myproject/commit/2783897e58de7e38eb09213fe1c02bcc8c384e56/builds
), Gitlab throws a 500 error with the following stacktrace:
ActionView::Template::Error (undefined method `artifacts?' for #<GenericCommitStatus:0x00000006be0748>):
66:
67: %td
68: .pull-right
69: - if current_user && can?(current_user, :read_build_artifacts, commit_status.project) && commit_status.artifacts?
70: = link_to commit_status.artifacts_download_url, title: 'Download artifacts' do
71: %i.fa.fa-download
72: - if current_user && can?(current_user, :manage_builds, commit_status.project)
app/views/projects/commit_statuses/_commit_status.html.haml:69:in `_app_views_projects_commit_statuses__commit_status_html_haml___450431396855786168_56576900'
app/views/projects/commit/_builds.html.haml:46:in `block in _app_views_projects_commit__builds_html_haml__757358604218625096_56005800'
app/views/projects/commit/_builds.html.haml:45:in `each'
app/views/projects/commit/_builds.html.haml:45:in `_app_views_projects_commit__builds_html_haml__757358604218625096_56005800'
app/views/projects/commit/builds.html.haml:7:in `_app_views_projects_commit_builds_html_haml__1241286055044196424_54639740'
I added gitlab_rails['artifacts_enabled'] = false
to gitlab.rb
and restarted the container but I still get the same error.