I tried to upgrade from 17.01.1 to 17.01.2 last night and the sysupgrade on the CLI failed. I ran 'sysupgrade -v lede-17.01.2-apm821xx-nand-mx60-squashfs-sysupgrade.tar' and it output the following and exited, not completing the upgrade:
Image metadata not found
Saving config files...
etc/collectd.conf
etc/config/adblock
etc/config/adblock-opkg
etc/config/ddns
etc/config/ddns-opkg
etc/config/dhcp
etc/config/dhcp-opkg
etc/config/dropbear
etc/config/firewall
etc/config/firewall-opkg
etc/config/fstab
etc/config/luci
etc/config/luci-bak
etc/config/luci-opkg
etc/config/luci_statistics
etc/config/luci_statistics-opkg
etc/config/network
etc/config/openvpn
etc/config/openvpn_recipes
etc/config/rpcd
etc/config/sqm
etc/config/system
etc/config/ucitrack
etc/config/uhttpd
etc/config/vnstat
etc/config/vnstat-opkg
etc/crontabs/root
etc/dropbear/dropbear_rsa_host_key
etc/dropbear/dropbear_rsa_host_key-opkg
etc/firewall.user
etc/group
etc/hosts
etc/inittab
etc/iproute2/rt_protos
etc/iproute2/rt_tables
etc/luci-uploads/.placeholder
etc/opkg.conf
etc/opkg/customfeeds.conf
etc/opkg/keys/5151f69420c3f508
etc/opkg/keys/72a57f2191b211e0
etc/opkg/keys/792d9d9b39f180dc
etc/opkg/keys/9ef4694208102c43
etc/opkg/keys/b5043e70f9a75cde
etc/opkg/keys/dace9d4df16896bf
etc/opkg/keys/dd6de0d06bbd3d85
etc/passwd
etc/ppp/chap-secrets
etc/ppp/filter
etc/ppp/options
etc/profile
etc/protocols
etc/rc.local
etc/services
etc/shadow
etc/shells
etc/sudoers
etc/sysctl.conf
etc/sysctl.d/local.conf
etc/sysupgrade.conf
etc/uhttpd.crt
etc/uhttpd.key
etc/uhttpd.key
etc/uhttpd.crt
killall: watchdog: no process killed
Command failed: Request timed out
Nothing happened after that. So I tried again, and it output basically the same but this time instead of "Command failed: Request timed out" I got "Command failed: Not found".
Now it appears as though my installation is partially broken. All the routing functions appear to be working, but the LuCI interface is not working, and I found that trying to restart uhttpd on the CLI outputs the following:
root@rvmx60:~# /etc/init.d/uhttpd restart
Command failed: Not found
Command failed: Not found
root@rvmx60:~#
When I try to browse to the LuCI interface, the page load fails out with the following text appear in the of the HTML code:
<title>Status: 500 Internal Server Error
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/'.
The called action terminated with an exception:
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'sysauth'.
A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'header'.
A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'themes/bootstrap/header'.
A runtime error occured: [string "/usr/lib/lua/luci/view/themes/bootstrap/hea..."]:150: attempt to index local 'boardinfo' (a nil value)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>
Now I'm worried that if I reboot my router it will be bricked. How can I recover the installation or upgrade ?
Thanks in advnce.