Sysupgrade issue

Router Linksys E8450 (UBI)
Firmware - Stable Branch

Hi, I have been using OpenWRT for some time without issue and have until recently been able to upgrade to the latest builds using Attended Sysupgrade.

I am stuck on 24.10.0 r28427 and for the last 4 releases the update process seems to complete normally without error and the router reboots but the version has not changed. I have tried downloading the firmware from Sysupgrade and flashing it rather than letting Sysupgrade automatically flash but still doesn’t work. There is no error or anything obvious in the log so I am struggling to see the cause.

Please could someone help me with where to look to find the cause so I can discover the issue. Or how to filter in the system log to see upgrade issues? I am attempting to keep my existing settings and was hoping to upgrade easily rather than reconfigure everything.

Did you resize ubi?

If you download upgrade file from attendedsysupgrade, then upload as a sysupgrade file - what error it shows (do not force upgrade yet)

It doesn’t show any errors. It looks like it flashes correctly it reboots without any errors. After reboot the version is unchanged.

For my initial install I followed the instruction on [OpenWrt Wiki] Linksys E8450 (aka. Belkin RT3200)

I also followed the instructions when updating to 24.10 and that has been working without issue other than that I can’t now update to the newer builds.

Check in command-lines

owut check -v

Upload image to /tmp/something then

sysupgrade -o /tmp/something # you can autocomplete long file names with [tab]
2 Likes

You can do a couple more things:

  1. owut download (which runs sysupgrade --test, which in turn runs fwtool on the image), then cat /tmp/sysupgrade.meta and show us the result.
  2. Try owut install after that, then upon reboot/logging in again, see if there are any files in /sys/fs/pstore/*. If so, cat those and post the contents.

Thanks for your suggestions

I tried to sysupgrade from terminal and it says saving config starts to update reboots and doesn’t upgrade.

root@OpenWrt:~# owut check -v
owut - OpenWrt Upgrade Tool 2025.10.24~07453922-r1 (/usr/bin/owut)
ASU-Server https://sysupgrade.openwrt.org
Upstream https://downloads.openwrt.org
Target mediatek/mt7622
Profile linksys_e8450-ubi
Package-arch aarch64_cortex-a53
Root-FS-type squashfs
Sys-type sysupgrade
Version-from 24.10.0 r28427-6df0e3d02a (kernel 6.6.73)
Version-to 24.10.4 r28959-29397011cc (kernel 6.6.110)
Build-commit https://git.openwrt.org/?p=openwrt/openwrt.git;a=shortlog;h=29397011cc
Build-FS-type squashfs
Build-at 2025-10-19T16:37:45Z (~10 days ago)
Image-prefix openwrt-24.10.4-mediatek-mt7622-linksys_e8450-ubi
Image-URL https://downloads.openwrt.org/releases/24.10.4/targets/mediatek/mt7622
Image-file openwrt-24.10.4-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb
Installed 215 packages
Top-level 122 packages
Default 33 packages
User-installed 97 packages (top-level only)

Package version changes:
base-files 1655~6df0e3d02a 1665~29397011cc
kmod-cfg80211 6.6.73.6.12.6-r1 6.6.110.6.12.52-r1
kmod-crypto-aead 6.6.73-r1 6.6.110-r1
kmod-crypto-ccm 6.6.73-r1 6.6.110-r1
kmod-crypto-cmac 6.6.73-r1 6.6.110-r1
kmod-crypto-crc32c 6.6.73-r1 6.6.110-r1
kmod-crypto-ctr 6.6.73-r1 6.6.110-r1
kmod-crypto-gcm 6.6.73-r1 6.6.110-r1
kmod-crypto-geniv 6.6.73-r1 6.6.110-r1
kmod-crypto-gf128 6.6.73-r1 6.6.110-r1
kmod-crypto-ghash 6.6.73-r1 6.6.110-r1
kmod-crypto-hash 6.6.73-r1 6.6.110-r1
kmod-crypto-hmac 6.6.73-r1 6.6.110-r1
kmod-crypto-kpp 6.6.73-r1 6.6.110-r1
kmod-crypto-lib-chacha20 6.6.73-r1 6.6.110-r1
kmod-crypto-lib-chacha20poly1305 6.6.73-r1 6.6.110-r1
kmod-crypto-lib-curve25519 6.6.73-r1 6.6.110-r1
kmod-crypto-lib-poly1305 6.6.73-r1 6.6.110-r1
kmod-crypto-manager 6.6.73-r1 6.6.110-r1
kmod-crypto-null 6.6.73-r1 6.6.110-r1
kmod-crypto-rng 6.6.73-r1 6.6.110-r1
kmod-crypto-seqiv 6.6.73-r1 6.6.110-r1
kmod-crypto-sha256 6.6.73-r1 6.6.110-r1
kmod-crypto-sha3 6.6.73-r1 6.6.110-r1
kmod-crypto-sha512 6.6.73-r1 6.6.110-r1
kmod-gpio-button-hotplug 6.6.73-r5 6.6.110-r5
kmod-hwmon-core 6.6.73-r1 6.6.110-r1
kmod-leds-gpio 6.6.73-r1 6.6.110-r1
kmod-lib-crc-ccitt 6.6.73-r1 6.6.110-r1
kmod-lib-crc32c 6.6.73-r1 6.6.110-r1
kmod-mac80211 6.6.73.6.12.6-r1 6.6.110.6.12.52-r1
kmod-mt76-connac 6.6.73.2025.01.14~8e4f72b6-r1 6.6.110.2025.09.15~6467af3b-r1
kmod-mt76-core 6.6.73.2025.01.14~8e4f72b6-r1 6.6.110.2025.09.15~6467af3b-r1
kmod-mt7615-common 6.6.73.2025.01.14~8e4f72b6-r1 6.6.110.2025.09.15~6467af3b-r1
kmod-mt7615-firmware 6.6.73.2025.01.14~8e4f72b6-r1 6.6.110.2025.09.15~6467af3b-r1
kmod-mt7615e 6.6.73.2025.01.14~8e4f72b6-r1 6.6.110.2025.09.15~6467af3b-r1
kmod-mt7622-firmware 6.6.73.2025.01.14~8e4f72b6-r1 6.6.110.2025.09.15~6467af3b-r1
kmod-mt7915-firmware 6.6.73.2025.01.14~8e4f72b6-r1 6.6.110.2025.09.15~6467af3b-r1
kmod-mt7915e 6.6.73.2025.01.14~8e4f72b6-r1 6.6.110.2025.09.15~6467af3b-r1
kmod-nf-conntrack 6.6.73-r1 6.6.110-r1
kmod-nf-conntrack-netlink 6.6.73-r1 6.6.110-r1
kmod-nf-conntrack6 6.6.73-r1 6.6.110-r1
kmod-nf-flow 6.6.73-r1 6.6.110-r1
kmod-nf-log 6.6.73-r1 6.6.110-r1
kmod-nf-log6 6.6.73-r1 6.6.110-r1
kmod-nf-nat 6.6.73-r1 6.6.110-r1
kmod-nf-reject 6.6.73-r1 6.6.110-r1
kmod-nf-reject6 6.6.73-r1 6.6.110-r1
kmod-nfnetlink 6.6.73-r1 6.6.110-r1
kmod-nft-core 6.6.73-r1 6.6.110-r1
kmod-nft-fib 6.6.73-r1 6.6.110-r1
kmod-nft-nat 6.6.73-r1 6.6.110-r1
kmod-nft-offload 6.6.73-r1 6.6.110-r1
kmod-nls-base 6.6.73-r1 6.6.110-r1
kmod-ppp 6.6.73-r1 6.6.110-r1
kmod-pppoe 6.6.73-r1 6.6.110-r1
kmod-pppox 6.6.73-r1 6.6.110-r1
kmod-slhc 6.6.73-r1 6.6.110-r1
kmod-thermal 6.6.73-r1 6.6.110-r1
kmod-tun 6.6.73-r1 6.6.110-r1
kmod-udptunnel4 6.6.73-r1 6.6.110-r1
kmod-udptunnel6 6.6.73-r1 6.6.110-r1
kmod-usb-core 6.6.73-r1 6.6.110-r1
kmod-usb-xhci-hcd 6.6.73-r1 6.6.110-r1
kmod-usb-xhci-mtk 6.6.73-r1 6.6.110-r1
kmod-usb3 6.6.73-r1 6.6.110-r1
kmod-wireguard 6.6.73-r1 6.6.110-r1
libmbedtls 3.6.4-r1 3.6.5-r1
libopenssl 3.0.17-r2 3.0.18-r1
libubus 2025.07.02~5952b48e-r1 2025.10.17~60e04048-r1
libubus-lua 2025.07.02~5952b48e-r1 2025.10.17~60e04048-r1
luci 25.250.61039~923f8d9 25.302.05675~51b038b
luci-app-attendedsysupgrade 25.250.61039~923f8d9 25.302.05675~51b038b
luci-app-ddns 25.250.61039~923f8d9 25.302.05675~51b038b
luci-app-firewall 25.250.61039~923f8d9 25.302.05675~51b038b
luci-app-openvpn 25.250.61039~923f8d9 25.302.05675~51b038b
luci-app-package-manager 25.250.61039~923f8d9 25.302.05675~51b038b
luci-app-pbr 1.1.8-r32 1.2.0-r2
luci-app-wol 25.250.61039~923f8d9 25.302.05675~51b038b
luci-base 25.250.61039~923f8d9 25.302.05675~51b038b
luci-compat 25.250.61039~923f8d9 25.302.05675~51b038b
luci-lib-base 25.250.61039~923f8d9 25.302.05675~51b038b
luci-lib-ip 25.250.61039~923f8d9 25.302.05675~51b038b
luci-lib-jsonc 25.250.61039~923f8d9 25.302.05675~51b038b
luci-lib-nixio 25.250.61039~923f8d9 25.302.05675~51b038b
luci-lib-uqr 25.250.61039~923f8d9 25.302.05675~51b038b
luci-light 25.250.61039~923f8d9 25.302.05675~51b038b
luci-lua-runtime 25.250.61039~923f8d9 25.302.05675~51b038b
luci-mod-admin-full 25.250.61039~923f8d9 25.302.05675~51b038b
luci-mod-network 25.250.61039~923f8d9 25.302.05675~51b038b
luci-mod-status 25.250.61039~923f8d9 25.302.05675~51b038b
luci-mod-system 25.250.61039~923f8d9 25.302.05675~51b038b
luci-proto-ipv6 25.250.61039~923f8d9 25.302.05675~51b038b
luci-proto-ppp 25.250.61039~923f8d9 25.302.05675~51b038b
luci-proto-wireguard 25.250.61039~923f8d9 25.302.05675~51b038b
luci-ssl 25.250.61039~923f8d9 25.302.05675~51b038b
luci-theme-bootstrap 25.250.61039~923f8d9 25.302.05675~51b038b
luci-theme-material 25.250.61039~923f8d9 25.302.05675~51b038b
luci-theme-openwrt-2020 25.250.61039~923f8d9 25.302.05675~51b038b
openvpn-openssl 2.6.14-r1 2.6.14-r2
pbr 1.1.8-r36 1.2.0-r2
ubus 2025.07.02~5952b48e-r1 2025.10.17~60e04048-r1
ubusd 2025.07.02~5952b48e-r1 2025.10.17~60e04048-r1
wpad-basic-mbedtls not-installed 2024.09.15~5ace39b0-r2
104 packages are out-of-date

Automatic package replacements/removals:
Package Replaced-by
wpad-basic-wolfssl wpad-basic-mbedtls
Details at https://sysupgrade.openwrt.org/json/v1/overview.json

Default package analysis:
Default Provided-by
dnsmasq dnsmasq-full
fitblk not installed
nftables nftables-json
odhcpd-ipv6only not installed

No package build failures found for 24.10.4 aarch64_cortex-a53.

WARNING: There are 2 missing default packages, confirm this is expected before proceeding
It is safe to proceed with an upgrade

AHA. There's your problem, the 24.10.early packaging bug. Do opkg update && opkg install fitblk and your attempt to sysupgrade will magically start to work again...

1 Like

Thank you @brada4 and @efahl for your help and suggestions. Installing fitblk fixed the issue, and I am very happy that I didn’t have to start from scratch. :grinning_face_with_smiling_eyes:

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