Skip to content

fix: remove loki.ui config — UI no longer bundled in Loki 3.7.x - #267

Merged
Gedulis12 merged 1 commit into
masterfrom
fix/loki-remove-ui-config
Jul 11, 2026
Merged

fix: remove loki.ui config — UI no longer bundled in Loki 3.7.x#267
Gedulis12 merged 1 commit into
masterfrom
fix/loki-remove-ui-config

Conversation

@Gedulis12

Copy link
Copy Markdown
Owner

Problem

loki.g2net.xyz/ui returns 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: true flag only added -target=ui to Loki's args (which enables backend APIs for the Grafana plugin) and generated nginx /ui routing — but Loki itself returns 307 redirects to /ui/404 for any UI path, since the SPA assets are no longer in the binary.

Fix

Removed the stale loki.ui config 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.

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
Gedulis12 force-pushed the fix/loki-remove-ui-config branch from 3f4ddf9 to be8f689 Compare July 11, 2026 20:17
@Gedulis12
Gedulis12 merged commit 270a9c0 into master Jul 11, 2026
@Gedulis12
Gedulis12 deleted the fix/loki-remove-ui-config branch July 11, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant