GUI lost after sysupgrade

Hi,

I have just installed OpenWrt 18.06.05 in a TP Link TL-WR741ND router. I have successfully performed the installation and I was able to access openwrt. After that point, I downloaded the corresponding sysupgrade package from https://openwrt.org/toh/hwdata/tp-link/tp-link_tl-wr741nd_v2
After that point, I lost access to the web GUI, but I'm still able to access through SSH.
I then tried to manually install luci by executing

opkg update
opkg install luci

But I received the following error:

Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/luci_git-19.363.83297-18c6096-1_all.ipk
Installing libubox20191228 (2019-12-28-cd75136b-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base
libubox20191228_2019-12-28-cd75136b-1_mips_24kc.ipk
Collected errors:
* check_data_file_clashes: Package libubox20191228 wants to install file /lib/libubox.so But that file is already provided by package  * libubox20170601  
* opkg_install_cmd: Cannot install package luci.

My questions are:

  1. How do I know if the sysupgrade process has finished successfully? Is there any file that I can check?
  2. How do I install luci to recover the web GUI access?
  3. Is it possible to roll back the sysupgrade from cli?

Here you have additional information from the openwrt_release file

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r10242-3c401f4'
DISTRIB_TARGET='ar71xx/tiny'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r10242-3c401f4'

Thanks!

You have not installed 18.06.5, otherwise your router would be trying to update its package repository from the 18.06.5 folder. Instead, you're running a snapshot (check your URL). So grab the right sysupgrade binary, and flash it through sysupgrade (over SSH).

2 Likes

Hi @Borromini, you are correct! My mistake. I have installed the correct 18.06.5 upgrade and now I have the GUI back. Thank you for pointing it!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.