question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't login via luci web interface after upgrading to newest 21.02-rc

See original GitHub issue

Can’t login via LUCI, but still working via ssh. No error is shown in the web interface, but in the logs.

❯ cat /etc/os-release
NAME="OpenWrt"
VERSION="21.02.0-rc3"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 21.02.0-rc3"
VERSION_ID="21.02.0-rc3"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r16172-2aba3e9784"
OPENWRT_BOARD="ramips/mt7620"
OPENWRT_ARCH="mipsel_24kc"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 21.02.0-rc3 r16172-2aba3e9784"

❯ pkg list-installed | grep luci
liblucihttp-lua - 2021-06-11-3dc89af4-1
liblucihttp0 - 2021-06-11-3dc89af4-1
luci - git-20.074.84698-ead5e81
luci-app-firewall - git-21.163.62626-9660eed
luci-app-opkg - git-21.079.58598-6639e31
luci-base - git-21.163.64918-ba57ec5
luci-lib-base - git-20.232.39649-1f6dc29
luci-lib-ip - git-20.250.76529-62505bd
luci-lib-jsonc - git-19.317.29469-8da8f38
luci-lib-nixio - git-20.234.06894-c4a4e43
luci-mod-admin-full - git-19.253.48496-3f93650
luci-mod-network - git-21.165.25599-2778366
luci-mod-status - git-21.163.64918-6c6559a
luci-mod-system - git-21.163.64918-ca66b63
luci-proto-ipv6 - git-21.148.49484-14511e5
luci-proto-ppp - git-21.163.64918-6c6559a
luci-ssl - git-20.244.36115-e10f954
luci-theme-bootstrap - git-21.164.71418-bd36169
rpcd-mod-luci - 20210614

❯ ps ww | grep rpcd
  957 root      2112 S    /sbin/rpcd -s /var/run/ubus/ubus.sock -t 30
 2858 root      1252 S    grep rpcd

❯ lua -lluci.util -lubus -e 'luci.util.dumptable(ubus.connect():c
all("system", "board", {}))'
board_name	asus,rt-ac51u
hostname	nostromo
release	table: 0x172f470
	distribution	OpenWrt
	revision	r16172-2aba3e9784
	version	21.02.0-rc3
	target	ramips/mt7620
	description	OpenWrt 21.02.0-rc3 r16172-2aba3e9784
model	Asus RT-AC51U
kernel	5.4.124
system	MediaTek MT7620A ver:2 eco:6

❯ logread
...
Thu Jun 24 14:22:26 2021 daemon.err uhttpd[2311]: luci: accepted login on / for root from 141.12.0.238
...

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Myndexcommented, Jun 25, 2021

Manually appending “admin” at the end of the URL so that it’s

.../cgi-bin/luci/admin

will allow logging into the main Luci interface.

However, associated with this bug is that the Rosy file server is exposed without logging in, which is a concern…

0reactions
jow-commented, Jun 30, 2021

See https://github.com/openwrt/luci/issues/5104 for the most likely cause and client side solution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OpenWrt 21.02.0 first release candidate
I used the sysupgrade image, but after the upgrade the router is still running 19.07.7. I tried the luci web updater and the...
Read more >
from:"Hannu Nyman" - The Mail Archive
I touched a file in /etc just before reboot, so sysfixtime should set roughly correct time early in the boot process. There should...
Read more >
【無線LAN】OpenWrt【強化ファーム】19
GUI 操作前提の無線LANルータ用高機能カスタムファームウェアを志向しています。 なお、最近のOpenWrt/LEDEをベースとしたDD-WRT NG も開発中です。
Read more >
Untitled
99 + approx shipping. new firmware available …14 hours ago · After the ... First, connect to LUCI (the interface on your router)...
Read more >
Untitled
Search: Openwrt Ipv6 Passthrough. In this case, I use OSPF and I try to simulate the Intenet through a simple router that has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found