fix: remove loki.ui config — UI no longer bundled in Loki 3.7.x - #267
Merged
Conversation
Loki Helm chart 6.43.0 removed the embedded web UI (PR #19390). It was moved to a Grafana plugin (github.com/grafana/loki-operational-ui). The loki.ui.enabled flag only added -target=ui to Loki and generated nginx /ui routing that returns a 307 redirect loop (/ui/404). The Loki API continues to work fine — access the logs through Grafana Explore with the Loki datasource, or install the operational UI plugin.
Gedulis12
force-pushed
the
fix/loki-remove-ui-config
branch
from
July 11, 2026 20:17
3f4ddf9 to
be8f689
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
loki.g2net.xyz/uireturns an infinite 307 redirect loop to/ui/404?path=/ui.Root Cause
Loki Helm chart 6.43.0 (PR #19390) removed the embedded web UI from Loki. It was moved to a Grafana plugin.
The
loki.ui.enabled: trueflag only added-target=uito Loki's args (which enables backend APIs for the Grafana plugin) and generated nginx/uirouting — but Loki itself returns 307 redirects to/ui/404for any UI path, since the SPA assets are no longer in the binary.Fix
Removed the stale
loki.uiconfig block. Loki continues to serve all API endpoints normally (/loki/api/v1/...,/ready,/metrics).To get the Loki UI back, install the grafana-lokiexplore-app plugin in Grafana, or use Grafana Explore with the Loki datasource.