After a not very successful upgrade to 24.10.1, the main page now has a message: LuCI (HEAD detached at 2ac26e56)
What does it mean?
The main page...of?
- The OpenWrt website?
- The web GUI of your device?
- Something else?
What version did you upgrade from?
And what's the device.
Sorry. On the main page of the router TP-Link Archer C6U v1
Firmware Version: OpenWrt 24.10.1 r28597-0425664679 / LuCI (HEAD detached at 2ac26e56) branch 25.103.51521~2ac26e5
Upgrade from 24.10.0 to 24.10.1
Can you show a screenshot of the issue?
The bigger question might be how exactly you upgraded with what exact image. E.g. I can easily imagine this for a self-built image.
Upgrade file: tplink_archer-c6u-v1-squashfs-sysupgrade.bin b6cf06ff1fb92b71e5cd2830e58489516dac430b14f75420b30988432534212b Mon Apr 14 10:27:43 2025
the upgrade was successful, after all ?
To answer your question, the "HEAD detached at 2ac26e56" message means that the version of LuCI that was included in your build corresponds to this source code - https://github.com/openwrt/luci/tree/2ac26e56
The "HEAD detached at ......" message comes from the cvs that openwrt uses, called Git. It's the most widely-used cvs nowadays, and it's also where the name GitHub comes from (AFAICT)
Hope that answers your question.
S.
I doubt OP wanted to know what version of LuCi they were running ...
Not really.
After flashing and restarting, LAN ports did not turn on. It was impossible to connect to the router. After turning power off and on, the ports still didn't turn on. Only one power LED is on.
During all these actions, only the cable to the PC was connected to the router. I tried connecting it to different ports.
Then I connected all the cables to the router and the LEDs turned on and started blinking. The router has become available for connection.
The first problems appeared already in version 24.10.0 (Upgrade from 23.05.4 to 24.10.0)
The firmware was installed without any problems, but there were problems with additional programs.
At first the software list didn't load. But then I couldn't install the programs that I installed in version 23.05.4 (not enough space)
In addition, already installed programs were removed with an error (not completely).
I know that during the release of version 24.10.0 there was a failure on the OpenWrt servers. But is it related?
that's not really an openwrt issue, but a router issue.
that's also normal if you use the "standard" image, config remains, all extra packages disappear.
v23.05.4 - 6912.6 KB
v24.10.0 - 7552.6 KB
The size hasn't increased that much.
To summarize, based on the information received, can you say why the "Head detached" appeared?
did you perform the same comparison for all the extra packages you had installed ?
without any logs, it'll be pretty much impossible.
Yes. For example https://github.com/nextdns/nextdns/releases the program has remained virtually unchanged in size.
Can I go back to version 23.05.5 just by loading the image via the standard LuCi firmware loader?
yes you can, but a reset during the downgrade might be good idea, don't forget to export your settings.
Yes, I always do a reset before upgrading.
As far as I understand, the official firmware 24.10.1 for Archer C6U is not in the main OpenWrt repository branch. https://www.cloudbees.com/blog/git-detached-head
Something like this:
you linked to it yourself in "HEAD detached" - #7 by NorthP4 ?
Actually, none of the releases are in the main branch, because they are always in separate release branches. There is one release branch for 24.10, and the 24.10.1 is directly on that branch: https://git.openwrt.org/?p=openwrt/openwrt.git;a=shortlog;h=refs/heads/openwrt-24.10
But, I think that if you git checkout a tag and build from that, you are not any more "on branch", but git thinks that you are specifically at a certain commit (referenced by the tag) independent of any branch, so you are at "detached" status.
LuCI has no fixed release tags.
Instead, the tagging on OpenWrt main repo sets also the feeds of the release commit to point to a specific commit.
Like https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=d183d7bb7827a469f09bf77f2f22fd9d70ac0ed6;hp=04256646797da82a3a0c419d298ca7719192d128
+src-git luci https://git.openwrt.org/project/luci.git^2ac26e56cc55102cb10e7b0867c2b78e0f6d5fd8
So, if you build 24.10.1 tag, you get LuCI as of commit 2ac26e56cc.
(no comment about the unrelated topic of "not very successful upgrade")
Ultimately, the message "LuCI (HEAD detached at xxxxxxxx) branch" is originating from this piece of code -