Skip to content

Fix broken schema path on group analytics dashboard

Anton Smith requested to merge fix/500-on-viewing-group-analytics into master

What does this MR do and why?

Closes #467786 (closed)

Credits to @felipe_artur for this (see #467786 (comment 1965310064))

The schema path on an Omnibus GitLab instance can be incorrect causing a 500 error in the group analytics dashboard. This change fixes that scenario by returning the path to the root of the Rails application.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
image image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

This cannot be validated in a GDK environment as it only seems to affect Omnibus GitLab environments.

To test this in an Omnibus GitLab environment:

  1. Attempt to view a group's analytics dashboard. You will see a Response not successful: Received status code 500
  2. Patch the GitLab instance by following the patching an Omnibus install instructions
  3. After patching, attempt to view the group's analytics dashboard. The dashboard should now load successfully.
Edited by Anton Smith

Merge request reports

Loading