Upgrade 24.10.2 to 24.10.4 fails on Edgerouter X

The update fails with error about partition table but AFAIK that should have been resolved when I updated to 24.10.2.

root@wrt:/usr/bin# owut upgrade
ASU-Server     https://sysupgrade.openwrt.org
Upstream       https://downloads.openwrt.org
Target         ramips/mt7621
Profile        ubnt_edgerouter-x
Package-arch   mipsel_24kc
Version-from   24.10.2 r28739-d9340319c6 (kernel 6.6.93)
Version-to     24.10.4 r28959-29397011cc (kernel 6.6.110)
98 packages are out-of-date
WARNING: There are 1 missing default packages, confirm this is expected before proceeding
Request hash:
  aae392862bd92831da32244f9573975cc45dc27f7814cda889a60b3d6cc5ce38
--
Status:   queued - 0 ahead of you
Progress:   0s total =   0s in queue +   0s in build
--
Status:   init
Progress:   1s total =   0s in queue +   1s in build
--
Status:   container_setup
Progress:   8s total =   0s in queue +   8s in build
--
Status:   validate_manifest
Progress:  21s total =   0s in queue +  21s in build
--
Status:   building_image
Progress:  40s total =   0s in queue +  40s in build
--
Status:   done
Progress:  43s total =   0s in queue +  43s in build

Build succeeded in  43s total =   0s in queue +  43s to build:
Image saved : /tmp/firmware.bin
ERROR: sysupgrade validation failed:
stderr =
Fri Nov 21 11:24:14 CET 2025 upgrade: The device is supported, but this image is incompatible for sysupgrade based on the image version (1.1->2.0).
Fri Nov 21 11:24:14 CET 2025 upgrade: Partition table has been changed due to kernel size restrictions. Refer to the wiki page for instructions to migrate to the new layout: https://openwrt.org/toh/ubiquiti/edgerouter_x_er-x_ka
Image check failed.

What happened when you read the page; including:
" Unfortunately, as of at least sometime around 19.07.2, the OpenWrt build for the factory image fails to produce a valid factory tar file. According to [stman/OpenWRT-19.07.2-factory-tar-file-for-Ubiquiti-EdgeRouter-x](https://github.com/stman/OpenWRT-19.07.2-factory-tar-file-for-Ubiquiti-EdgeRouter-x), the cause is a slightly-too-large kernel image. The stman repo provides a customized build configuration that produces a working factory tar file, and a built images (19.07.2, 21.02, and 22.03) for the ERX. The prebuilt ERX factory image is verified to work with the ERX-SFP and presumably will also work for the EP-R6. For the ERX-SFP (and EP-R6?) when it comes to install the full OpenWrt firmware via sysupgrade, the --force option is required to “switch” back to the right platform."

and other stuff, about upgrading?

I followed all steps including changing partitioning when updating from 23.x to 24.10.2.

I would expect a minor update from 24.10.2 to 24.10.4 to go smoothly compared to the upgrade to 24.10.2.

Did you at some point restore a prior configuration? If so, you also restored the old image version record leading to this situation.

I have 2 copies of the ER-X, so I can failback to a working ER-X in case of failure. It is quite possible this copy was updated to 24.10.2 and had the config of the other 23.x copy restored. That allowed me to put back the working old ER-X when this failed. It has been running without any issue until this upgrade fails.

Any way to update this image version record to 2.0 ?

Can I update the compat_version in /etc/config/system ?

This is it now:

option compat_version '1.1'

Yes, edit that number. Next time say you carried ancient config over unsupported upgrade. That red alert box was there for literate readers, you know.

1 Like

See this wiki article for more general info.

In this particular case only incompatible change is partitioning. It is safe to edit up the number.

1 Like

Changed it to 2.0 and owut upgrade went smooth.

Running 24.10.4 now.

Thanks for the speedy support everyone.

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