Upgrade failed (UBNT-ERX from 18.06.1)

Hello
My device is UBNT-ERX and Firmware Version is OpenWrt 18.06.1

When exec sysupgrade -n /tmp/openwrt-19.07.3-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.bin
it said that:
root@UBNT:/tmp# sysupgrade -n /tmp/openwrt-19.07.3-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.bin
/sbin/sysupgrade: line 235: board_name: not found
Sysupgrade is not yet supported on .
Image check 'platform_check_image' failed.
root@UBNT:/tmp#

What is the reason and how to solve it ?

vim /sbin/sysupgrade +235

...........
export ARGV="$IMAGE"
export ARGC=1

for check in $sysupgrade_image_check; do
( $check "$IMAGE" ) || {
if [ $FORCE -eq 1 ]; then
echo "Image check '$check' failed but --force given - will update anyway!"
break
else
echo "Image check '$check' failed."
exit 1
fi
}
done #(Row235 is done)
........

thanks

ubus call system board

Hi,this is result
root@UBNT:/tmp# ubus call system board
{
"kernel": "4.14.63",
"hostname": "UBNT",
"system": "MediaTek MT7621 ver:1 eco:3",
"model": "UBNT-ERX",
"board_name": "ubnt-erx",
"release": {
"distribution": "OpenWrt",
"version": "18.06.1",
"revision": "r7258-5eb055306f",
"target": "ramips/mt7621",
"description": "OpenWrt 18.06.1 r7258-5eb055306f"
}
}
root@UBNT:/tmp#

1 Like

Hello.
I am reset to defaults and update again to succeed

1 Like

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.

1 Like

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