Skip to content
Contents
GuidesOpenWrt

LuCI says HEAD detached. Did the OpenWrt upgrade work?

HEAD detached describes the Git state used to build LuCI. To identify the running firmware, read the OpenWrt version and revision to the left of the slash before considering another flash.

HEAD detached describes the Git state used to build LuCI. To identify the running firmware, read the OpenWrt version and revision to the left of the slash before considering another flash.

Read the two versions separately

Open Status → Overview and find Firmware Version. This isolated x86/64 VM runs OpenWrt 25.12.6 revision r33311-981c978eff. The 75a306df on the right belongs to LuCI. Checking out a specific commit lets Git point HEAD directly at it. That description can reach the build label.

LuCI · Status → Overview

Run this read-only command over SSH. Confirm board_name and compare release.target, release.version and release.revision with the intended image. Record the kernel separately.

ubus call system board

Check the installed LuCI package

Open System → Software → Installed and filter for luci-base. No repository refresh is needed. The commands below select the local package manager.

if command -v apk >/dev/null; then
  apk list --installed | grep '^luci-base'
elif command -v opkg >/dev/null; then
  opkg list-installed | grep '^luci-base '
fi

LuCI · Installed · luci-base

The package suffix 75a306d matches the start of the longer LuCI commit above. The system revision has its own numbering. For a custom image check the builder’s manifest too.

Decide whether to investigate

If the revision matches, sign in again, open Interfaces and test connectivity from a client. If those pass, leave the system alone. For an old revision check the management address, device, upgrade log and any alternate boot slot supported by this model. If only Overview fails, retry privately and record the failed request and package versions.

These checks need no rollback. The label cannot establish provenance or long-term stability. Verify the original download against the publisher’s signed checksums. Back up before another upgrade and avoid mixing packages to remove the label.

What does an OpenWrt configuration backup restore?

Explore hardware

Comments