Skip to content

Ubiquiti Edge Router ER-X SFP Upgrading via Attended Sysupgrade fails for 24.10.1 #1385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
menschentier opened this issue Apr 22, 2025 · 0 comments

Comments

@menschentier
Copy link

menschentier commented Apr 22, 2025

Device has been migrated to new flash layout (https://github.com/darkxst/erx-migration) and upgraded to 24.10.0:

root@whatever:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "u-boot"
mtd1: 00060000 00020000 "u-boot-env"
mtd2: 00060000 00020000 "factory"
mtd3: 00600000 00020000 "kernel"
mtd4: 0f7c0000 00020000 "ubi"

Attended sysupgrade from Luci seems to work but does nothing. Downloading the image and trying to manually upgrade to this image results in the following error.

Image

Same on command line:

root@whatever:~# owut upgrade
ASU-Server https://sysupgrade.openwrt.org
Upstream https://downloads.openwrt.org
Target ramips/mt7621
Profile ubnt_edgerouter-x-sfp
Package-arch mipsel_24kc
Version-from 24.10.0 r28427-6df0e3d02a (kernel 6.6.73)
Version-to 24.10.1 r28597-0425664679 (kernel 6.6.86)
71 packages are out-of-date
WARNING: There are 1 missing default packages, confirm this is expected before proceeding
Request hash:
58aeffad9196fb81f11684cca41afb931483f552a7408134971e692d8b749d4c

Status: queued - 0 ahead of you
Progress: 0s total = 0s in queue + 0s in build

.......

Status: done
Progress: 36s total = 0s in queue + 36s in build

Build succeeded in 36s total = 0s in queue + 36s to build:
Image saved : /tmp/firmware.bin
ERROR: sysupgrade validation failed:
stderr =
Tue Apr 22 08:02:05 CEST 2025 upgrade: The device is supported, but this image is incompatible for sysupgrade based on the image version (1.1->2.0).
Tue Apr 22 08:02:05 CEST 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.

For me it seems that either the validation script does not recognise the partition table being changed or that the generated image needs the old partition layout.

Thx for any help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant