Error after upgrade: Unable to load the merge request widget.
Description
- Error when loading a merge request
Unable to load the merge request widget. Try reloading the page.
- Requests to
widget.json
anddiffs_metadata.json
might return 500 (internal server error)
Environment
Omnibus installations referencing the previously bundled Grafana service.
Impacted offerings:
- GitLab Self-Managed
Impacted versions:
- Upgrades to 17.1.x and later
Solution
Remove any references to grafana in gitlab.rb.
- From the GitLab server, edit gitlab.rb.
- Find and delete any references to
grafana[]
settings. - Reconfigure GitLab.
Cause
Grafana attributes are still present in gitlab.rb after they were removed from GitLab in version 17.1.
Additional Information
- Grafana bundled with Omnibus was deprecated in 16.0 and removed in 16.3.
- Grafana can still be used with GitLab, but must use an unbundled implementation of Grafana going forward. See Switch to new Grafana instance.
Related Links
Issues to be aware of when upgrading from 16.11 Issue Remove Grafana attribute and deprecation messages Grafana deprecation