Firmware upgrade via SSH failing

I'm trying to upgrade the firmware on my ubiquiti edge router sfp.
I have downloaded the right version, moved it to the tmp folder, and VIA SSH trying to upgrade. Here is what I get:

 sysupgrade -v /tmp/openwrt-21.02.3-ramips-mt7621-ubnt_edgerouter-x-sfp-squashfs-sysupgrade.bin
Device ubnt-erx-sfp not supported by this image
Supported devices: ubnt,edgerouter-x-sfp ubnt-erx-sfp ubiquiti,edgerouterx-sfp - Image version mismatch: image 1.1, device 1.0. Please wipe config during upgrade (force required) or reinstall. Reason: Config cannot be migrated from swconfig to DSA
Image check 'fwtool_check_image' failed.

What to do?
Thanks in advance

This is an expected error due to the change from swconfig to DSA (major architectural change under the hood). As long as the hash matches (indicating that the file is the same as the image that is posted on the website -- this means it is free from corruption or other issues), you can generally safely ignore this error, provided that you do not keep settings (sysupgrade -n), and you may also need to use the force argument (-F) to get it to work.

That said, if you upgrade to 19.07.10, you will not get this error.. from there, you'll be able to use LuCI to do the upgrade to 21.02.3.

2 Likes

Many thanks!

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