Thanks Jeff for pointing me in the right direction, with your instructions and a bit of search router is up and running 18.06.4 with Luci back on track.
What’s the issue with attended sysupgrade? It’s basically an ImageBuilder front-end for luci. As far as I understand, what it does is gets all the packages installed in the system, then builds a sysupgrade image using Chef ImageBuilder.
Hence using it should be the same as building your own image with packages included, rather than upgrading via opkg.
Search SQM here and on openwrt.org -- if you have questions after reading what you've found, open a thread on your specific question that wasn't covered there.
The output was displayed for a fraction of a second before the connection was closed, along with my terminal. The ssh service stopped and the device remained pingable for a minute or so before going offline for about four minutes.
As usual, added packages needed to be reinstalled.
root@router:~# opkg update
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/kmods/4.14.131-1-c88f42e7e6dcd9861f5cef23dee0dcdb/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/kmods/4.14.131-1-c88f42e7e6dcd9861f5cef23dee0dcdb/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.sig
Signature check passed.
root@router:~# opkg install 6in4 block-mount btrfs-progs ca-certificates ddns-sc
ripts haproxy luci-app-ddns luci-app-ntpc luci-app-uhttpd luci-ssl ntpclient ope
nssh-sftp-server rsync usbutils wget
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/kmods/4.14.131-1-c88f42e7e6dcd9861f5cef23dee0dcdb/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/kmods/4.14.131-1-c88f42e7e6dcd9861f5cef23dee0dcdb/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.sig
Signature check passed.
root@router:~# opkg install 6in4 block-mount btrfs-progs ca-certificates ddns-sc
ripts haproxy luci-app-ddns luci-app-ntpc luci-app-uhttpd luci-ssl ntpclient ope
nssh-sftp-server rsync usbutils wget
Installing 6in4 (25-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/6in4_25-1_all.ipk
Installing kmod-iptunnel (4.14.131-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/kmods/4.14.131-1-c88f42e7e6dcd9861f5cef23dee0dcdb/kmod-iptunnel_4.14.131-1_arm_cortex-a15_neon-vfpv4.ipk
Installing kmod-iptunnel4 (4.14.131-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/kmods/4.14.131-1-c88f42e7e6dcd9861f5cef23dee0dcdb/kmod-iptunnel4_4.14.131-1_arm_cortex-a15_neon-vfpv4.ipk
Installing kmod-sit (4.14.131-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/kmods/4.14.131-1-c88f42e7e6dcd9861f5cef23dee0dcdb/kmod-sit_4.14.131-1_arm_cortex-a15_neon-vfpv4.ipk
Installing block-mount (2019-03-28-ff1ded63-5) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/packages/block-mount_2019-03-28-ff1ded63-5_arm_cortex-a15_neon-vfpv4.ipk
Installing btrfs-progs (4.15.1-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/packages/btrfs-progs_4.15.1-1_arm_cortex-a15_neon-vfpv4.ipk
Installing libattr (20170915-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/packages/libattr_20170915-1_arm_cortex-a15_neon-vfpv4.ipk
Installing librt (1.1.19-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/packages/librt_1.1.19-1_arm_cortex-a15_neon-vfpv4.ipk
Installing libuuid (2.32-2) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/libuuid_2.32-2_arm_cortex-a15_neon-vfpv4.ipk
Installing zlib (1.2.11-2) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/zlib_1.2.11-2_arm_cortex-a15_neon-vfpv4.ipk
Installing libblkid (2.32-2) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/libblkid_2.32-2_arm_cortex-a15_neon-vfpv4.ipk
Installing liblzo (2.10-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/liblzo_2.10-1_arm_cortex-a15_neon-vfpv4.ipk
Installing ca-certificates (20190110-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/ca-certificates_20190110-1_all.ipk
Installing ddns-scripts (2.7.8-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/packages/ddns-scripts_2.7.8-1_all.ipk
Installing haproxy (1.8.20-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/packages/haproxy_1.8.20-1_arm_cortex-a15_neon-vfpv4.ipk
Installing libpcre (8.41-2) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/packages/libpcre_8.41-2_arm_cortex-a15_neon-vfpv4.ipk
Installing libltdl (2.4.6-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/libltdl_2.4.6-1_arm_cortex-a15_neon-vfpv4.ipk
Installing libopenssl (1.0.2s-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/libopenssl_1.0.2s-1_arm_cortex-a15_neon-vfpv4.ipk
Installing terminfo (6.1-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/terminfo_6.1-1_arm_cortex-a15_neon-vfpv4.ipk
Installing libncurses (6.1-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/libncurses_6.1-1_arm_cortex-a15_neon-vfpv4.ipk
Installing libreadline (7.0-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/libreadline_7.0-1_arm_cortex-a15_neon-vfpv4.ipk
Installing libatomic (7.3.0-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/targets/ipq806x/generic/packages/libatomic_7.3.0-1_arm_cortex-a15_neon-vfpv4.ipk
Installing luci-app-ddns (2.4.9-3) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/luci/luci-app-ddns_2.4.9-3_all.ipk
Installing luci-app-ntpc (git-19.218.48077-4468345-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/luci/luci-app-ntpc_git-19.218.48077-4468345-1_all.ipk
Installing ntpclient (2010_365-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/packages/ntpclient_2010_365-1_arm_cortex-a15_neon-vfpv4.ipk
Installing luci-app-uhttpd (git-19.218.48077-4468345-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/luci/luci-app-uhttpd_git-19.218.48077-4468345-1_all.ipk
Installing luci-ssl (git-19.218.48077-4468345-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/luci/luci-ssl_git-19.218.48077-4468345-1_all.ipk
Installing libmbedtls (2.16.1-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/libmbedtls_2.16.1-1_arm_cortex-a15_neon-vfpv4.ipk
Installing libustream-mbedtls (2018-07-30-23a3f283-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/libustream-mbedtls_2018-07-30-23a3f283-1_arm_cortex-a15_neon-vfpv4.ipk
Installing px5g-mbedtls (6) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/px5g-mbedtls_6_arm_cortex-a15_neon-vfpv4.ipk
Package ntpclient (2010_365-1) installed in root is up to date.
Installing openssh-sftp-server (7.7p1-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/packages/openssh-sftp-server_7.7p1-1_arm_cortex-a15_neon-vfpv4.ipk
Installing rsync (3.1.3-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/packages/rsync_3.1.3-1_arm_cortex-a15_neon-vfpv4.ipk
Installing libpopt (1.16-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/libpopt_1.16-1_arm_cortex-a15_neon-vfpv4.ipk
Installing usbutils (007-9) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/usbutils_007-9_arm_cortex-a15_neon-vfpv4.ipk
Installing libusb-1.0 (1.0.22-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/base/libusb-1.0_1.0.22-1_arm_cortex-a15_neon-vfpv4.ipk
Installing wget (1.19.5-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/arm_cortex-a15_neon-vfpv4/packages/wget_1.19.5-1_arm_cortex-a15_neon-vfpv4.ipk
Configuring terminfo.
Configuring openssh-sftp-server.
Configuring librt.
Configuring ntpclient.
Configuring libpcre.
Configuring zlib.
Configuring libopenssl.
Configuring wget.
Configuring libatomic.
Configuring libltdl.
Configuring libncurses.
Configuring libreadline.
Configuring haproxy.
Configuring libmbedtls.
Configuring px5g-mbedtls.
Configuring ddns-scripts.
Configuring kmod-iptunnel.
Configuring kmod-iptunnel4.
Configuring kmod-sit.
Configuring 6in4.
Configuring luci-app-uhttpd.
Configuring libusb-1.0.
Configuring usbutils.
Configuring libuuid.
Configuring libblkid.
Configuring block-mount.
this file has been obsoleted. please call "/sbin/block mount" directly
Configuring luci-app-ddns.
Configuring luci-app-ntpc.
Configuring libustream-mbedtls.
Configuring luci-ssl.
Configuring liblzo.
Configuring libattr.
Configuring btrfs-progs.
Configuring libpopt.
Configuring rsync.
Configuring ca-certificates.
Collected errors:
* resolve_conffiles: Existing conffile /etc/config/ddns is different from the conffile in the new package. The new conffile will be placed at /etc/config/ddns-opkg.
* resolve_conffiles: Existing conffile /etc/haproxy.cfg is different from the conffile in the new package. The new conffile will be placed at /etc/haproxy.cfg-opkg.
* resolve_conffiles: Existing conffile /etc/config/ntpclient is different from the conffile in the new package. The new conffile will be placed at /etc/config/ntpclient-opkg.
root@router:~# reboot
Logging in to Luci with HTTPS and looking around disappointingly showed that just about everything appeared to working normally. I was reminded to re-create the mount point for the btrfs on my USB disk and install the missing packages.
I upgraded from 18.06.2 to 18.06.4 on my Linksys WRT3200. For some unknown reason, the software addons have disappeared. I had adblock, openvpn and watchat but all gone after upgrade. I tried installing one of them again after updating packages via GUI but still no luck. Anyone else facing the same issue. Any ideas to fix it?
Sorry I wasn’t articulate enough. I hit the install button which said installing and a few minutes later, the page refreshed without anything being installed.